FORMAT: 1A
API Exmample for demonstration of different versions of JSON schema
-
Request (application/json)
-
Schema
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://jsonschema.net", "type": "object", "properties": { "title": { "id": "http://jsonschema.net/title", "type": "string" } }, "required": [ "title" ] }
-
-
Response 201 (application/json)
-
Request (application/json)
-
Schema
{ "$schema": "http://json-schema.org/draft-03/schema#", "id": "http://jsonschema.net", "type": "object", "properties": { "title": { "id": "http://jsonschema.net/title", "type": "string", "required": true } } }
-
-
Response 201 (application/json)
-
Request (application/json)
-
Schema
{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://jsonschema.net", "type": "any", "properties": { "title": { "id": "http://jsonschema.net/title", "type": "string", "required": true } } }
-
-
Response 201 (application/json)
-
Request (application/json)
-
Schema
{ "$schema": "http://json-schema.org/draft-03/schema#", "id": "http://jsonschema.net", "type": "object", "properties": { "title": { "id": "http://jsonschema.net/title", "type": "string" } }, "required": [ "title" ] }
-
-
Response 201 (application/json)
-
Request (application/json)
-
Schema
{ "id": "http://jsonschema.net", "type": "object", "properties": { "title": { "id": "http://jsonschema.net/title", "type": "string" } }, "required": [ "title" ] }
-
-
Response 201 (application/json)
-
Request (application/json)
-
Schema
{ "id": "http://jsonschema.net", "type": "object", "properties": { "title": { "id": "http://jsonschema.net/title", "type": "string", "required": true } } }
-
-
Response 201 (application/json)
-
Request (application/json)
-
Schema
{ "id": "http://jsonschema.net", "type": "any", "required": ["title"], "properties": { "title": { "id": "http://jsonschema.net/title", "type": "string" } } }
-
-
Response 201 (application/json)