examples/sdk-json-schema--fake-api/src/json-schemas/user.json
{
"definitions": {
"User": {
"type": "object",
"title": "User",
"description": "Fake User Object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"jobTitle": {
"type": "string"
},
"companyId": {
"type": "string"
},
"birthDate": {
"type": "string",
"example": "1993-12-20"
},
"foos": {
"type": "array",
"items": {
"$ref": "user.json#/definitions/Foo"
}
}
}
},
"Foo": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
}
}
}
}