{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare/main/json-schema/cloudflare-tls-certificates-and-hostnames-certificate-response-single-id-schema.json",
  "title": "tls-certificates-and-hostnames_certificate_response_single_id",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudflare-certificates-api-openapi.yml#/components/schemas/tls-certificates-and-hostnames_certificate_response_single_id",
  "allOf": [
    {
      "$ref": "#/$defs/tls-certificates-and-hostnames_schemas-certificate_response_single"
    },
    {
      "properties": {
        "result": {
          "properties": {
            "id": {
              "$ref": "#/$defs/tls-certificates-and-hostnames_identifier"
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "tls-certificates-and-hostnames_api-response-common": {
      "type": "object",
      "required": [
        "success",
        "errors",
        "messages",
        "result"
      ],
      "properties": {
        "errors": {
          "$ref": "#/$defs/tls-certificates-and-hostnames_messages"
        },
        "messages": {
          "$ref": "#/$defs/tls-certificates-and-hostnames_messages"
        },
        "result": {
          "anyOf": [
            {
              "type": "object"
            },
            {
              "type": "array",
              "items": {}
            },
            {
              "type": "string"
            }
          ]
        },
        "success": {
          "type": "boolean",
          "description": "Whether the API call was successful",
          "enum": [
            true
          ]
        }
      }
    },
    "tls-certificates-and-hostnames_api-response-single": {
      "allOf": [
        {
          "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common"
        },
        {
          "properties": {
            "result": {
              "anyOf": [
                {
                  "type": "object"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        }
      ],
      "type": "object"
    },
    "tls-certificates-and-hostnames_identifier": {
      "type": "string",
      "description": "Identifier",
      "readOnly": true,
      "maxLength": 32
    },
    "tls-certificates-and-hostnames_messages": {
      "type": "array",
      "items": {
        "type": "object",
        "uniqueItems": true,
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "minimum": 1000
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "tls-certificates-and-hostnames_schemas-certificate_response_single": {
      "allOf": [
        {
          "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single"
        },
        {
          "type": "object",
          "properties": {
            "result": {
              "type": "object"
            }
          }
        }
      ]
    }
  }
}