{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/acceldata/json-schema/acceldata-associate-tags-response-schema.json",
  "title": "AssociateTagsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/acceldata-tag-associations-api-openapi.yml#/components/schemas/AssociateTagsResponse",
  "type": "object",
  "required": [
    "created",
    "errors"
  ],
  "properties": {
    "created": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TagDetail"
      }
    },
    "errors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InvalidTagError"
      }
    }
  },
  "$defs": {
    "InvalidTagError": {
      "type": "object",
      "title": "InvalidTagError",
      "required": [
        "code",
        "keyValueId",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string"
        },
        "keyValueId": {
          "type": "integer"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "TagDetail": {
      "type": "object",
      "title": "TagDetail",
      "required": [
        "keyValueId"
      ],
      "properties": {
        "keyId": {
          "type": "integer"
        },
        "keyName": {
          "type": [
            "string",
            "null"
          ]
        },
        "keyType": {
          "type": [
            "string",
            "null"
          ]
        },
        "keyValueId": {
          "type": "integer"
        },
        "valueName": {
          "type": [
            "string",
            "null"
          ]
        },
        "valueStatus": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}