Skip to content

Commit 0b0681c

Browse files
handrewsdlax
authored andcommitted
Remove all descriptions from meta schemas
Descriptions are not present in the core/validation schema and have gotten out of sync several times. The descriptions tend to be either trivial or inadequate as the more complex features aren't easily described in a readable amount of JSON text. This addresses json-schema-org#175.
1 parent 6d9faba commit 0b0681c

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

hyper-schema.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"propertyNames": { "$ref": "#" },
5151

5252
"base": {
53-
"description": "URI Template resolved as for the 'href' keyword in the Link Description Object. The resulting URI Reference is resolved against the current URI base and sets the new URI base for URI references within the instance.",
5453
"type": "string"
5554
},
5655
"links": {
@@ -63,11 +62,9 @@
6362
"type": "object",
6463
"properties": {
6564
"type": {
66-
"description": "A media type, as described in RFC 2046",
6765
"type": "string"
6866
},
6967
"binaryEncoding": {
70-
"description": "A content encoding scheme, as described in RFC 2045",
7168
"type": "string"
7269
}
7370
}

links.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,29 @@
66
"required": [ "href" ],
77
"properties": {
88
"href": {
9-
"description": "a URI template, as defined by RFC 6570",
109
"type": "string",
1110
"format": "uri-template"
1211
},
1312
"hrefSchema": {
14-
"description": "a schema for validating user input to the URI template, where the input is in the form of a JSON object with property names matching variable names in \"href\"",
1513
"allOf": [ {"$ref": "#"} ]
1614
},
1715
"rel": {
18-
"description": "relation to the target resource of the link",
1916
"type": "string"
2017
},
2118
"title": {
22-
"description": "a title for the link",
2319
"type": "string"
2420
},
2521
"targetSchema": {
26-
"description": "JSON Schema describing the link target",
2722
"allOf": [ { "$ref": "hyper-schema#" } ]
2823
},
2924
"mediaType": {
30-
"description": "media type (as defined by RFC 2046) describing the link target",
3125
"type": "string"
3226
},
3327
"submissionEncType": {
34-
"description": "The media type in which to submit data along with the request",
3528
"type": "string",
3629
"default": "application/json"
3730
},
3831
"submissionSchema": {
39-
"description": "Schema describing the data to submit along with the request",
4032
"allOf": [ { "$ref": "hyper-schema#" } ]
4133
}
4234
}

0 commit comments

Comments
 (0)