Skip to content

Commit 43df784

Browse files
schema/metaschema/meta-schema-patch.json: Add titles and descriptions
1 parent a563017 commit 43df784

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

schema/metaschema/meta-schema-patch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
{
22
"properties": {
33
"$ref": {
4+
"title": "URI Reference",
5+
"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).",
46
"type": "string"
57
},
68
"omitWhenMerged": {
9+
"title": "Omit when merged",
10+
"description": "Whether the field must be discarded during merging.",
711
"type": "boolean",
812
"default": false
913
},
1014
"deprecated": {
15+
"title": "Deprecated",
16+
"description": "Information about the deprecation of this field.",
1117
"type": "object",
1218
"additionalProperties": false,
1319
"required": [
@@ -16,21 +22,30 @@
1622
],
1723
"properties": {
1824
"deprecatedVersion": {
25+
"title": "Deprecated version",
26+
"description": "The OCDS version in which this field was first deprecated.",
1927
"type": "string"
2028
},
2129
"description": {
30+
"title": "Description",
31+
"description": "A description of the reason for this field's deprecation.",
2232
"type": "string"
2333
}
2434
}
2535
},
2636
"codelist": {
37+
"title": "Codelist",
38+
"description": "The CSV file that defines the codes in the codelist that this field refers to.",
2739
"type": "string"
2840
},
2941
"openCodelist": {
42+
"title": "Whether the codelist that this field refers to is an open codelist.",
3043
"type": "boolean",
3144
"default": false
3245
},
3346
"wholeListMerge": {
47+
"title": "Whole list merge",
48+
"description": "Whether the field's value must be treated as a literal when merging.",
3449
"type": "boolean",
3550
"default": false
3651
}

0 commit comments

Comments
 (0)