examples/sdk-json-schema--fake-api/src/json-schemas/company.json
{
"definitions": {
"Company": {
"type": "object",
"title": "Company",
"description": "Fake Company",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "object",
"items": {
"$ref": "#/definitions/CompanyType"
}
}
}
},
"CompanyType": {
"type": "string",
"title": "CompanyType",
"enum": ["Public Limited", "Private Limited", "One Person"]
}
}
}