@unito/integration-api
Version:
The Unito Integration API
38 lines (37 loc) • 917 B
JSON
{
"$id": "https://unito.io/integration_api/relation.schema.json",
"title": "Relation",
"type": "object",
"additionalProperties": false,
"required": ["name", "path", "schema", "label"],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]*$",
"minLength": 1,
"maxLength": 100
},
"path": {
"type": "string",
"format": "uri-reference",
"pattern": "^\/.*$"
},
"requestSchema": {
"$ref": "https://unito.io/integration_api/requestSchema.schema.json"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"searchable": {
"type": "boolean"
},
"semantic": {
"$ref": "https://unito.io/integration_api/definitions.schema.json#/$defs/relationSemantic"
},
"schema": {
"$ref": "https://unito.io/integration_api/relationSchema.schema.json"
}
}
}