odin-jsonschema

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

schema.json (493B)


      1 {
      2   "$schema": "https://json-schema.org/draft/2020-12/schema",
      3   "type": "object",
      4   "properties": {
      5     "scores": {
      6       "type": "object",
      7       "additionalProperties": { "type": "number" }
      8     },
      9     "meta": {
     10       "type": "object",
     11       "additionalProperties": { "$ref": "#/$defs/entry" }
     12     }
     13   },
     14   "required": ["scores"],
     15   "$defs": {
     16     "entry": {
     17       "type": "object",
     18       "properties": {
     19         "value": { "type": "string" }
     20       },
     21       "required": ["value"]
     22     }
     23   }
     24 }