{
  "$id": "https://schemas.fermihdi.io/license_request_schema.json",
  "title": "FermiHDI License Request Schema",
  "description": "The JSON Schema description needed to request a license from FermiHDI",
  "type": "object",
  "properties": {
    "version": {
      "description": "The version of the license request schema",
      "type": "integer"
    },
    "clientID": {
      "description": "The Client ID for the license being requested",
      "type": "string"
    },
    "licenseID": {
      "description": "The ID of the license being requested",
      "type": "string"
    },
    "hd": {
      "description": "Request for an HD License (Only one product per request is allowed)",
      "type": "object",
      "properties": {
        "dmsCSR": {
          "description": "The Base64 encoded PEM formatted Certificate Signing Request for the FermiHDI HD DMS associated with this license; Note that the Public Key included in the CSR will be used to encrypt the license.",
          "type": "string"
        }
      }
    }
  },
  "required": ["clientID", "licenseID"]
}
