draftv3.links Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-schema-validator Show documentation
Show all versions of json-schema-validator Show documentation
A Java implementation of the JSON Schema specification
The newest version!
{
"$schema": "http://json-schema.org/draft-03/hyper-schema#",
"id": "http://json-schema.org/draft-03/links#",
"type": "object",
"properties": {
"href": {
"type": "string",
"required": true
},
"rel": {
"type": "string",
"required": true
},
"targetSchema": { "$ref": "http://json-schema.org/draft-03/hyper-schema#" },
"method": {
"type": "string",
"default": "GET"
},
"enctype": {
"type": "string"
},
"schema": {
"type": "object",
"additionalProperties": { "$ref": "http://json-schema.org/draft-03/hyper-schema#" }
}
},
"dependencies": {
"enctype": "method"
}
}