{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hud-ai/json-schema/hud-ai-registry-env-var-batch-request-schema.json",
  "title": "RegistryEnvVarBatchRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hud-ai-env-vars-api-openapi.yml#/components/schemas/RegistryEnvVarBatchRequest",
  "properties": {
    "registry_id": {
      "type": "string",
      "format": "uuid",
      "title": "Registry Id"
    },
    "variables": {
      "items": {
        "$ref": "#/$defs/RegistryEnvVarBatchItem"
      },
      "type": "array",
      "title": "Variables"
    }
  },
  "type": "object",
  "required": [
    "registry_id",
    "variables"
  ],
  "$defs": {
    "RegistryEnvVarBatchItem": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name",
          "description": "Environment variable name. Lowercase letters are uppercased and hyphens become underscores; all other characters are rejected."
        },
        "value": {
          "type": "string",
          "title": "Value"
        }
      },
      "type": "object",
      "required": [
        "name",
        "value"
      ],
      "title": "RegistryEnvVarBatchItem"
    }
  }
}