JSON Schema Draft 07
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://www.ssofy.com/schema/client.json",
"type": "object",
"required": [
"id",
"name",
"secret",
"redirect_uris"
],
"properties": {
"id": {
"$id": "#/properties/id",
"title": "Client Id",
"type": "string"
},
"name": {
"$id": "#/properties/name",
"title": "Name",
"type": "string"
},
"secret": {
"$id": "#/properties/secret",
"title": "Secret",
"type": "string"
},
"redirect_uris": {
"$id": "#/properties/redirect_uris",
"title": "Redirect Uris",
"type": "array",
"maxItems": 100,
"items": {
"$id": "#/properties/redirect_uris/items",
"type": "string"
}
},
"confidential": {
"$id": "#/properties/confidential",
"title": "Confidential",
"type": [
"boolean",
"null"
]
},
"icon": {
"$id": "#/properties/icon",
"title": "Icon",
"type": [
"string",
"null"
],
"format": "string"
},
"theme": {
"$id": "#/properties/theme",
"title": "Theme",
"type": [
"string",
"null"
]
},
"tos": {
"$id": "#/properties/tos",
"title": "TOS (Terms of Service)",
"type": [
"string",
"null"
],
"format": "string"
},
"privacy_policy": {
"$id": "#/properties/privacy_policy",
"title": "Privacy Policy",
"type": [
"string",
"null"
],
"format": "string"
}
},
"additionalProperties": false
}