mirror of
https://github.com/ritz078/transform.git
synced 2026-11-21 00:32:56 +03:00
35 lines
590 B
JavaScript
35 lines
590 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
|