{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-glue-databrew/json-schema/amazon-glue-databrew-describe-recipe-response-schema.json",
  "title": "DescribeRecipeResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-glue-databrew-recipes-api-openapi.yml#/components/schemas/DescribeRecipeResponse",
  "type": "object",
  "required": [
    "Name"
  ],
  "properties": {
    "CreatedBy": {
      "allOf": [
        {
          "$ref": "#/$defs/CreatedBy"
        },
        {
          "description": "The identifier (user name) of the user who created the recipe."
        }
      ]
    },
    "CreateDate": {
      "allOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "description": "The date and time that the recipe was created."
        }
      ]
    },
    "LastModifiedBy": {
      "allOf": [
        {
          "$ref": "#/$defs/LastModifiedBy"
        },
        {
          "description": "The identifier (user name) of the user who last modified the recipe."
        }
      ]
    },
    "LastModifiedDate": {
      "allOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "description": "The date and time that the recipe was last modified."
        }
      ]
    },
    "ProjectName": {
      "allOf": [
        {
          "$ref": "#/$defs/ProjectName"
        },
        {
          "description": "The name of the project associated with this recipe."
        }
      ]
    },
    "PublishedBy": {
      "allOf": [
        {
          "$ref": "#/$defs/PublishedBy"
        },
        {
          "description": "The identifier (user name) of the user who last published the recipe."
        }
      ]
    },
    "PublishedDate": {
      "allOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "description": "The date and time when the recipe was last published."
        }
      ]
    },
    "Description": {
      "allOf": [
        {
          "$ref": "#/$defs/RecipeDescription"
        },
        {
          "description": "The description of the recipe."
        }
      ]
    },
    "Name": {
      "allOf": [
        {
          "$ref": "#/$defs/RecipeName"
        },
        {
          "description": "The name of the recipe."
        }
      ]
    },
    "Steps": {
      "allOf": [
        {
          "$ref": "#/$defs/RecipeStepList"
        },
        {
          "description": "One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which the action should succeed."
        }
      ]
    },
    "Tags": {
      "allOf": [
        {
          "$ref": "#/$defs/TagMap"
        },
        {
          "description": "Metadata tags associated with this project."
        }
      ]
    },
    "ResourceArn": {
      "allOf": [
        {
          "$ref": "#/$defs/Arn"
        },
        {
          "description": "The ARN of the recipe."
        }
      ]
    },
    "RecipeVersion": {
      "allOf": [
        {
          "$ref": "#/$defs/RecipeVersion"
        },
        {
          "description": "The recipe version identifier."
        }
      ]
    }
  },
  "$defs": {
    "Arn": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2048
    },
    "Condition": {
      "type": "string",
      "pattern": "^[A-Z\\_]+$",
      "minLength": 1,
      "maxLength": 128
    },
    "ConditionExpression": {
      "type": "object",
      "required": [
        "Condition",
        "TargetColumn"
      ],
      "properties": {
        "Condition": {
          "allOf": [
            {
              "$ref": "#/$defs/Condition"
            },
            {
              "description": "A specific condition to apply to a recipe action. For more information, see <a href=\"https://docs.aws.amazon.com/databrew/latest/dg/recipes.html#recipes.structure\">Recipe structure</a> in the <i>Glue DataBrew Developer Guide</i>."
            }
          ]
        },
        "Value": {
          "allOf": [
            {
              "$ref": "#/$defs/ConditionValue"
            },
            {
              "description": "A value that the condition must evaluate to for the condition to succeed."
            }
          ]
        },
        "TargetColumn": {
          "allOf": [
            {
              "$ref": "#/$defs/TargetColumn"
            },
            {
              "description": "A column to apply this condition to."
            }
          ]
        }
      },
      "description": "<p>Represents an individual condition that evaluates to true or false.</p> <p>Conditions are used with recipe actions. The action is only performed for column values where the condition evaluates to true.</p> <p>If a recipe requires more than one condition, then the recipe must specify multiple <code>ConditionExpression</code> elements. Each condition is applied to the rows in a dataset first, before the recipe action is performed.</p>"
    },
    "ConditionExpressionList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConditionExpression"
      }
    },
    "ConditionValue": {
      "type": "string",
      "maxLength": 1024
    },
    "CreatedBy": {
      "type": "string"
    },
    "Date": {
      "type": "string",
      "format": "date-time"
    },
    "LastModifiedBy": {
      "type": "string"
    },
    "Operation": {
      "type": "string",
      "pattern": "^[A-Z\\_]+$",
      "minLength": 1,
      "maxLength": 128
    },
    "ParameterMap": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/ParameterValue"
      }
    },
    "ParameterValue": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32768
    },
    "ProjectName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "PublishedBy": {
      "type": "string"
    },
    "RecipeAction": {
      "type": "object",
      "required": [
        "Operation"
      ],
      "properties": {
        "Operation": {
          "allOf": [
            {
              "$ref": "#/$defs/Operation"
            },
            {
              "description": "The name of a valid DataBrew transformation to be performed on the data."
            }
          ]
        },
        "Parameters": {
          "allOf": [
            {
              "$ref": "#/$defs/ParameterMap"
            },
            {
              "description": "Contextual parameters for the transformation."
            }
          ]
        }
      },
      "description": "Represents a transformation and associated parameters that are used to apply a change to a DataBrew dataset. For more information, see <a href=\"https://docs.aws.amazon.com/databrew/latest/dg/recipe-actions-reference.html\">Recipe actions reference</a>."
    },
    "RecipeDescription": {
      "type": "string",
      "maxLength": 1024
    },
    "RecipeName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "RecipeStep": {
      "type": "object",
      "required": [
        "Action"
      ],
      "properties": {
        "Action": {
          "allOf": [
            {
              "$ref": "#/$defs/RecipeAction"
            },
            {
              "description": "The particular action to be performed in the recipe step."
            }
          ]
        },
        "ConditionExpressions": {
          "allOf": [
            {
              "$ref": "#/$defs/ConditionExpressionList"
            },
            {
              "description": "<p>One or more conditions that must be met for the recipe step to succeed.</p> <note> <p>All of the conditions in the array must be met. In other words, all of the conditions must be combined using a logical AND operation.</p> </note>"
            }
          ]
        }
      },
      "description": "Represents a single step from a DataBrew recipe to be performed."
    },
    "RecipeStepList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecipeStep"
      }
    },
    "RecipeVersion": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16
    },
    "TagMap": {
      "type": "object",
      "minProperties": 1,
      "maxProperties": 200,
      "additionalProperties": {
        "$ref": "#/$defs/TagValue"
      }
    },
    "TagValue": {
      "type": "string",
      "maxLength": 256
    },
    "TargetColumn": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1024
    }
  }
}