{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/acceldata/json-schema/acceldata-asset-label-request-schema.json",
  "title": "io.ad.catalog.api.model.AssetLabelRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/acceldata-asset-tags-labels-api-openapi.yml#/components/schemas/AssetLabelRequest",
  "type": "object",
  "required": [
    "labels"
  ],
  "properties": {
    "labels": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Label"
      }
    }
  },
  "$defs": {
    "Label": {
      "type": "object",
      "title": "io.ad.catalog.api.model.Label",
      "required": [
        "key",
        "value"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "labelType": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "ASSET",
            "RULE",
            "DQ_RULE_ITEM",
            "RECONCILIATION_COLUMN_MAPPING",
            "POLICY_TEMPLATE_MEASURE",
            "USER_DEFINED_FUNCTION"
          ]
        },
        "value": {
          "type": "string"
        }
      }
    }
  }
}