Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
885 B
8
Indexable
Never
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "shop": {
      "type": "array",
      "items": [
        {
          "type": "object",
          "properties": {
            "productID": {
              "type": "integer"
            },
            "productName": {
              "type": "string"
            },
            "price": {
              "type": "number"
            },
            "tags": {
              "type": "array",
              "items": [
                {
                  "type": "string"
                },
                {
                  "type": "string"
                }
              ]
            }
          },
          "required": [
            "productID",
            "productName",
            "price",
            "tags"
          ]
        }
      ]
    }
  },
  "required": [
    "shop"
  ]
}