JSON Schema

Object

{
  "type": "object",
  "properties": {
    "number":      { "type": "number" },
    "street_name": { "type": "string" },
    "street_type": { "type": "string",
                     "enum": ["Street", "Avenue", "Boulevard"]
                   }
  }
}

Array

length

{
  "type": "array",
  "minItems": 2,
  "maxItems": 3
}

ref

results matching ""

    No results matching ""