{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-panorama-packageversion.json",
  "title": "AWSPanoramaPackageVersionProperties",
  "description": "Schema for PackageVersion Resource Type. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-panorama.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-panorama-packageversion.json",
    "sourceSha256": "d3255a519ebbc3e93d4a10640f2d1af8e8047e16d76808f698e1b99551c09964"
  },
  "type": "object",
  "properties": {
    "OwnerAccount": {
      "$ref": "#/$defs/PackageOwnerAccount"
    },
    "PackageId": {
      "$ref": "#/$defs/NodePackageId"
    },
    "PackageVersion": {
      "$ref": "#/$defs/NodePackageVersion"
    },
    "PatchVersion": {
      "$ref": "#/$defs/NodePackagePatchVersion"
    },
    "MarkLatest": {
      "type": "boolean"
    },
    "UpdatedLatestPatchVersion": {
      "$ref": "#/$defs/NodePackagePatchVersion"
    }
  },
  "typeName": "AWS::Panorama::PackageVersion",
  "primaryIdentifier": [
    "/properties/PackageId",
    "/properties/PackageVersion",
    "/properties/PatchVersion"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-panorama.git",
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/OwnerAccount",
    "/properties/PackageId",
    "/properties/PackageVersion",
    "/properties/PatchVersion"
  ],
  "$defs": {
    "PackageOwnerAccount": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 12,
          "pattern": "^[0-9a-z\\_]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSPanoramaPackageVersionPackageOwnerAccountDefinition"
    },
    "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": "AWSPanoramaPackageVersionNodePackageIdDefinition"
    },
    "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": "AWSPanoramaPackageVersionNodePackageArnDefinition"
    },
    "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": "AWSPanoramaPackageVersionNodePackageNameDefinition"
    },
    "NodePackageVersion": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 255,
          "pattern": "^([0-9]+)\\.([0-9]+)$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSPanoramaPackageVersionNodePackageVersionDefinition"
    },
    "NodePackagePatchVersion": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 255,
          "pattern": "^[a-z0-9]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSPanoramaPackageVersionNodePackagePatchVersionDefinition"
    },
    "PackageVersionStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "REGISTER_PENDING",
            "REGISTER_COMPLETED",
            "FAILED",
            "DELETING"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSPanoramaPackageVersionPackageVersionStatusDefinition"
    },
    "PackageVersionStatusDescription": {
      "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": "AWSPanoramaPackageVersionPackageVersionStatusDescriptionDefinition"
    },
    "TimeStamp": {
      "type": "integer",
      "title": "AWSPanoramaPackageVersionTimeStampDefinition"
    }
  },
  "taggable": false,
  "required": [
    "PackageId",
    "PackageVersion",
    "PatchVersion"
  ],
  "readOnlyProperties": [
    "/properties/PackageName",
    "/properties/PackageArn",
    "/properties/Status",
    "/properties/StatusDescription",
    "/properties/IsLatestPatch",
    "/properties/RegisteredTime"
  ]
}
