{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-create-trust-store-request-schema.json",
  "title": "CreateTrustStoreRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-trust-store-api-openapi.yml#/components/schemas/CreateTrustStoreRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "A name for the trust store."
    },
    "CaCertificatesBundleSource": {
      "$ref": "#/$defs/CaCertificatesBundleSource"
    },
    "UseClientCertificateOCSPEndpoint": {
      "type": "boolean",
      "description": "A Boolean that determines whether to use the CA certificate's OCSP endpoint to check certificate revocation status."
    },
    "Tags": {
      "$ref": "#/$defs/Tags"
    }
  },
  "required": [
    "Name",
    "CaCertificatesBundleSource"
  ],
  "$defs": {
    "CaCertificatesBundleS3Location": {
      "type": "object",
      "properties": {
        "Bucket": {
          "type": "string",
          "description": "The S3 bucket."
        },
        "Key": {
          "type": "string",
          "description": "The location's key."
        },
        "Region": {
          "type": "string",
          "description": "The location's Region."
        },
        "Version": {
          "type": "string",
          "description": "The location's version."
        }
      },
      "required": [
        "Bucket",
        "Key",
        "Region"
      ]
    },
    "CaCertificatesBundleSource": {
      "type": "object",
      "properties": {
        "CaCertificatesBundleS3Location": {
          "$ref": "#/$defs/CaCertificatesBundleS3Location"
        }
      },
      "description": "Exactly one member is set."
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @."
        },
        "Value": {
          "type": "string",
          "description": "A string that contains an optional Tag value. The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @."
        }
      },
      "required": [
        "Key"
      ]
    },
    "Tags": {
      "type": "object",
      "properties": {
        "Items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "A complex type that contains Tag elements."
        }
      }
    }
  }
}