Skip to content

Missing fields in some JSON Schema files that are present in examples #228

@mario-tin

Description

@mario-tin

In the JSON Schema defined in the file artifacts/src/main/resources/catalog/dataset-schema.json:

  • The 'Dataset' definition does not have a property "@type": "Dataset".
  • The 'Distribution' definition does not have a property "@type": "Distribution".

But in the examples in the file artifacts/src/main/resources/catalog/example/dataset.json, the root object have a field "@type": "Dataset", and the objects in the JSON array "distribution" also have a field "@type": "Distribution". And you can find those same fields in the file example/catalog.json.

The JSON Schema specification and the examples are not consistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    on-holdwill come back later

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions