UNPKG

nrb-common-schemas

Version:

Home of some common schemas used within the nrb domain

67 lines (64 loc) 2.34 kB
{ "$id": "http://schemas.nationella-riktlinjer.se/nrb-tag.1.schema.json", "title": "NRB Tag definition", "description": "Definition of a tag as specified in http://nationella-riktlinjer.se", "type": "object", "properties": { "_schema": { "$ref": "http://schemas.nationella-riktlinjer.se/nrb-identification.1.schema.json#/definitions/_schema" }, "id": { "$ref": "http://schemas.nationella-riktlinjer.se/nrb-identification.1.schema.json#/definitions/id" }, "language": { "$ref": "http://schemas.nationella-riktlinjer.se/nrb-language.1.schema.json" }, "tag_definition": { "title": "Tag definition reference", "description": "Holds a reference to a tag reference (slug)", "type": "string", "minLength": 1 }, "concept": { "title": "Concept reference", "description": "Holds a reference to a concept reference (slug)", "type": "string", "minLength": 1 }, "full_name": { "type": "string", "minLength": 1 }, "description": { "type": "string", "minLength": 1 }, "review_steps": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "minLength": 1, "description": "Review step name, should correspond with with name of review step in tag definition file, if not the review step will be ignored" }, "author": { "$ref": "http://schemas.nationella-riktlinjer.se/nrb-person.1.schema.json" }, "date": { "type": "string", "format": "date" }, "comment": { "type": "string", "minLength": 1 } }, "required": ["name", "author", "date"] }, "description": "" } }, "required": [ "_schema", "id", "language", "tag_definition", "concept" ] }