{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/acceldata/json-schema/acceldata-search-key-values-response-schema.json",
  "title": "SearchKeyValuesResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/acceldata-tags-api-openapi.yml#/components/schemas/SearchKeyValuesResponse",
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TagKeyValuePairProto"
      }
    },
    "total": {
      "type": "integer",
      "format": "int32"
    },
    "page": {
      "type": "integer",
      "format": "int32"
    },
    "size": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "TagKeyValuePairProto": {
      "type": "object",
      "properties": {
        "keyId": {
          "type": "string"
        },
        "keyName": {
          "type": "string"
        },
        "keyType": {
          "enum": [
            "UNSPECIFIED_TYPE",
            "GOVERNED",
            "USER"
          ],
          "type": "string",
          "format": "enum"
        },
        "keyStatus": {
          "enum": [
            "UNSPECIFIED_STATUS",
            "ACTIVE",
            "RETIRED",
            "MERGED",
            "DELETED"
          ],
          "type": "string",
          "format": "enum"
        },
        "keyValueId": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "valueStatus": {
          "enum": [
            "UNSPECIFIED_STATUS",
            "ACTIVE",
            "RETIRED",
            "MERGED",
            "DELETED"
          ],
          "type": "string",
          "format": "enum"
        },
        "dataProtection": {
          "type": "boolean"
        },
        "valueCreatedBy": {
          "type": "string"
        },
        "valueCreatedAt": {
          "type": "string"
        }
      }
    }
  }
}