{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://get.aiware.com/schemas/v1.0/keyword/keyword.json",
  "title": "vtn-standard.keyword",
  "description": "Standard engine output for Keyword Extraction at Veritone",
  "type": "object",
  "definitions": {
    "keywordObject": {
      "allOf": [
        {
          "$ref": "https://get.aiware.com/schemas/v1.0/master.json#/definitions/objectResult"
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "const": "keyword"
            }
          },
          "required": [
            "label"
          ]
        }
      ]
    }
  },
  "allOf": [
    {
      "$ref": "https://get.aiware.com/schemas/v1.0/master.json#/definitions/PREAMBLE"
    },
    {
      "$ref": "https://get.aiware.com/schemas/v1.0/master.json#/definitions/validated"
    },
    {
      "properties": {
        "validationContracts": {
          "type": "array",
          "contains": {
            "const": "keyword"
          }
        },
        "object": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/keywordObject"
          }
        }
      },
      "required": [
        "object"
      ]
    }
  ]
}
