Skip to content

Commit

Permalink
schema/metaschema/meta-schema-patch.json: Add titles and descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
duncandewhurst committed Nov 28, 2024
1 parent a563017 commit 43df784
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions schema/metaschema/meta-schema-patch.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
{
"properties": {
"$ref": {
"title": "URI Reference",
"description": "A reference to a statically identified schema. This keyword must be set to an absolute URI or a relative reference as defined by [RFC 3986](https://www.rfc-editor.org/info/rfc3986), where its fragment (if any) can consist of a JSON Pointer as defined by [RFC 6901](https://datatracker.ietf.org/doc/html/rfc6901).",
"type": "string"
},
"omitWhenMerged": {
"title": "Omit when merged",
"description": "Whether the field must be discarded during merging.",
"type": "boolean",
"default": false
},
"deprecated": {
"title": "Deprecated",
"description": "Information about the deprecation of this field.",
"type": "object",
"additionalProperties": false,
"required": [
Expand All @@ -16,21 +22,30 @@
],
"properties": {
"deprecatedVersion": {
"title": "Deprecated version",
"description": "The OCDS version in which this field was first deprecated.",
"type": "string"
},
"description": {
"title": "Description",
"description": "A description of the reason for this field's deprecation.",
"type": "string"
}
}
},
"codelist": {
"title": "Codelist",
"description": "The CSV file that defines the codes in the codelist that this field refers to.",
"type": "string"
},
"openCodelist": {
"title": "Whether the codelist that this field refers to is an open codelist.",
"type": "boolean",
"default": false
},
"wholeListMerge": {
"title": "Whole list merge",
"description": "Whether the field's value must be treated as a literal when merging.",
"type": "boolean",
"default": false
}
Expand Down

0 comments on commit 43df784

Please sign in to comment.