Skip to content

Missing "type" declarations #5

@i8beef

Description

@i8beef

Something I noticed in a few places, and I'm not sure if this is valid JsonSchema or not...

  1. In several traits with multiple forms (OneOf, AnyOf, etc.) the ROOT schema is missing any type declaration ("object" I would expect)... is that on purpose?
  2. On some of the multi-format values that discriminate by enum value (See SensorState), seem to specify their ENUM values without specifying a type for properties... is this valid? I know the property definition carries the type in that instance, but my understanding was an enum node needed to specify a type still...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions