{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudfront/json-schema/cloudfront-get-field-level-encryption-profile-result-schema.json",
  "title": "GetFieldLevelEncryptionProfileResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudfront-field-level-encryption-profile-api-openapi.yml#/components/schemas/GetFieldLevelEncryptionProfileResult",
  "type": "object",
  "properties": {
    "FieldLevelEncryptionProfile": {
      "$ref": "#/$defs/FieldLevelEncryptionProfile"
    },
    "ETag": {
      "type": "string",
      "description": "The current version of the field level encryption profile. For example: E2QWRUHAPOMQZL."
    }
  },
  "$defs": {
    "EncryptionEntities": {
      "type": "object",
      "properties": {
        "Quantity": {
          "type": "integer",
          "description": "Number of field pattern items in a field-level encryption content type-profile mapping."
        },
        "Items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EncryptionEntity"
          },
          "description": "An array of field patterns in a field-level encryption content type-profile mapping."
        }
      },
      "required": [
        "Quantity"
      ]
    },
    "EncryptionEntity": {
      "type": "object",
      "properties": {
        "PublicKeyId": {
          "type": "string",
          "description": "The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns."
        },
        "ProviderId": {
          "type": "string",
          "description": "The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data."
        },
        "FieldPatterns": {
          "$ref": "#/$defs/FieldPatterns"
        }
      },
      "required": [
        "PublicKeyId",
        "ProviderId",
        "FieldPatterns"
      ]
    },
    "FieldLevelEncryptionProfile": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The ID for a field-level encryption profile configuration which includes a set of profiles that specify certain selected data fields to be encrypted by specific public keys."
        },
        "LastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The last time the field-level encryption profile was updated."
        },
        "FieldLevelEncryptionProfileConfig": {
          "$ref": "#/$defs/FieldLevelEncryptionProfileConfig"
        }
      },
      "required": [
        "Id",
        "LastModifiedTime",
        "FieldLevelEncryptionProfileConfig"
      ]
    },
    "FieldLevelEncryptionProfileConfig": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "Profile name for the field-level encryption profile."
        },
        "CallerReference": {
          "type": "string",
          "description": "A unique number that ensures that the request can't be replayed."
        },
        "Comment": {
          "type": "string",
          "description": "An optional comment for the field-level encryption profile. The comment cannot be longer than 128 characters."
        },
        "EncryptionEntities": {
          "$ref": "#/$defs/EncryptionEntities"
        }
      },
      "required": [
        "Name",
        "CallerReference",
        "EncryptionEntities"
      ]
    },
    "FieldPatterns": {
      "type": "object",
      "properties": {
        "Quantity": {
          "type": "integer",
          "description": "The number of field-level encryption field patterns."
        },
        "Items": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of the field-level encryption field patterns."
        }
      },
      "required": [
        "Quantity"
      ]
    }
  }
}