{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/camunda-services/main/json-schema/camunda-services-post-api-public-variables-labels-request-schema.json",
  "title": "PostApiPublicVariablesLabelsRequest",
  "x-generated": "2026-10-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/camunda-services-apis-tools-openapi-generated.yml#/components/schemas/PostApiPublicVariablesLabelsRequest",
  "type": "object",
  "properties": {
    "definitionKey": {
      "type": "string",
      "description": "Reference to the process definition using its key"
    },
    "labels": {
      "type": "array",
      "description": "Array of variable label objects"
    },
    "labels[].variableName": {
      "type": "string",
      "description": "Name of the variable"
    },
    "labels[].variableType": {
      "type": "string",
      "description": "Type of the variable (e.g., Boolean, String, Long)"
    },
    "labels[].variableLabel": {
      "type": "string",
      "description": "Label value for the variable (empty string deletes the label)"
    }
  },
  "required": [
    "definitionKey",
    "labels",
    "labels[].variableName",
    "labels[].variableType",
    "labels[].variableLabel"
  ]
}