odin-jsonschema

Implementation of JSON schema for Odin
Log | Files | Refs | LICENSE

schema.json (521B)


      1 {
      2   "type": "object",
      3   "properties": {
      4     "points": {
      5       "type": "array",
      6       "items": {
      7         "type": "object",
      8         "properties": {
      9           "x": { "type": "number" },
     10           "y": { "type": "number" }
     11         },
     12         "required": ["x", "y"]
     13       }
     14     },
     15     "matrix": {
     16       "type": "array",
     17       "items": {
     18         "type": "array",
     19         "items": { "type": "number" }
     20       }
     21     },
     22     "tags": {
     23       "type": "array",
     24       "items": { "type": "string" }
     25     }
     26   },
     27   "required": ["points"]
     28 }