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