{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-sagemaker-imageversion.json",
  "title": "AWSSageMakerImageVersionProperties",
  "description": "Resource Type definition for AWS::SageMaker::ImageVersion. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-sagemaker-imageversion.json",
    "sourceSha256": "9cded91fa0357a329cd7cf673ae78daa850cb2d8311ef70a3f5ba81bcf45d317"
  },
  "type": "object",
  "properties": {
    "ImageName": {
      "$ref": "#/$defs/ImageName"
    },
    "BaseImage": {
      "$ref": "#/$defs/BaseImage"
    }
  },
  "typeName": "AWS::SageMaker::ImageVersion",
  "createOnlyProperties": [
    "/properties/ImageName",
    "/properties/BaseImage"
  ],
  "$defs": {
    "ImageName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9]([-.]?[A-Za-z0-9])*$",
          "minLength": 1,
          "maxLength": 63
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the image this version belongs to.",
      "title": "AWSSageMakerImageVersionImageNameDefinition"
    },
    "ImageArn": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 256,
          "pattern": "^arn:aws(-[\\w]+)*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:image\\/[a-z0-9]([-.]?[a-z0-9])*$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon Resource Name (ARN) of the parent image.",
      "title": "AWSSageMakerImageVersionImageArnDefinition"
    },
    "ImageVersionArn": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 256,
          "pattern": "^arn:aws(-[\\w]+)*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:image-version\\/[a-z0-9]([-.]?[a-z0-9])*\\/[0-9]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon Resource Name (ARN) of the image version.",
      "title": "AWSSageMakerImageVersionImageVersionArnDefinition"
    },
    "BaseImage": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 255,
          "pattern": ".+"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The registry path of the container image on which this image version is based.",
      "title": "AWSSageMakerImageVersionBaseImageDefinition"
    },
    "ContainerImage": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 255,
          "pattern": ".+"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The registry path of the container image that contains this image version.",
      "title": "AWSSageMakerImageVersionContainerImageDefinition"
    },
    "Version": {
      "type": "integer",
      "description": "The version number of the image version.",
      "minimum": 1,
      "title": "AWSSageMakerImageVersionVersionDefinition"
    }
  },
  "readOnlyProperties": [
    "/properties/ImageVersionArn",
    "/properties/ImageArn",
    "/properties/Version",
    "/properties/ContainerImage"
  ],
  "additionalProperties": false,
  "required": [
    "ImageName",
    "BaseImage"
  ],
  "primaryIdentifier": [
    "/properties/ImageVersionArn"
  ]
}
