{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-get-registration-code-response-schema.json",
  "title": "GetRegistrationCodeResponse",
  "description": "The output from the GetRegistrationCode operation.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-registrationcode-api-openapi.yml#/components/schemas/GetRegistrationCodeResponse",
  "type": "object",
  "properties": {
    "registrationCode": {
      "allOf": [
        {
          "$ref": "#/$defs/RegistrationCode"
        },
        {
          "description": "The CA certificate registration code."
        }
      ]
    }
  },
  "$defs": {
    "RegistrationCode": {
      "type": "string",
      "pattern": "(0x)?[a-fA-F0-9]+",
      "minLength": 64,
      "maxLength": 64
    }
  }
}