flow2schema/tests/samples/readOnly.json

25 lines
636 B
JSON

{
"types": [
{
"id": ["readOnly", "X"],
"kind": "record",
"fields": [
{"name": "x", "value": {"kind": "string"}, "required": true},
{"name": "y", "value": {"kind": "boolean"}, "required": true}
]
},
{
"id": ["readOnly", "Y"],
"kind": "reference",
"to": ["readOnly", "X"]
},
{
"id": ["readOnly", "Z"],
"kind": "record",
"fields": [
{"name": "z", "value": {"kind": "string"}, "required": true}
]
}
]
}