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

36 lines
1.4 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/metadata/app/orm.json",
"title": "app/orm",
"description": "ORM definitions.",
"type": "object",
"properties": {
"platforms": {
"type": "object",
"description": "Platforms.",
"additionalProperties": {
"type": "object",
"description": "A platform name.",
"properties": {
"queryComposerClassName": {
"type": "string",
"description": "A query composer. Should implement Espo\\ORM\\QueryComposer\\QueryComposer."
},
"pdoFactoryClassName": {
"type": "string",
"description": "A PDF factory. Should implement Espo\\ORM\\PDO\\PDOFactory."
},
"functionConverterClassNameMap": {
"type": "object",
"description": "Function converters. Should implement Espo\\ORM\\QueryComposer\\Part\\FunctionConverter.",
"additionalProperties": {
"description": "A function name. Only upper case letters and _ are allowed.",
"type": "string"
}
}
}
}
}
}
}