{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-licensemanager-license.json",
  "title": "AWSLicenseManagerLicenseProperties",
  "description": "Resource Type definition for AWS::LicenseManager::License. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-licensemanager.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-licensemanager-license.json",
    "sourceSha256": "d8a448e4e7c950b4c479c5aa648c0c3661aa4f593eb024c623755a8218abafc3"
  },
  "type": "object",
  "properties": {
    "ProductSKU": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "ProductSKU of the license."
    },
    "Issuer": {
      "$ref": "#/$defs/IssuerData"
    },
    "LicenseName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Name for the created license."
    },
    "ProductName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Product name for the created license."
    },
    "HomeRegion": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Home region for the created license."
    },
    "Validity": {
      "$ref": "#/$defs/ValidityDateFormat"
    },
    "Entitlements": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/Entitlement"
      }
    },
    "Beneficiary": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Beneficiary of the license."
    },
    "ConsumptionConfiguration": {
      "$ref": "#/$defs/ConsumptionConfiguration"
    },
    "LicenseMetadata": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/Metadata"
      }
    },
    "Status": {
      "$ref": "#/$defs/LicenseStatus"
    }
  },
  "typeName": "AWS::LicenseManager::License",
  "primaryIdentifier": [
    "/properties/LicenseArn"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-licensemanager.git",
  "additionalProperties": false,
  "readOnlyProperties": [
    "/properties/LicenseArn",
    "/properties/Version"
  ],
  "$defs": {
    "ValidityDateFormat": {
      "type": "object",
      "title": "AWSLicenseManagerLicenseValidityDateFormatDefinition",
      "properties": {
        "Begin": {
          "oneOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Validity begin date for the license."
        },
        "End": {
          "oneOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Validity begin date for the license."
        }
      },
      "required": [
        "Begin",
        "End"
      ],
      "additionalProperties": false
    },
    "IssuerData": {
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SignKey": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Name"
      ],
      "title": "AWSLicenseManagerLicenseIssuerDataDefinition",
      "additionalProperties": false
    },
    "Entitlement": {
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "MaxCount": {
          "type": "integer"
        },
        "Overage": {
          "type": "boolean"
        },
        "Unit": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "AllowCheckIn": {
          "type": "boolean"
        }
      },
      "required": [
        "Name",
        "Unit"
      ],
      "title": "AWSLicenseManagerLicenseEntitlementDefinition",
      "additionalProperties": false
    },
    "ConsumptionConfiguration": {
      "type": "object",
      "properties": {
        "RenewType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ProvisionalConfiguration": {
          "$ref": "#/$defs/ProvisionalConfiguration"
        },
        "BorrowConfiguration": {
          "$ref": "#/$defs/BorrowConfiguration"
        }
      },
      "title": "AWSLicenseManagerLicenseConsumptionConfigurationDefinition",
      "additionalProperties": false
    },
    "ProvisionalConfiguration": {
      "type": "object",
      "properties": {
        "MaxTimeToLiveInMinutes": {
          "type": "integer"
        }
      },
      "required": [
        "MaxTimeToLiveInMinutes"
      ],
      "title": "AWSLicenseManagerLicenseProvisionalConfigurationDefinition",
      "additionalProperties": false
    },
    "BorrowConfiguration": {
      "type": "object",
      "properties": {
        "MaxTimeToLiveInMinutes": {
          "type": "integer"
        },
        "AllowEarlyCheckIn": {
          "type": "boolean"
        }
      },
      "required": [
        "MaxTimeToLiveInMinutes",
        "AllowEarlyCheckIn"
      ],
      "title": "AWSLicenseManagerLicenseBorrowConfigurationDefinition",
      "additionalProperties": false
    },
    "Metadata": {
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Name",
        "Value"
      ],
      "title": "AWSLicenseManagerLicenseMetadataDefinition",
      "additionalProperties": false
    },
    "LicenseStatus": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSLicenseManagerLicenseLicenseStatusDefinition"
    },
    "Arn": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSLicenseManagerLicenseArnDefinition"
    }
  },
  "required": [
    "LicenseName",
    "ProductName",
    "Issuer",
    "HomeRegion",
    "Validity",
    "ConsumptionConfiguration",
    "Entitlements"
  ],
  "writeOnlyProperties": [
    "/properties/Status"
  ]
}
