mirror of
https://github.com/nodejs/node.git
synced 2025-05-16 14:23:58 +00:00

PR-URL: https://github.com/nodejs/node/pull/20190 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
68 lines
1.1 KiB
Plaintext
68 lines
1.1 KiB
Plaintext
{
|
|
"$schema" : "http://json-schema.org/draft-01/hyper-schema#",
|
|
"id" : "http://json-schema.org/draft-01/hyper-schema#",
|
|
|
|
"properties" : {
|
|
"links" : {
|
|
"type" : "array",
|
|
"items" : {"$ref" : "http://json-schema.org/draft-01/links#"},
|
|
"optional" : true
|
|
},
|
|
|
|
"fragmentResolution" : {
|
|
"type" : "string",
|
|
"optional" : true,
|
|
"default" : "dot-delimited"
|
|
},
|
|
|
|
"root" : {
|
|
"type" : "boolean",
|
|
"optional" : true,
|
|
"default" : false
|
|
},
|
|
|
|
"readonly" : {
|
|
"type" : "boolean",
|
|
"optional" : true,
|
|
"default" : false
|
|
},
|
|
|
|
"pathStart" : {
|
|
"type" : "string",
|
|
"optional" : true,
|
|
"format" : "uri"
|
|
},
|
|
|
|
"mediaType" : {
|
|
"type" : "string",
|
|
"optional" : true,
|
|
"format" : "media-type"
|
|
},
|
|
|
|
"alternate" : {
|
|
"type" : "array",
|
|
"items" : {"$ref" : "#"},
|
|
"optional" : true
|
|
}
|
|
},
|
|
|
|
"links" : [
|
|
{
|
|
"href" : "{$ref}",
|
|
"rel" : "full"
|
|
},
|
|
|
|
{
|
|
"href" : "{$schema}",
|
|
"rel" : "describedby"
|
|
},
|
|
|
|
{
|
|
"href" : "{id}",
|
|
"rel" : "self"
|
|
}
|
|
],
|
|
|
|
"fragmentResolution" : "dot-delimited",
|
|
"extends" : {"$ref" : "http://json-schema.org/draft-01/schema#"}
|
|
} |