{
  "dynamic_templates": [
    {
      "Title_": {
        "path_match": "Title_.*",
        "mapping": {
          "type": "text",
          "fielddata": true
        }
      }
    },
    {
      "Description_": {
        "path_match": "Description_.*",
        "mapping": {
          "type": "text"
        }
      }
    },
    {
      "object": {
        "match_mapping_type": "object",
        "mapping": {
          "type": "object"
        }
      }
    },
    {
      "_uds": {
        "path_match": "_uds.*",
        "mapping": {
          "type": "keyword"
        }
      }
    },
    {
      "all_string": {
        "match": "*",
        "mapping": {
          "type": "text"
        }
      }
    }
  ],
  "properties": {
    "ArchivalAgencyArchiveUnitIdentifier": {
      "type": "keyword"
    },
    "ArchiveUnitProfile": {
      "type": "keyword"
    },
    "AcquiredDate": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "CreatedDate": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "_acd": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "_aud": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "Description": {
      "type": "text"
    },
    "Description_": {
      "type": "object"
    },
    "DescriptionLanguage": {
      "type": "keyword"
    },
    "DescriptionLevel": {
      "type": "keyword"
    },
    "EndDate": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "PersistentIdentifier": {
      "properties": {
        "PersistentIdentifierType": {
          "type": "keyword"
        },
        "PersistentIdentifierOrigin": {
          "type": "keyword"
        },
        "PersistentIdentifierReference": {
          "type": "keyword"
        },
        "PersistentIdentifierContent": {
          "type": "keyword"
        }
      }
    },
    "Event": {
      "properties": {
        "evId": {
          "type": "keyword"
        },
        "evTypeProc": {
          "type": "keyword"
        },
        "evType": {
          "type": "keyword"
        },
        "evDateTime": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "evTypeDetail": {
          "type": "text"
        },
        "outcome": {
          "type": "keyword"
        },
        "outDetail": {
          "type": "keyword"
        },
        "outMessg": {
          "type": "text"
        },
        "evDetData": {
          "type": "keyword"
        }
      }
    },
    "FilePlanPosition": {
      "type": "keyword"
    },
    "Language": {
      "type": "keyword"
    },
    "OriginatingAgency": {
      "properties": {
        "Identifier": {
          "type": "keyword"
        },
        "OrganizationDescriptiveMetadata": {
          "type": "object"
        }
      }
    },
    "OriginatingAgencyArchiveUnitIdentifier": {
      "type": "keyword"
    },
    "OriginatingSystemId": {
      "type": "keyword"
    },
    "ReceivedDate": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "RegisteredDate": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "SentDate": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "Source": {
      "type": "text"
    },
    "StartDate": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "SubmissionAgency": {
      "properties": {
        "Identifier": {
          "type": "keyword"
        },
        "OrganizationDescriptiveMetadata": {
          "type": "object"
        }
      }
    },
    "SystemId": {
      "type": "keyword"
    },
    "Tag": {
      "type": "keyword"
    },
    "TextContent": {
      "type": "text"
    },
    "OriginatingSystemIdReplyTo": {
      "type": "text"
    },
    "DateLitteral": {
      "type": "text"
    },
    "Title": {
      "type": "text",
      "fielddata": true
    },
    "Title_": {
      "type": "object"
    },
    "TransactedDate": {
      "type": "date",
      "format": "strict_date_optional_time"
    },
    "TransferringAgencyArchiveUnitIdentifier": {
      "type": "keyword"
    },
    "Type": {
      "type": "keyword"
    },
    "DocumentType": {
      "type": "text"
    },
    "Status": {
      "type": "keyword"
    },
    "Version": {
      "type": "keyword"
    },
    "CustodialHistory": {
      "properties": {
        "CustodialHistoryItem": {
          "type": "text"
        },
        "CustodialHistoryFile": {
          "properties": {
            "DataObjectGroupReferenceId": {
              "type": "keyword"
            },
            "DataObjectReferenceId": {
              "type": "keyword"
            }
          }
        }
      }
    },
    "Keyword": {
      "properties": {
        "KeywordContent": {
          "type": "keyword"
        },
        "KeywordReference": {
          "type": "keyword"
        },
        "KeywordType": {
          "type": "keyword"
        }
      }
    },
    "Coverage": {
      "properties": {
        "Spatial": {
          "type": "text"
        },
        "Temporal": {
          "type": "text"
        },
        "Juridictional": {
          "type": "text"
        }
      }
    },
    "LinkingAgentIdentifier": {
      "properties": {
        "LinkingAgentIdentifierType": {
          "type": "keyword"
        },
        "LinkingAgentIdentifierValue": {
          "type": "text"
        },
        "LinkingAgentRole": {
          "type": "keyword"
        }
      }
    },
    "AuthorizedAgent": {
      "properties": {
        "Activity": {
          "type": "text"
        },
        "BirthPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "BirthDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "DeathPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "GivenName": {
          "type": "text"
        },
        "BirthName": {
          "type": "text"
        },
        "FirstName": {
          "type": "text"
        },
        "FullName": {
          "type": "text"
        },
        "Function": {
          "type": "text"
        },
        "Gender": {
          "type": "text"
        },
        "Corpname": {
          "type": "text"
        },
        "Nationality": {
          "type": "text"
        },
        "DeathDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Identifier": {
          "type": "keyword"
        },
        "Mandate": {
          "type": "text"
        },
        "Position": {
          "type": "text"
        },
        "Role": {
          "type": "text"
        }
      }
    },
    "Agent": {
      "properties": {
        "Activity": {
          "type": "text"
        },
        "BirthPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "BirthDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "DeathPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "GivenName": {
          "type": "text"
        },
        "BirthName": {
          "type": "text"
        },
        "FirstName": {
          "type": "text"
        },
        "FullName": {
          "type": "text"
        },
        "Function": {
          "type": "text"
        },
        "Gender": {
          "type": "text"
        },
        "Corpname": {
          "type": "text"
        },
        "Nationality": {
          "type": "text"
        },
        "DeathDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Identifier": {
          "type": "keyword"
        },
        "Mandate": {
          "type": "text"
        },
        "Position": {
          "type": "text"
        },
        "Role": {
          "type": "text"
        }
      }
    },
    "Writer": {
      "properties": {
        "BirthPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "BirthDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Corpname": {
          "type": "text"
        },
        "DeathPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "GivenName": {
          "type": "text"
        },
        "BirthName": {
          "type": "text"
        },
        "FirstName": {
          "type": "text"
        },
        "FullName": {
          "type": "text"
        },
        "Gender": {
          "type": "text"
        },
        "Nationality": {
          "type": "text"
        },
        "DeathDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Identifier": {
          "type": "keyword"
        },
        "Function": {
          "type": "text"
        },
        "Activity": {
          "type": "text"
        },
        "Position": {
          "type": "text"
        },
        "Role": {
          "type": "text"
        },
        "Mandate": {
          "type": "text"
        }
      }
    },
    "Addressee": {
      "properties": {
        "Activity": {
          "type": "text"
        },
        "BirthPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "BirthDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "DeathPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "GivenName": {
          "type": "text"
        },
        "BirthName": {
          "type": "text"
        },
        "FirstName": {
          "type": "text"
        },
        "FullName": {
          "type": "text"
        },
        "Function": {
          "type": "text"
        },
        "Gender": {
          "type": "text"
        },
        "Corpname": {
          "type": "text"
        },
        "Nationality": {
          "type": "text"
        },
        "DeathDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Identifier": {
          "type": "keyword"
        },
        "Mandate": {
          "type": "text"
        },
        "Position": {
          "type": "text"
        },
        "Role": {
          "type": "text"
        }
      }
    },
    "Recipient": {
      "properties": {
        "Activity": {
          "type": "text"
        },
        "BirthPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "BirthDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "DeathPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "GivenName": {
          "type": "text"
        },
        "BirthName": {
          "type": "text"
        },
        "FirstName": {
          "type": "text"
        },
        "FullName": {
          "type": "text"
        },
        "Function": {
          "type": "text"
        },
        "Gender": {
          "type": "text"
        },
        "Corpname": {
          "type": "text"
        },
        "Nationality": {
          "type": "text"
        },
        "DeathDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Identifier": {
          "type": "keyword"
        },
        "Mandate": {
          "type": "text"
        },
        "Position": {
          "type": "text"
        },
        "Role": {
          "type": "text"
        }
      }
    },
    "RelatedObjectReference": {
      "properties": {
        "IsVersionOf": {
          "properties": {
            "ArchiveUnitRefId": {
              "type": "keyword"
            },
            "DataObjectReference": {
              "properties": {
                "DataObjectGroupReferenceId": {
                  "type": "keyword"
                },
                "DataObjectReferenceId": {
                  "type": "keyword"
                }
              }
            },
            "RepositoryArchiveUnitPID": {
              "type": "keyword"
            },
            "RepositoryObjectPID": {
              "type": "keyword"
            },
            "ExternalReference": {
              "type": "text"
            }
          }
        },
        "Replaces": {
          "properties": {
            "ArchiveUnitRefId": {
              "type": "keyword"
            },
            "DataObjectReference": {
              "properties": {
                "DataObjectGroupReferenceId": {
                  "type": "keyword"
                },
                "DataObjectReferenceId": {
                  "type": "keyword"
                }
              }
            },
            "RepositoryArchiveUnitPID": {
              "type": "keyword"
            },
            "RepositoryObjectPID": {
              "type": "keyword"
            },
            "ExternalReference": {
              "type": "text"
            }
          }
        },
        "Requires": {
          "properties": {
            "ArchiveUnitRefId": {
              "type": "keyword"
            },
            "DataObjectReference": {
              "properties": {
                "DataObjectGroupReferenceId": {
                  "type": "keyword"
                },
                "DataObjectReferenceId": {
                  "type": "keyword"
                }
              }
            },
            "RepositoryArchiveUnitPID": {
              "type": "keyword"
            },
            "RepositoryObjectPID": {
              "type": "keyword"
            },
            "ExternalReference": {
              "type": "text"
            }
          }
        },
        "IsPartOf": {
          "properties": {
            "ArchiveUnitRefId": {
              "type": "keyword"
            },
            "DataObjectReference": {
              "properties": {
                "DataObjectGroupReferenceId": {
                  "type": "keyword"
                },
                "DataObjectReferenceId": {
                  "type": "keyword"
                }
              }
            },
            "RepositoryArchiveUnitPID": {
              "type": "keyword"
            },
            "RepositoryObjectPID": {
              "type": "keyword"
            },
            "ExternalReference": {
              "type": "text"
            }
          }
        },
        "References": {
          "properties": {
            "ArchiveUnitRefId": {
              "type": "keyword"
            },
            "DataObjectReference": {
              "properties": {
                "DataObjectGroupReferenceId": {
                  "type": "keyword"
                },
                "DataObjectReferenceId": {
                  "type": "keyword"
                }
              }
            },
            "RepositoryArchiveUnitPID": {
              "type": "keyword"
            },
            "RepositoryObjectPID": {
              "type": "keyword"
            },
            "ExternalReference": {
              "type": "text"
            }
          }
        }
      }
    },
    "Signature": {
      "properties": {
        "Signer": {
          "properties": {
            "BirthPlace": {
              "properties": {
                "Geogname": {
                  "type": "text"
                },
                "Address": {
                  "type": "text"
                },
                "PostalCode": {
                  "type": "keyword"
                },
                "City": {
                  "type": "text"
                },
                "Region": {
                  "type": "text"
                },
                "Country": {
                  "type": "text"
                }
              }
            },
            "BirthDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "DeathPlace": {
              "properties": {
                "Geogname": {
                  "type": "text"
                },
                "Address": {
                  "type": "text"
                },
                "PostalCode": {
                  "type": "keyword"
                },
                "City": {
                  "type": "text"
                },
                "Region": {
                  "type": "text"
                },
                "Country": {
                  "type": "text"
                }
              }
            },
            "GivenName": {
              "type": "text"
            },
            "BirthName": {
              "type": "text"
            },
            "FirstName": {
              "type": "text"
            },
            "FullName": {
              "type": "text"
            },
            "Gender": {
              "type": "text"
            },
            "Corpname": {
              "type": "text"
            },
            "Nationality": {
              "type": "text"
            },
            "DeathDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Identifier": {
              "type": "keyword"
            },
            "SigningTime": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Function": {
              "type": "text"
            },
            "Activity": {
              "type": "text"
            },
            "Position": {
              "type": "text"
            },
            "Role": {
              "type": "text"
            },
            "Mandate": {
              "type": "text"
            }
          }
        },
        "Validator": {
          "properties": {
            "BirthPlace": {
              "properties": {
                "Geogname": {
                  "type": "text"
                },
                "Address": {
                  "type": "text"
                },
                "PostalCode": {
                  "type": "keyword"
                },
                "City": {
                  "type": "text"
                },
                "Region": {
                  "type": "text"
                },
                "Country": {
                  "type": "text"
                }
              }
            },
            "BirthDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "DeathPlace": {
              "properties": {
                "Geogname": {
                  "type": "text"
                },
                "Address": {
                  "type": "text"
                },
                "PostalCode": {
                  "type": "keyword"
                },
                "City": {
                  "type": "text"
                },
                "Region": {
                  "type": "text"
                },
                "Country": {
                  "type": "text"
                }
              }
            },
            "GivenName": {
              "type": "text"
            },
            "BirthName": {
              "type": "text"
            },
            "FirstName": {
              "type": "text"
            },
            "FullName": {
              "type": "text"
            },
            "Gender": {
              "type": "text"
            },
            "Corpname": {
              "type": "text"
            },
            "Nationality": {
              "type": "text"
            },
            "DeathDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Identifier": {
              "type": "keyword"
            },
            "ValidationTime": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Function": {
              "type": "text"
            },
            "Activity": {
              "type": "text"
            },
            "Position": {
              "type": "text"
            },
            "Role": {
              "type": "text"
            },
            "Mandate": {
              "type": "text"
            }
          }
        },
        "Masterdata": {
          "type": "object"
        },
        "ReferencedObject": {
          "properties": {
            "SignedObjectId": {
              "type": "keyword"
            },
            "SignedObjectDigest": {
              "properties": {
                "Algorithm": {
                  "type": "keyword"
                },
                "MessageDigest": {
                  "type": "keyword"
                }
              }
            }
          }
        }
      }
    },
    "SigningInformation": {
      "properties": {
        "SigningRole": {
          "type": "keyword"
        },
        "DetachedSigningRole": {
          "type": "keyword"
        },
        "SignatureDescription": {
          "properties": {
            "Signer": {
              "properties": {
                "BirthPlace": {
                  "properties": {
                    "Geogname": {
                      "type": "text"
                    },
                    "Address": {
                      "type": "text"
                    },
                    "PostalCode": {
                      "type": "keyword"
                    },
                    "City": {
                      "type": "text"
                    },
                    "Region": {
                      "type": "text"
                    },
                    "Country": {
                      "type": "text"
                    }
                  }
                },
                "BirthDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "DeathPlace": {
                  "properties": {
                    "Geogname": {
                      "type": "text"
                    },
                    "Address": {
                      "type": "text"
                    },
                    "PostalCode": {
                      "type": "keyword"
                    },
                    "City": {
                      "type": "text"
                    },
                    "Region": {
                      "type": "text"
                    },
                    "Country": {
                      "type": "text"
                    }
                  }
                },
                "GivenName": {
                  "type": "text"
                },
                "BirthName": {
                  "type": "text"
                },
                "FirstName": {
                  "type": "text"
                },
                "FullName": {
                  "type": "text"
                },
                "Gender": {
                  "type": "text"
                },
                "Corpname": {
                  "type": "text"
                },
                "Nationality": {
                  "type": "text"
                },
                "DeathDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Identifier": {
                  "type": "keyword"
                },
                "SigningTime": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Function": {
                  "type": "text"
                },
                "Activity": {
                  "type": "text"
                },
                "Position": {
                  "type": "text"
                },
                "Role": {
                  "type": "text"
                },
                "Mandate": {
                  "type": "text"
                }
              }
            },
            "Validator": {
              "properties": {
                "BirthPlace": {
                  "properties": {
                    "Geogname": {
                      "type": "text"
                    },
                    "Address": {
                      "type": "text"
                    },
                    "PostalCode": {
                      "type": "keyword"
                    },
                    "City": {
                      "type": "text"
                    },
                    "Region": {
                      "type": "text"
                    },
                    "Country": {
                      "type": "text"
                    }
                  }
                },
                "BirthDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "DeathPlace": {
                  "properties": {
                    "Geogname": {
                      "type": "text"
                    },
                    "Address": {
                      "type": "text"
                    },
                    "PostalCode": {
                      "type": "keyword"
                    },
                    "City": {
                      "type": "text"
                    },
                    "Region": {
                      "type": "text"
                    },
                    "Country": {
                      "type": "text"
                    }
                  }
                },
                "GivenName": {
                  "type": "text"
                },
                "BirthName": {
                  "type": "text"
                },
                "FirstName": {
                  "type": "text"
                },
                "FullName": {
                  "type": "text"
                },
                "Gender": {
                  "type": "text"
                },
                "Corpname": {
                  "type": "text"
                },
                "Nationality": {
                  "type": "text"
                },
                "DeathDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Identifier": {
                  "type": "keyword"
                },
                "ValidationTime": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Function": {
                  "type": "text"
                },
                "Activity": {
                  "type": "text"
                },
                "Position": {
                  "type": "text"
                },
                "Role": {
                  "type": "text"
                },
                "Mandate": {
                  "type": "text"
                }
              }
            },
            "SigningType": {
              "type": "keyword"
            }
          }
        },
        "TimestampingInformation": {
          "properties": {
            "TimeStamp": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "AdditionalTimestampingInformation": {
              "type": "text"
            }
          }
        },
        "AdditionalProof": {
          "properties": {
            "AdditionalProofInformation": {
              "type": "text"
            }
          }
        },
        "Extended": {
          "type": "object"
        }
      }
    },
    "Gps": {
      "properties": {
        "GpsVersionID": {
          "type": "keyword"
        },
        "GpsAltitude": {
          "type": "long"
        },
        "GpsAltitudeRef": {
          "type": "keyword"
        },
        "GpsLatitude": {
          "type": "keyword"
        },
        "GpsLatitudeRef": {
          "type": "keyword"
        },
        "GpsLongitude": {
          "type": "keyword"
        },
        "GpsLongitudeRef": {
          "type": "keyword"
        },
        "GpsDateStamp": {
          "type": "keyword"
        }
      }
    },
    "_glpd": {
      "enabled": false
    },
    "_graph": {
      "enabled": false
    },
    "_mgt": {
      "properties": {
        "AccessRule": {
          "properties": {
            "Rules": {
              "properties": {
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Rule": {
                  "type": "keyword"
                },
                "StartDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            },
            "Inheritance": {
              "properties": {
                "PreventInheritance": {
                  "type": "boolean"
                },
                "PreventRulesId": {
                  "type": "keyword"
                }
              }
            }
          }
        },
        "AppraisalRule": {
          "properties": {
            "Rules": {
              "properties": {
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Rule": {
                  "type": "keyword"
                },
                "StartDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            },
            "Inheritance": {
              "properties": {
                "PreventInheritance": {
                  "type": "boolean"
                },
                "PreventRulesId": {
                  "type": "keyword"
                }
              }
            },
            "FinalAction": {
              "type": "keyword"
            }
          }
        },
        "DisseminationRule": {
          "properties": {
            "Rules": {
              "properties": {
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Rule": {
                  "type": "keyword"
                },
                "StartDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            },
            "Inheritance": {
              "properties": {
                "PreventInheritance": {
                  "type": "boolean"
                },
                "PreventRulesId": {
                  "type": "keyword"
                }
              }
            }
          }
        },
        "ReuseRule": {
          "properties": {
            "Rules": {
              "properties": {
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Rule": {
                  "type": "keyword"
                },
                "StartDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            },
            "Inheritance": {
              "properties": {
                "PreventInheritance": {
                  "type": "boolean"
                },
                "PreventRulesId": {
                  "type": "keyword"
                }
              }
            }
          }
        },
        "StorageRule": {
          "properties": {
            "Rules": {
              "properties": {
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Rule": {
                  "type": "keyword"
                },
                "StartDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            },
            "Inheritance": {
              "properties": {
                "PreventInheritance": {
                  "type": "boolean"
                },
                "PreventRulesId": {
                  "type": "keyword"
                }
              }
            },
            "FinalAction": {
              "type": "keyword"
            }
          }
        },
        "ClassificationRule": {
          "properties": {
            "Rules": {
              "properties": {
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "Rule": {
                  "type": "keyword"
                },
                "StartDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            },
            "Inheritance": {
              "properties": {
                "PreventInheritance": {
                  "type": "boolean"
                },
                "PreventRulesId": {
                  "type": "keyword"
                }
              }
            },
            "ClassificationLevel": {
              "type": "keyword"
            },
            "ClassificationOwner": {
              "type": "text"
            },
            "ClassificationAudience": {
              "type": "text"
            },
            "ClassificationReassessingDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "NeedReassessingAuthorization": {
              "type": "boolean"
            }
          }
        },
        "HoldRule": {
          "properties": {
            "Rules": {
              "properties": {
                "Rule": {
                  "type": "keyword"
                },
                "StartDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "HoldEndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "HoldOwner": {
                  "type": "text"
                },
                "HoldReason": {
                  "type": "text"
                },
                "HoldReassessingDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                },
                "PreventRearrangement": {
                  "type": "boolean"
                }
              }
            },
            "Inheritance": {
              "properties": {
                "PreventInheritance": {
                  "type": "boolean"
                },
                "PreventRulesId": {
                  "type": "keyword"
                }
              }
            }
          }
        },
        "NeedAuthorization": {
          "type": "boolean"
        }
      }
    },
    "Transmitter": {
      "properties": {
        "BirthPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "BirthDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Corpname": {
          "type": "text"
        },
        "DeathPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "GivenName": {
          "type": "text"
        },
        "BirthName": {
          "type": "text"
        },
        "FirstName": {
          "type": "text"
        },
        "FullName": {
          "type": "text"
        },
        "Gender": {
          "type": "text"
        },
        "Nationality": {
          "type": "text"
        },
        "DeathDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Identifier": {
          "type": "keyword"
        },
        "Function": {
          "type": "text"
        },
        "Activity": {
          "type": "text"
        },
        "Position": {
          "type": "text"
        },
        "Role": {
          "type": "text"
        },
        "Mandate": {
          "type": "text"
        }
      }
    },
    "Sender": {
      "properties": {
        "BirthPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "BirthDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Corpname": {
          "type": "text"
        },
        "DeathPlace": {
          "properties": {
            "Geogname": {
              "type": "text"
            },
            "Address": {
              "type": "text"
            },
            "PostalCode": {
              "type": "keyword"
            },
            "City": {
              "type": "text"
            },
            "Region": {
              "type": "text"
            },
            "Country": {
              "type": "text"
            }
          }
        },
        "GivenName": {
          "type": "text"
        },
        "BirthName": {
          "type": "text"
        },
        "FirstName": {
          "type": "text"
        },
        "FullName": {
          "type": "text"
        },
        "Gender": {
          "type": "text"
        },
        "Nationality": {
          "type": "text"
        },
        "DeathDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "Identifier": {
          "type": "keyword"
        },
        "Function": {
          "type": "text"
        },
        "Activity": {
          "type": "text"
        },
        "Position": {
          "type": "text"
        },
        "Role": {
          "type": "text"
        },
        "Mandate": {
          "type": "text"
        }
      }
    },
    "_min": {
      "type": "long"
    },
    "_max": {
      "type": "long"
    },
    "_nbc": {
      "type": "long"
    },
    "_og": {
      "type": "keyword"
    },
    "_ops": {
      "type": "keyword"
    },
    "_opi": {
      "type": "keyword"
    },
    "_batchId": {
      "type": "keyword"
    },
    "_uploadPath": {
      "type": "keyword"
    },
    "_tenant": {
      "type": "long"
    },
    "_sp": {
      "type": "keyword"
    },
    "_sps": {
      "type": "keyword"
    },
    "_opts": {
      "type": "keyword"
    },
    "_uds": {
      "type": "object"
    },
    "_up": {
      "type": "keyword"
    },
    "_us": {
      "type": "keyword"
    },
    "_v": {
      "type": "long"
    },
    "_av": {
      "type": "long"
    },
    "_vups": {
      "type": "keyword"
    },
    "_storage": {
      "properties": {
        "_nbc": {
          "type": "long"
        },
        "offerIds": {
          "type": "keyword"
        },
        "strategyId": {
          "type": "keyword"
        }
      }
    },
    "_unitType": {
      "type": "keyword"
    },
    "_history": {
      "properties": {
        "ud": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "data": {
          "properties": {
            "_v": {
              "type": "long"
            },
            "_mgt": {
              "properties": {
                "ClassificationRule": {
                  "properties": {
                    "Rules": {
                      "properties": {
                        "EndDate": {
                          "type": "date",
                          "format": "strict_date_optional_time"
                        },
                        "Rule": {
                          "type": "keyword"
                        },
                        "StartDate": {
                          "type": "date",
                          "format": "strict_date_optional_time"
                        }
                      }
                    },
                    "Inheritance": {
                      "properties": {
                        "PreventInheritance": {
                          "type": "boolean"
                        },
                        "PreventRulesId": {
                          "type": "keyword"
                        }
                      }
                    },
                    "ClassificationLevel": {
                      "type": "keyword"
                    },
                    "ClassificationOwner": {
                      "type": "text"
                    },
                    "ClassificationAudience": {
                      "type": "text"
                    },
                    "ClassificationReassessingDate": {
                      "type": "date",
                      "format": "strict_date_optional_time"
                    },
                    "NeedReassessingAuthorization": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "_elimination": {
      "properties": {
        "OperationId": {
          "type": "keyword"
        },
        "GlobalStatus": {
          "type": "keyword"
        },
        "DestroyableOriginatingAgencies": {
          "type": "keyword"
        },
        "NonDestroyableOriginatingAgencies": {
          "type": "keyword"
        },
        "ExtendedInfo": {
          "properties": {
            "ExtendedInfoType": {
              "type": "keyword"
            },
            "ExtendedInfoDetails": {
              "properties": {
                "ParentUnitId": {
                  "type": "keyword"
                },
                "DestroyableOriginatingAgencies": {
                  "type": "keyword"
                },
                "NonDestroyableOriginatingAgencies": {
                  "type": "keyword"
                },
                "OriginatingAgenciesInConflict": {
                  "type": "keyword"
                },
                "HoldRuleIds": {
                  "type": "keyword"
                }
              }
            }
          }
        }
      }
    },
    "_validComputedInheritedRules": {
      "type": "boolean"
    },
    "_computedInheritedRules": {
      "properties": {
        "NeedAuthorization": {
          "type": "boolean"
        },
        "indexationDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "inheritedRulesAPIOutput": {
          "enabled": false
        },
        "AccessRule": {
          "properties": {
            "EndDates": {
              "type": "object",
              "dynamic": false
            },
            "InheritanceOrigin": {
              "type": "keyword"
            },
            "InheritedRuleIds": {
              "type": "keyword"
            },
            "MaxEndDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Rules": {
              "properties": {
                "Rule": {
                  "type": "keyword"
                },
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            }
          }
        },
        "AppraisalRule": {
          "properties": {
            "EndDates": {
              "type": "object",
              "dynamic": false
            },
            "InheritanceOrigin": {
              "type": "keyword"
            },
            "InheritedRuleIds": {
              "type": "keyword"
            },
            "MaxEndDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Rules": {
              "properties": {
                "Rule": {
                  "type": "keyword"
                },
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            },
            "FinalAction": {
              "type": "keyword"
            }
          }
        },
        "DisseminationRule": {
          "properties": {
            "EndDates": {
              "type": "object",
              "dynamic": false
            },
            "InheritanceOrigin": {
              "type": "keyword"
            },
            "InheritedRuleIds": {
              "type": "keyword"
            },
            "MaxEndDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Rules": {
              "properties": {
                "Rule": {
                  "type": "keyword"
                },
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            }
          }
        },
        "ReuseRule": {
          "properties": {
            "EndDates": {
              "type": "object",
              "dynamic": false
            },
            "InheritanceOrigin": {
              "type": "keyword"
            },
            "InheritedRuleIds": {
              "type": "keyword"
            },
            "MaxEndDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Rules": {
              "properties": {
                "Rule": {
                  "type": "keyword"
                },
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            }
          }
        },
        "StorageRule": {
          "properties": {
            "EndDates": {
              "type": "object",
              "dynamic": false
            },
            "InheritanceOrigin": {
              "type": "keyword"
            },
            "InheritedRuleIds": {
              "type": "keyword"
            },
            "MaxEndDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Rules": {
              "properties": {
                "Rule": {
                  "type": "keyword"
                },
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            },
            "FinalAction": {
              "type": "keyword"
            }
          }
        },
        "ClassificationRule": {
          "properties": {
            "EndDates": {
              "type": "object",
              "dynamic": false
            },
            "InheritanceOrigin": {
              "type": "keyword"
            },
            "InheritedRuleIds": {
              "type": "keyword"
            },
            "MaxEndDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Rules": {
              "properties": {
                "Rule": {
                  "type": "keyword"
                },
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            }
          }
        },
        "HoldRule": {
          "properties": {
            "EndDates": {
              "type": "object",
              "dynamic": false
            },
            "InheritanceOrigin": {
              "type": "keyword"
            },
            "InheritedRuleIds": {
              "type": "keyword"
            },
            "MaxEndDate": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "Rules": {
              "properties": {
                "Rule": {
                  "type": "keyword"
                },
                "EndDate": {
                  "type": "date",
                  "format": "strict_date_optional_time"
                }
              }
            }
          }
        }
      }
    },
    "_sedaVersion": {
      "type": "keyword"
    },
    "_implementationVersion": {
      "type": "keyword"
    },
    "_errors": {
      "properties": {
        "evId": {
          "type": "keyword"
        },
        "evIdProc": {
          "type": "keyword"
        },
        "evDateTime": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "obId": {
          "type": "keyword"
        },
        "evTypeProc": {
          "type": "keyword"
        },
        "outDetail": {
          "type": "keyword"
        },
        "outMessg": {
          "type": "text"
        },
        "evDetData": {
          "type": "keyword"
        }
      }
    },
    "_ogInfo": {
      "properties": {
        "_errors": {
          "properties": {
            "evId": {
              "type": "keyword"
            },
            "evIdProc": {
              "type": "keyword"
            },
            "evDateTime": {
              "type": "date",
              "format": "strict_date_optional_time"
            },
            "obId": {
              "type": "keyword"
            },
            "evTypeProc": {
              "type": "keyword"
            },
            "outDetail": {
              "type": "keyword"
            },
            "outMessg": {
              "type": "text"
            },
            "evDetData": {
              "type": "keyword"
            }
          }
        }
      }
    },
    "_reassignments": {
      "properties": {
        "OperationId": {
          "type": "keyword"
        },
        "ReassignmentDate": {
          "type": "date",
          "format": "strict_date_optional_time"
        },
        "SourceOriginatingAgency": {
          "type": "keyword"
        },
        "TargetOriginatingAgency": {
          "type": "keyword"
        }
      }
    }
  }
}
