{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-glue-schemaversion.json",
  "title": "AWSGlueSchemaVersionProperties",
  "description": "This resource represents an individual schema version of a schema defined in Glue Schema Registry.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-glue.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-glue-schemaversion.json",
    "sourceSha256": "46c521563df18ca30ac6b2584edf6772755a1fa79d4ab20d315304331253d69e"
  },
  "type": "object",
  "properties": {
    "Schema": {
      "$ref": "#/$defs/Schema"
    },
    "SchemaDefinition": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 170000
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Complete definition of the schema in plain-text."
    }
  },
  "typeName": "AWS::Glue::SchemaVersion",
  "primaryIdentifier": [
    "/properties/VersionId"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-glue.git",
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/Schema",
    "/properties/SchemaDefinition"
  ],
  "required": [
    "Schema",
    "SchemaDefinition"
  ],
  "$defs": {
    "Schema": {
      "description": "Identifier for the schema where the schema version will be created.",
      "type": "object",
      "properties": {
        "SchemaArn": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "arn:(aws|aws-us-gov|aws-cn):glue:.*"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Amazon Resource Name for the Schema. This attribute can be used to uniquely represent the Schema."
        },
        "SchemaName": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 255
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Name of the schema. This parameter requires RegistryName to be provided."
        },
        "RegistryName": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 255,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Name of the registry to identify where the Schema is located."
        }
      },
      "title": "AWSGlueSchemaVersionSchemaDefinition",
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/VersionId"
  ]
}
