2023-02-20 14:46:28 +01:00
|
|
|
{
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"domains": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"name": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"description": {
|
2023-05-11 12:59:02 +02:00
|
|
|
"type": [
|
|
|
|
|
"null",
|
|
|
|
|
"string"
|
|
|
|
|
],
|
2023-02-20 14:46:28 +01:00
|
|
|
"default": null
|
|
|
|
|
},
|
|
|
|
|
"key_field": {
|
2023-05-11 12:59:02 +02:00
|
|
|
"type": [
|
|
|
|
|
"null",
|
|
|
|
|
"object"
|
|
|
|
|
],
|
2023-02-20 14:46:28 +01:00
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"name": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"description": {
|
2023-05-11 12:59:02 +02:00
|
|
|
"type": [
|
|
|
|
|
"null",
|
|
|
|
|
"string"
|
|
|
|
|
],
|
2023-02-20 14:46:28 +01:00
|
|
|
"default": null
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": [
|
|
|
|
|
"name"
|
|
|
|
|
],
|
|
|
|
|
"default": null
|
|
|
|
|
},
|
|
|
|
|
"data_fields": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"name": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"description": {
|
2023-05-11 12:59:02 +02:00
|
|
|
"type": [
|
|
|
|
|
"null",
|
|
|
|
|
"string"
|
|
|
|
|
],
|
2023-02-20 14:46:28 +01:00
|
|
|
"default": null
|
|
|
|
|
},
|
|
|
|
|
"type": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": [
|
|
|
|
|
"boolean",
|
|
|
|
|
"integer",
|
|
|
|
|
"float",
|
|
|
|
|
"string_short",
|
|
|
|
|
"string_medium",
|
|
|
|
|
"string_long"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"nullable": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": true
|
|
|
|
|
},
|
|
|
|
|
"default": {
|
2023-05-11 12:59:02 +02:00
|
|
|
"type": [
|
|
|
|
|
"null",
|
|
|
|
|
"boolean",
|
|
|
|
|
"integer",
|
|
|
|
|
"float",
|
|
|
|
|
"string"
|
|
|
|
|
],
|
2023-02-20 14:46:28 +01:00
|
|
|
"default": null
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": [
|
|
|
|
|
"name",
|
|
|
|
|
"type"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"default": []
|
|
|
|
|
},
|
|
|
|
|
"constraints": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"kind": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"enum": [
|
|
|
|
|
"unique",
|
|
|
|
|
"foreign_key"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"parameters": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": "string",
|
2023-05-11 12:59:02 +02:00
|
|
|
"properties": {},
|
|
|
|
|
"required": []
|
2023-02-20 14:46:28 +01:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": [
|
|
|
|
|
"kind"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"default": []
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": [
|
|
|
|
|
"name"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": [
|
|
|
|
|
"domains"
|
|
|
|
|
]
|
2023-07-23 14:55:32 +02:00
|
|
|
}
|