Sha256: d40ef25c345340bfe827620a23aaf3a249607d77dd185d17876e4c28a631c3d6

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

// JSON schema for getting a list of units
{
  "$schema": "http://json-schema.org/draft-04/schema#",

  "type": "object",

  "properties": {
    "units": {
      "type": "array",
      "items": { "$ref": "unit.json" },
      "unique": true
    }
  },

  "additionalProperties": false,
  "required": ["units"]
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
okei-1.0.2 spec/examples/json_schemas/get_units.json
okei-1.0.1 spec/examples/json_schemas/get_units.json
okei-1.0.0 spec/examples/json_schemas/get_units.json
okei-1.0.0.pre.rc spec/examples/json_schemas/get_units.json
okei-0.0.2 spec/examples/json_schemas/get_units.json