Skip to content

AirQualityObserved - simplified JSON-LD examples fail JSON Schema validation #28

Description

@rokf

Hello,

I've noticed that the normalized JSON-LD examples for the AirQualityObserved model fail the JSON Schema validation, after they're simplified down to regular JSON format of course, since that's what the JSON Schema is targeting.

Example: AirQualityObserved/examples/example-normalized.jsonld
Schema: AirQualityObserved/schema.json

Multiple validation errors are reported, i.e.

  • windDirection value is too high, max is 180
  • tsp is not an integer

The same issue is present in multiple example files, therefore the validation would fail for many of them when converted into simplified ("flattened" / denormalised) JSON.

Best regards,
Rok

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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