{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-glue-databrew/json-schema/amazon-glue-databrew-list-rulesets-response-schema.json",
  "title": "ListRulesetsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-glue-databrew-rulesets-api-openapi.yml#/components/schemas/ListRulesetsResponse",
  "type": "object",
  "required": [
    "Rulesets"
  ],
  "properties": {
    "Rulesets": {
      "allOf": [
        {
          "$ref": "#/$defs/RulesetItemList"
        },
        {
          "description": "A list of RulesetItem. RulesetItem contains meta data of a ruleset."
        }
      ]
    },
    "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"
    },
    "Date": {
      "type": "string",
      "format": "date-time"
    },
    "LastModifiedBy": {
      "type": "string"
    },
    "NextToken": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "RuleCount": {
      "type": "integer",
      "minimum": 0
    },
    "RulesetDescription": {
      "type": "string",
      "maxLength": 1024
    },
    "RulesetItem": {
      "type": "object",
      "required": [
        "Name",
        "TargetArn"
      ],
      "properties": {
        "AccountId": {
          "allOf": [
            {
              "$ref": "#/$defs/AccountId"
            },
            {
              "description": "The ID of the Amazon Web Services account that owns the ruleset."
            }
          ]
        },
        "CreatedBy": {
          "allOf": [
            {
              "$ref": "#/$defs/CreatedBy"
            },
            {
              "description": "The Amazon Resource Name (ARN) of the user who created the ruleset."
            }
          ]
        },
        "CreateDate": {
          "allOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "description": "The date and time that the ruleset was created."
            }
          ]
        },
        "Description": {
          "allOf": [
            {
              "$ref": "#/$defs/RulesetDescription"
            },
            {
              "description": "The description of the ruleset."
            }
          ]
        },
        "LastModifiedBy": {
          "allOf": [
            {
              "$ref": "#/$defs/LastModifiedBy"
            },
            {
              "description": "The Amazon Resource Name (ARN) of the user who last modified the ruleset."
            }
          ]
        },
        "LastModifiedDate": {
          "allOf": [
            {
              "$ref": "#/$defs/Date"
            },
            {
              "description": "The modification date and time of the ruleset."
            }
          ]
        },
        "Name": {
          "allOf": [
            {
              "$ref": "#/$defs/RulesetName"
            },
            {
              "description": "The name of the ruleset."
            }
          ]
        },
        "ResourceArn": {
          "allOf": [
            {
              "$ref": "#/$defs/Arn"
            },
            {
              "description": "The Amazon Resource Name (ARN) for the ruleset."
            }
          ]
        },
        "RuleCount": {
          "allOf": [
            {
              "$ref": "#/$defs/RuleCount"
            },
            {
              "description": "The number of rules that are defined in the ruleset."
            }
          ]
        },
        "Tags": {
          "allOf": [
            {
              "$ref": "#/$defs/TagMap"
            },
            {
              "description": "Metadata tags that have been applied to the ruleset."
            }
          ]
        },
        "TargetArn": {
          "allOf": [
            {
              "$ref": "#/$defs/Arn"
            },
            {
              "description": "The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with."
            }
          ]
        }
      },
      "description": "Contains metadata about the ruleset."
    },
    "RulesetItemList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RulesetItem"
      }
    },
    "RulesetName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "TagMap": {
      "type": "object",
      "minProperties": 1,
      "maxProperties": 200,
      "additionalProperties": {
        "$ref": "#/$defs/TagValue"
      }
    },
    "TagValue": {
      "type": "string",
      "maxLength": 256
    }
  }
}