{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-sagemaker-project.json",
  "title": "AWSSageMakerProjectProperties",
  "description": "Resource Type definition for AWS::SageMaker::Project. 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-project.json",
    "sourceSha256": "ba3db63b81db4c22c913069931ac22167ed7d78955648f9c63a17d6c56decfd2"
  },
  "type": "object",
  "properties": {
    "Tags": {
      "type": "array",
      "maxItems": 40,
      "description": "An array of key-value pairs to apply to this resource.",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "ProjectName": {
      "$ref": "#/$defs/ProjectName"
    },
    "ProjectDescription": {
      "$ref": "#/$defs/ProjectDescription"
    },
    "ServiceCatalogProvisioningDetails": {
      "description": "Input ServiceCatalog Provisioning Details",
      "type": "object",
      "properties": {
        "ProductId": {
          "$ref": "#/$defs/ProductId"
        },
        "ProvisioningArtifactId": {
          "$ref": "#/$defs/ProvisioningArtifactId"
        },
        "PathId": {
          "$ref": "#/$defs/PathId"
        },
        "ProvisioningParameters": {
          "type": "array",
          "description": "Parameters specified by the administrator that are required for provisioning the product.",
          "items": {
            "$ref": "#/$defs/ProvisioningParameter"
          }
        }
      },
      "required": [
        "ProductId"
      ],
      "additionalProperties": false
    },
    "ServiceCatalogProvisionedProductDetails": {
      "description": "Provisioned ServiceCatalog  Details",
      "type": "object",
      "properties": {
        "ProvisionedProductId": {
          "$ref": "#/$defs/ProvisioningArtifactId"
        },
        "ProvisionedProductStatusMessage": {
          "$ref": "#/$defs/ProvisionedProductStatusMessage"
        }
      },
      "additionalProperties": false
    }
  },
  "typeName": "AWS::SageMaker::Project",
  "primaryIdentifier": [
    "/properties/ProjectArn"
  ],
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/ProjectName",
    "/properties/ProjectDescription",
    "/properties/ServiceCatalogProvisioningDetails",
    "/properties/Tags"
  ],
  "$defs": {
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSSageMakerProjectTagDefinition",
      "additionalProperties": false
    },
    "ProjectDescription": {
      "oneOf": [
        {
          "type": "string",
          "pattern": ".*",
          "maxLength": 1024
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The description of the project.",
      "title": "AWSSageMakerProjectProjectDescriptionDefinition"
    },
    "ProjectId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*",
          "maxLength": 20
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Project Id.",
      "title": "AWSSageMakerProjectProjectIdDefinition"
    },
    "ProvisionedProductStatusMessage": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Provisioned Product Status Message",
      "title": "AWSSageMakerProjectProvisionedProductStatusMessageDefinition"
    },
    "ProjectName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$",
          "minLength": 1,
          "maxLength": 32
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the project.",
      "title": "AWSSageMakerProjectProjectNameDefinition"
    },
    "ProjectArn": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 2048,
          "pattern": "arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:project.*"
        },
        {
          "$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 Project.",
      "title": "AWSSageMakerProjectProjectArnDefinition"
    },
    "ProductId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$",
          "maxLength": 100
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Service Catalog product identifier.",
      "title": "AWSSageMakerProjectProductIdDefinition"
    },
    "ProvisioningArtifactId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$",
          "maxLength": 100
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The identifier of the provisioning artifact (also known as a version).",
      "title": "AWSSageMakerProjectProvisioningArtifactIdDefinition"
    },
    "PathId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*$",
          "maxLength": 100
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The path identifier of the product.",
      "title": "AWSSageMakerProjectPathIdDefinition"
    },
    "ProvisioningParameter": {
      "description": "Information about a parameter used to provision a product.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 1000,
              "pattern": ".*"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The parameter key."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 4096,
              "pattern": ".*"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The parameter value."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSSageMakerProjectProvisioningParameterDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "ProjectName",
    "ServiceCatalogProvisioningDetails"
  ],
  "readOnlyProperties": [
    "/properties/ProjectArn",
    "/properties/CreationTime",
    "/properties/ProjectId",
    "/properties/ProjectStatus"
  ]
}
