{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-glue-databrew/json-schema/amazon-glue-databrew-describe-project-response-schema.json",
  "title": "DescribeProjectResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-glue-databrew-projects-api-openapi.yml#/components/schemas/DescribeProjectResponse",
  "type": "object",
  "required": [
    "Name"
  ],
  "properties": {
    "CreateDate": {
      "allOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "description": "The date and time that the project was created."
        }
      ]
    },
    "CreatedBy": {
      "allOf": [
        {
          "$ref": "#/$defs/CreatedBy"
        },
        {
          "description": "The identifier (user name) of the user who created the project."
        }
      ]
    },
    "DatasetName": {
      "allOf": [
        {
          "$ref": "#/$defs/DatasetName"
        },
        {
          "description": "The dataset associated with the project."
        }
      ]
    },
    "LastModifiedDate": {
      "allOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "description": "The date and time that the project was last modified."
        }
      ]
    },
    "LastModifiedBy": {
      "allOf": [
        {
          "$ref": "#/$defs/LastModifiedBy"
        },
        {
          "description": "The identifier (user name) of the user who last modified the project."
        }
      ]
    },
    "Name": {
      "allOf": [
        {
          "$ref": "#/$defs/ProjectName"
        },
        {
          "description": "The name of the project."
        }
      ]
    },
    "RecipeName": {
      "allOf": [
        {
          "$ref": "#/$defs/RecipeName"
        },
        {
          "description": "The recipe associated with this job."
        }
      ]
    },
    "ResourceArn": {
      "allOf": [
        {
          "$ref": "#/$defs/Arn"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the project."
        }
      ]
    },
    "Sample": {
      "$ref": "#/$defs/Sample"
    },
    "RoleArn": {
      "allOf": [
        {
          "$ref": "#/$defs/Arn"
        },
        {
          "description": "The ARN of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job."
        }
      ]
    },
    "Tags": {
      "allOf": [
        {
          "$ref": "#/$defs/TagMap"
        },
        {
          "description": "Metadata tags associated with this project."
        }
      ]
    },
    "SessionStatus": {
      "allOf": [
        {
          "$ref": "#/$defs/SessionStatus"
        },
        {
          "description": "<p>Describes the current state of the session:</p> <ul> <li> <p> <code>PROVISIONING</code> - allocating resources for the session.</p> </li> <li> <p> <code>INITIALIZING</code> - getting the session ready for first use.</p> </li> <li> <p> <code>ASSIGNED</code> - the session is ready for use.</p> </li> </ul>"
        }
      ]
    },
    "OpenedBy": {
      "allOf": [
        {
          "$ref": "#/$defs/OpenedBy"
        },
        {
          "description": "The identifier (user name) of the user that opened the project for use. "
        }
      ]
    },
    "OpenDate": {
      "allOf": [
        {
          "$ref": "#/$defs/Date"
        },
        {
          "description": "The date and time when the project was opened. "
        }
      ]
    }
  },
  "$defs": {
    "Arn": {
      "type": "string",
      "minLength": 20,
      "maxLength": 2048
    },
    "CreatedBy": {
      "type": "string"
    },
    "DatasetName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "Date": {
      "type": "string",
      "format": "date-time"
    },
    "LastModifiedBy": {
      "type": "string"
    },
    "OpenedBy": {
      "type": "string"
    },
    "ProjectName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "RecipeName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "Sample": {
      "type": "object",
      "required": [
        "Type"
      ],
      "properties": {
        "Size": {
          "allOf": [
            {
              "$ref": "#/$defs/SampleSize"
            },
            {
              "description": "The number of rows in the sample."
            }
          ]
        },
        "Type": {
          "allOf": [
            {
              "$ref": "#/$defs/SampleType"
            },
            {
              "description": "The way in which DataBrew obtains rows from a dataset."
            }
          ]
        }
      },
      "description": "Represents the sample size and sampling type for DataBrew to use for interactive data analysis."
    },
    "SampleSize": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5000
    },
    "SampleType": {
      "type": "string",
      "enum": [
        "FIRST_N",
        "LAST_N",
        "RANDOM"
      ]
    },
    "SessionStatus": {
      "type": "string",
      "enum": [
        "ASSIGNED",
        "FAILED",
        "INITIALIZING",
        "PROVISIONING",
        "READY",
        "RECYCLING",
        "ROTATING",
        "TERMINATED",
        "TERMINATING",
        "UPDATING"
      ]
    },
    "TagMap": {
      "type": "object",
      "minProperties": 1,
      "maxProperties": 200,
      "additionalProperties": {
        "$ref": "#/$defs/TagValue"
      }
    },
    "TagValue": {
      "type": "string",
      "maxLength": 256
    }
  }
}