Json Schema

[Solved] Json Schema | Scala - Code Explorer | yomemimo.com
Question : JSON schema enumerated type

Answered by : joaquin-morcate-jarillo

{ "type": "array", "items": { "type": "string", "enum": ["one", "two", "three"] }
}

Source : https://stackoverflow.com/questions/30924271/correct-way-to-define-array-of-enums-in-json-schema | Last Update : Tue, 02 Feb 21

Question : json schema example

Answered by : vincent-5ahi8dafspsw

{ "$id": "https://example.com/person.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Person", "type": "object", "properties": { "firstName": { "type": "string", "description": "The person's first name." }, "lastName": { "type": "string", "description": "The person's last name." }, "age": { "description": "Age in years which must be equal to or greater than zero.", "type": "integer", "minimum": 0 } }
}

Source : https://json-schema.org/learn/miscellaneous-examples.html | Last Update : Tue, 05 Jul 22

Question : json schema script

Answered by : jhon-ivan-cuaco

<script type="application/ld+json"> { "@context": "https:\/\/schema.org", "@type": "FAQPage", "mainEntity": [[]] }
</script>

Source : | Last Update : Tue, 14 Dec 21

Answers related to json schema

Code Explorer Popular Question For Scala