Files
transform/utils/dummy-json-schema.js
T
2017-11-25 01:07:39 +05:30

35 lines
592 B
JavaScript

const json = `{
"title": "Example Schema",
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"age": {
"description": "Age in years",
"type": "integer",
"minimum": 0
},
"height": {
"type": "number"
},
"favoriteFoods": {
"type": "array",
"minItems": 0,
"maxItems": 2,
"items": {
"type": "string"
}
},
"likesDogs": {
"type": "boolean"
}
},
"required": ["firstName", "lastName"]
}`;
export default json;