{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-license-manager/json-schema/amazon-license-manager-checkout-borrow-license-response-schema.json",
  "title": "CheckoutBorrowLicenseResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-license-manager-operations-api-openapi.yml#/components/schemas/CheckoutBorrowLicenseResponse",
  "type": "object",
  "properties": {
    "LicenseArn": {
      "type": "string",
      "description": "Amazon Resource Name (ARN) of the license."
    },
    "LicenseConsumptionToken": {
      "type": "string",
      "description": "License consumption token."
    },
    "EntitlementsAllowed": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EntitlementData"
      },
      "description": "Allowed license entitlements."
    },
    "NodeId": {
      "type": "string",
      "description": "Node ID."
    },
    "SignedToken": {
      "type": "string",
      "description": "Signed token."
    },
    "IssuedAt": {
      "type": "string",
      "description": "Date and time at which the license checkout is issued."
    },
    "Expiration": {
      "type": "string",
      "description": "Date and time at which the license checkout expires."
    },
    "CheckoutMetadata": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Metadata"
      },
      "description": "Information about constraints."
    }
  },
  "$defs": {
    "EntitlementData": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "Entitlement data name."
        },
        "Value": {
          "type": "string",
          "description": "Entitlement data value."
        },
        "Unit": {
          "type": "string",
          "enum": [
            "Count",
            "None",
            "Seconds",
            "Microseconds",
            "Milliseconds",
            "Bytes",
            "Kilobytes",
            "Megabytes",
            "Gigabytes",
            "Terabytes",
            "Bits",
            "Kilobits",
            "Megabits",
            "Gigabits",
            "Terabits",
            "Percent",
            "Bytes/Second",
            "Kilobytes/Second",
            "Megabytes/Second",
            "Gigabytes/Second",
            "Terabytes/Second",
            "Bits/Second",
            "Kilobits/Second",
            "Megabits/Second",
            "Gigabits/Second",
            "Terabits/Second",
            "Count/Second"
          ],
          "description": "Entitlement data unit."
        }
      },
      "required": [
        "Name",
        "Unit"
      ]
    },
    "Metadata": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The key name."
        },
        "Value": {
          "type": "string",
          "description": "The value."
        }
      }
    }
  }
}