Files
divkit/test_data/test_schema/entity_with_array.json
T
man-y fc5d617c94 Add platform property for entity
bbb9d7791acbdeb588a7ee18dc6ff32436cfd2fb
2024-03-06 13:46:54 +03:00

41 lines
560 B
JSON

{
"type": "object",
"platforms": [
"android",
"ios",
"web"
],
"codegen": {
"kotlin": {
"properties_to_patch": [
"array"
]
}
},
"properties": {
"type": {
"type": "string",
"enum": [
"entity_with_array"
]
},
"array": {
"type": "array",
"platforms": [
"android",
"ios",
"web",
"flutter"
],
"items": {
"$ref": "entity.json"
},
"minItems": 1
}
},
"required": [
"type",
"array"
]
}