{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/talend/json-schema/talend-custom-attribute-create-request-schema.json",
  "title": "CustomAttributeCreateRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/talend-attributes-api-openapi.yml#/components/schemas/CustomAttributeCreateRequest",
  "type": "object",
  "required": [
    "label",
    "mandatory",
    "type"
  ],
  "properties": {
    "label": {
      "type": "string",
      "description": "Label of the attribute"
    },
    "description": {
      "type": "string",
      "description": "Detailed description of the attribute"
    },
    "mandatory": {
      "type": "boolean",
      "description": "Indicates if this attribute is mandatory"
    },
    "type": {
      "type": "string",
      "description": "Type of the attribute",
      "enum": [
        "enum",
        "text"
      ]
    },
    "values": {
      "type": "array",
      "description": "Values for the attribute",
      "items": {
        "type": "string"
      }
    },
    "defaults": {
      "type": "array",
      "description": "Default values for the attribute",
      "items": {
        "type": "string"
      }
    }
  }
}