{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-panorama-package.json",
  "title": "AWSPanoramaPackageProperties",
  "description": "Schema for Package CloudFormation Resource. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-panorama-package.json",
    "sourceSha256": "47f868b6260826ca8e2d5e6ea0d62a77e184694e162ae2e661f3b379b93dc745"
  },
  "type": "object",
  "properties": {
    "PackageName": {
      "$ref": "#/$defs/NodePackageName"
    },
    "StorageLocation": {
      "$ref": "#/$defs/StorageLocation"
    },
    "Tags": {
      "$ref": "#/$defs/TagList"
    }
  },
  "typeName": "AWS::Panorama::Package",
  "primaryIdentifier": [
    "/properties/PackageId"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/PackageName"
  ],
  "$defs": {
    "NodePackageName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "^[a-zA-Z0-9\\-\\_]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSPanoramaPackageNodePackageNameDefinition"
    },
    "NodePackageId": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 255,
          "pattern": "^[a-zA-Z0-9\\-\\_\\/]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSPanoramaPackageNodePackageIdDefinition"
    },
    "NodePackageArn": {
      "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"
        }
      ],
      "title": "AWSPanoramaPackageNodePackageArnDefinition"
    },
    "Timestamp": {
      "type": "integer",
      "title": "AWSPanoramaPackageTimestampDefinition"
    },
    "StorageLocation": {
      "type": "object",
      "properties": {
        "Bucket": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RepoPrefixLocation": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "GeneratedPrefixLocation": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "BinaryPrefixLocation": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ManifestPrefixLocation": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSPanoramaPackageStorageLocationDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "pattern": "^.+$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 256,
              "pattern": "^.+$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSPanoramaPackageTagDefinition",
      "additionalProperties": false
    },
    "TagList": {
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "title": "AWSPanoramaPackageTagListDefinition"
    }
  },
  "taggable": true,
  "required": [
    "PackageName"
  ],
  "readOnlyProperties": [
    "/properties/PackageId",
    "/properties/Arn",
    "/properties/CreatedTime",
    "/properties/StorageLocation/Bucket",
    "/properties/StorageLocation/RepoPrefixLocation",
    "/properties/StorageLocation/GeneratedPrefixLocation",
    "/properties/StorageLocation/BinaryPrefixLocation",
    "/properties/StorageLocation/ManifestPrefixLocation"
  ]
}
