Files
espocrm/schema/metadata/app/recordId.json
Yuri Kuznetsov 5023a58cc1 schema
2023-05-27 13:59:52 +03:00

33 lines
1010 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/metadata/app/recordId.json",
"title": "app/recordId",
"description": "Record ID definitions.",
"type": "object",
"properties": {
"type": {
"enum": [
"id",
"uuid4"
],
"description": "A type of generated IDs."
},
"length": {
"type": "integer",
"description": "ID column length. By default, set to 17."
},
"dbType": {
"description": "An ID column data type. By default, set to string (equivalent to varchar in MySQL). Changing this parameter will change types of all ID columns once you run rebuild."
"anyOf": [
{"type": "string"},
{
"enum": [
"string",
"uuid"
]
}
]
}
}
}