Skip to content

Enable data-validation based on data model #151

@Silvanoc

Description

@Silvanoc

Description

Create tooling/rules to validate data against the data model.

Motivation

Examples provided with the specification MUST be valid with the specification version to which they are attached. Additionally other Margo parts (e.g. sandbox) must also only provide valid examples and functionality.

Also implementators need tooling to ensure their implementation is conform. Schema-conformance is also part of the conformance tests.

Proposed Solution (optional)

Generate JSON-Schemas from the data schema. LinkML tooling provides JSON-Schema generation out of the box.

The generated JSON-Schemas (or schemata, however you prefer to call them) should be used to:

  1. validate any provided example
  2. be made available for project participants (specification contributors, implementors,...)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions