mirror of
https://github.com/nodejs/node.git
synced 2025-05-19 09:44:08 +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>
41 lines
679 B
Plaintext
41 lines
679 B
Plaintext
{
|
|
"$schema" : "http://json-schema.org/draft-04/hyper-schema#",
|
|
"id" : "http://json-schema.org/draft-04/links#",
|
|
"type" : "object",
|
|
|
|
"properties" : {
|
|
"rel" : {
|
|
"type" : "string"
|
|
},
|
|
|
|
"href" : {
|
|
"type" : "string"
|
|
},
|
|
|
|
"template" : {
|
|
"type" : "string"
|
|
},
|
|
|
|
"targetSchema" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"},
|
|
|
|
"method" : {
|
|
"type" : "string",
|
|
"default" : "GET"
|
|
},
|
|
|
|
"enctype" : {
|
|
"type" : "string"
|
|
},
|
|
|
|
"properties" : {
|
|
"type" : "object",
|
|
"additionalProperties" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"}
|
|
}
|
|
},
|
|
|
|
"required" : ["rel", "href"],
|
|
|
|
"dependencies" : {
|
|
"enctype" : "method"
|
|
}
|
|
} |