{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-glue-databrew/json-schema/amazon-glue-databrew-list-projects-response-schema.json",
  "title": "ListProjectsResponse",
  "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/ListProjectsResponse",
  "type": "object",
  "required": [
    "Projects"
  ],
  "properties": {
    "Projects": {
      "allOf": [
        {
          "$ref": "#/$defs/ProjectList"
        },
        {
          "description": "A list of projects that are defined ."
        }
      ]
    },
    "NextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/NextToken"
        },
        {
          "description": "A token that you can use in a subsequent call to retrieve the next set of results."
        }
      ]
    }
  },
  "$defs": {
    "AccountId": {
      "type": "string",
      "maxLength": 255
    },
    "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"
    },
    "NextToken": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "OpenedBy": {
      "type": "string"
    },
    "Project": {
      "type": "object",
      "required": [
        "Name",
        "RecipeName"
      ],
      "properties": {
        "AccountId": {
          "allOf": [
            {
              "$ref": "#/$defs/AccountId"
            },
            {
              "description": "The ID of the Amazon Web Services account that owns the project."
            }
          ]
        },
        "CreateDate": {
          "allOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "description": "The date and time that the project was created."
            }
          ]
        },
        "CreatedBy": {
          "allOf": [
            {
              "$ref": "#/$defs/CreatedBy"
            },
            {
              "description": "The Amazon Resource Name (ARN) of the user who crated the project."
            }
          ]
        },
        "DatasetName": {
          "allOf": [
            {
              "$ref": "#/$defs/DatasetName"
            },
            {
              "description": "The dataset that the project is to act upon."
            }
          ]
        },
        "LastModifiedDate": {
          "allOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "description": "The last modification date and time for the project."
            }
          ]
        },
        "LastModifiedBy": {
          "allOf": [
            {
              "$ref": "#/$defs/LastModifiedBy"
            },
            {
              "description": "The Amazon Resource Name (ARN) of the user who last modified the project."
            }
          ]
        },
        "Name": {
          "allOf": [
            {
              "$ref": "#/$defs/ProjectName"
            },
            {
              "description": "The unique name of a project."
            }
          ]
        },
        "RecipeName": {
          "allOf": [
            {
              "$ref": "#/$defs/RecipeName"
            },
            {
              "description": "The name of a recipe that will be developed during a project session."
            }
          ]
        },
        "ResourceArn": {
          "allOf": [
            {
              "$ref": "#/$defs/Arn"
            },
            {
              "description": "The Amazon Resource Name (ARN) for the project."
            }
          ]
        },
        "Sample": {
          "allOf": [
            {
              "$ref": "#/$defs/Sample"
            },
            {
              "description": "The sample size and sampling type to apply to the data. If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset."
            }
          ]
        },
        "Tags": {
          "allOf": [
            {
              "$ref": "#/$defs/TagMap"
            },
            {
              "description": "Metadata tags that have been applied to the project."
            }
          ]
        },
        "RoleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/Arn"
            },
            {
              "description": "The Amazon Resource Name (ARN) of the role that will be assumed for this project."
            }
          ]
        },
        "OpenedBy": {
          "allOf": [
            {
              "$ref": "#/$defs/OpenedBy"
            },
            {
              "description": "The Amazon Resource Name (ARN) of the user that opened the project for use."
            }
          ]
        },
        "OpenDate": {
          "allOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "description": "The date and time when the project was opened."
            }
          ]
        }
      },
      "description": "Represents all of the attributes of a DataBrew project."
    },
    "ProjectList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Project"
      }
    },
    "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"
      ]
    },
    "TagMap": {
      "type": "object",
      "minProperties": 1,
      "maxProperties": 200,
      "additionalProperties": {
        "$ref": "#/$defs/TagValue"
      }
    },
    "TagValue": {
      "type": "string",
      "maxLength": 256
    }
  }
}