Skip to content

[Feature] LinkML Schema Service: Validate LinkML Metadata against a Stored Schema #1883

@infispiel

Description

@infispiel

Feature Description

Taken from #1856
Child of #1794

POST requests made to /schemas/{id}/validate should:

  1. Confirm that the metadata provided has a metadata_format and engine that are supported by the current microservice
  2. Confirm that the metadata_format and engine match the specified schema's schema_format and engine.
  3. Validate that the provided metadata fulfills all requirements described by the schema specified.

Functional Requirements

  • Throw an unprocessable content error if requirement 1, 2 are not fulfilled
  • Throw descriptive errors if requirement 3 fails
  • Success otherwise

Changes

N/A

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions