{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-get-recommender-schema-response-schema.json",
  "title": "GetRecommenderSchemaResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-recommender-schemas-api-openapi.yml#/components/schemas/GetRecommenderSchemaResponse",
  "type": "object",
  "properties": {
    "RecommenderSchemaName": {
      "type": "string",
      "description": "The name of the recommender schema."
    },
    "Fields": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "$ref": "#/$defs/RecommenderSchemaField"
        }
      },
      "description": "A map of dataset type to column definitions included in the schema."
    },
    "CreatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of when the recommender schema was created."
    },
    "Status": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "DELETING"
      ],
      "description": "The status of the recommender schema."
    }
  },
  "required": [
    "RecommenderSchemaName",
    "Fields",
    "CreatedAt",
    "Status"
  ],
  "$defs": {
    "RecommenderSchemaField": {
      "type": "object",
      "properties": {
        "TargetFieldName": {
          "type": "string",
          "description": "The name of the target field in the dataset, such as Location.City or Attributes.MealTime."
        },
        "ContentType": {
          "type": "string",
          "enum": [
            "STRING",
            "NUMBER"
          ],
          "description": "The data type of the column value. Valid values are String and Number. The default value is String."
        },
        "FeatureType": {
          "type": "string",
          "enum": [
            "TEXTUAL",
            "CATEGORICAL"
          ],
          "description": "How the column is treated for model training. Valid values are CATEGORICAL and TEXTUAL."
        }
      },
      "required": [
        "TargetFieldName"
      ]
    }
  }
}