{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-glue/json-schema/aws-glue-delete-schema-versions-input-schema.json",
  "title": "DeleteSchemaVersionsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-glue-aws-glue-x-amz-target-awsglue-deleteschemaversions-api-api-openapi.yml#/components/schemas/DeleteSchemaVersionsInput",
  "type": "object",
  "properties": {
    "SchemaId": {
      "$ref": "#/$defs/SchemaId"
    },
    "Versions": {
      "type": "string",
      "description": "A version range may be supplied which may be of the format: a single version number, 5 a range, 5-8 : deletes versions 5, 6, 7, 8"
    }
  },
  "required": [
    "SchemaId",
    "Versions"
  ],
  "$defs": {
    "SchemaId": {
      "type": "object",
      "properties": {
        "SchemaArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided."
        },
        "SchemaName": {
          "type": "string",
          "description": "The name of the schema. One of SchemaArn or SchemaName has to be provided."
        },
        "RegistryName": {
          "type": "string",
          "description": "The name of the schema registry that contains the schema."
        }
      }
    }
  }
}