{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-update-trust-store-request-schema.json",
  "title": "UpdateTrustStoreRequest",
  "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/UpdateTrustStoreRequest",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "The trust store ID."
    },
    "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."
    },
    "IfMatch": {
      "type": "string",
      "description": "The current version (ETag value) of the trust store you are updating."
    }
  },
  "required": [
    "Id",
    "IfMatch"
  ],
  "$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."
    }
  }
}