JSON Schema
An Introduction |
Prof. David Bernstein |
Computer Science Department |
bernstdh@jmu.edu |
Person
{ "$schema": "http://json-schema.org/schema#", "title": "Person", "type": "object", "required": ["firstName", "lastName", "age"], "properties": { "firstName": { "type": "string", "description": "Personal name" }, "lastName": { "type": "string", "description": "Family name" }, "age": { "type": "number", "description": "Age" } } }