{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-create-human-task-ui-request-schema.json",
  "title": "CreateHumanTaskUiRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-human-task-ui-api-openapi.yml#/components/schemas/CreateHumanTaskUiRequest",
  "type": "object",
  "properties": {
    "HumanTaskUiName": {
      "type": "string",
      "description": "The name of the user interface you are creating."
    },
    "UiTemplate": {
      "$ref": "#/$defs/UiTemplate"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define."
    }
  },
  "required": [
    "HumanTaskUiName",
    "UiTemplate"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key. Tag keys must be unique per resource."
        },
        "Value": {
          "type": "string",
          "description": "The tag value."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    },
    "UiTemplate": {
      "type": "object",
      "properties": {
        "Content": {
          "type": "string",
          "description": "The content of the Liquid template for the worker user interface."
        }
      },
      "required": [
        "Content"
      ]
    }
  }
}