mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"type": "object",
|
|
"$description": "translations.json#/entity_with_simple_properties",
|
|
"swift_protocols": "EntityProtocol",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"entity_with_simple_properties"
|
|
]
|
|
},
|
|
"id": {
|
|
"type": "integer",
|
|
"supports_expressions": false,
|
|
"$description": "translations.json#/entity_with_simple_properties_id"
|
|
},
|
|
"string": {
|
|
"$ref": "common.json#/non_empty_string",
|
|
"$description": "translations.json#/entity_with_simple_properties_string",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
"integer": {
|
|
"type": "integer",
|
|
"long_type": true,
|
|
"$description": "translations.json#/entity_with_simple_properties_integer"
|
|
},
|
|
"double": {
|
|
"alias_dart": "dNum",
|
|
"type": "number",
|
|
"$description": "translations.json#/entity_with_simple_properties_double"
|
|
},
|
|
"boolean": {
|
|
"type": "boolean",
|
|
"$description": "translations.json#/entity_with_simple_properties_boolean"
|
|
},
|
|
"boolean_int": {
|
|
"$ref": "common.json#/boolean_int",
|
|
"$description": "translations.json#/entity_with_simple_properties_boolean_int",
|
|
"deprecated": true,
|
|
"platforms": [
|
|
"android"
|
|
]
|
|
},
|
|
"positive_integer": {
|
|
"$ref": "common.json#/positive_integer",
|
|
"$description": "translations.json#/entity_with_simple_properties_positive_integer",
|
|
"platforms": []
|
|
},
|
|
"color": {
|
|
"$ref": "common.json#/color",
|
|
"$description": "translations.json#/entity_with_simple_properties_color"
|
|
},
|
|
"url": {
|
|
"$ref": "common.json#/url"
|
|
}
|
|
},
|
|
"required": [
|
|
"type"
|
|
]
|
|
}
|