openapi: 3.0.3
info:
  title: Interface API Gamma Refonte
  description: Interface API Gamma Refonte
  version: 1.0.0
  contact:
    name: DGDDI - Douane Française
    url: https://www.douane.gouv.fr/

paths:
  # Chemin facultatif
  /modelObjets:
    post:
      summary: TODO-Supprimer le chemin
      operationId: modelObjets
      responses:
        '200':
          description: 'Ensemble des objets'

components:
  schemas:
    ActualQuantityType:
      description: Actual Quantity
      type: string
      pattern: ^([1-9]\d{0,14})$|^(([1-9]\d{0,13}|0)\.[0-9])$|^(([1-9]\d{0,12}|0)\.\d[0-9])$|^(([1-9]\d{0,11}|0)\.\d\d[0-9])$
      example: "5850130 ou 95991385.9 ou 32284479386.83 ou 50422051684.144"

    AdministrativeReferenceCodeType:
      type: string
      description: Administrative Reference Code
      format: token
      minLength: 21
      maxLength: 21
      pattern: ^[0-9]{2}[A-Z]{2}[A-Z0-9]{16}[0-9]$
      example: "09GKL5BWYERZV82CJV0V1"

    AlcoholicStrengthType:
      description: Alcoholic Strength
      type: string
      pattern: ^([1-9]\d{0,4})$|^(([1-9]\d{0,3}|0)\.[0-9])$|^(([1-9]\d{0,2}|0)\.\d[0-9])$
      example: "8186 ou 590.2 ou 802.66"

    AlertOrRejectionOfEadReasonCodeType:
      description: Reason code of alert or rejection
      type: string
      pattern: ^[1-9]{1}[0-9]{0,1}$
      maxLength: 2
      example: "0"

    BasisQuantityForRecoveryOfDutiesType:
      description: Basis Quantity for Recovery of Duties
      type: string
      pattern: ^([1-9]\d{0,14})$|^(([1-9]\d{0,13}|0)\.[0-9])$|^(([1-9]\d{0,12}|0)\.\d[0-9])$|^(([1-9]\d{0,11}|0)\.\d\d[0-9])$
      example: "5850130 ou 95991385.9 ou 32284479386.83 ou 50422051684.144"

    BodyRecordUniqueReferenceType:
      type: string
      description: Body Record Unique Reference
      pattern: ^[1-9]\d{0,2}$
      example: "553"

    CnCodeType:
      type: string
      maxLength: 8
      minLength: 8
      description: CN Code
      pattern: ^[0-9]{8}$
      example: "29263090"

    ControlReportReferenceType:
      type: string
      description: Control Report Reference
      pattern: ^[A-Z]{2}[a-zA-Z0-9]{13}[0-9]$
      example: "YLTBMoad04szv2L5"

    DateTimeType:
      description: |
        Pattern : \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?

        The date is in the Common Era (minus sign in years is not permitted) and time zone although not included UTC
        is implied
      type: string
      pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?
      example: "2022-01-31T14:05:01"

    DateType:
      type: string
      format: date
      description: |
        Pattern : \d{4}-\d{2}-\d{2}

        The date is in the Common Era (minus sign in years is not permitted)
      example: "2022-01-31"

    DegreePlatoType:
      description: Degree Plato
      type: string
      pattern: ^([1-9]\d{0,4})$|^(([1-9]\d{0,3}|0)\.[0-9])$|^(([1-9]\d{0,2}|0)\.\d[0-9])$
      example: "8186 ou 590.2 ou 802.66"

    DelayedResultReasonCodeType:
      type: string
      description: Delayed Result Reason Code
      pattern: ^[1-9]{1}[0-9]{0,1}$
      example: "29"

    DensityType:
      description: Density
      type: string
      pattern: ^([1-9]\d{0,4})$|^(([1-9]\d{0,3}|0)\.[0-9])$|^(([1-9]\d{0,2}|0)\.\d[0-9])$
      example: "8186 ou 590.2 ou 802.66"

    EoriNumberType:
      type: string
      description: Eori Number
      pattern: ^.{1,17}$
      example: FR0123456789

    ErrorColumnNumberType:
      type: string
      description: Error Column Number
      pattern: ^0$|^[1-9]{1}[0-9]{0,8}$
      example: "1153"

    ErrorLineNumberType:
      type: string
      description: Error Line Number
      pattern: ^0$|^[1-9]{1}[0-9]{0,8}$
      example: "1153"

    EventReportNumberType:
      type: string
      description: Event Report Number
      pattern: ^[A-Z]{2}[a-zA-Z0-9]{13}[0-9]$
      example: "YLTBMoad04szv2L5"

    ExciseNumberType:
      type: string
      pattern: ^[A-Z]{2}[a-zA-Z0-9]{11}$
      example: "WNYmU9ai8UArd"
      description: Excise Number

    FollowUpCorrelationIdType:
      type: string
      description: Follow Up Correlation ID
      pattern: ^[0-9]{2}[A-Z]{2}[a-zA-Z0-9]{24}$
      example: "55DGQ2bPkClbA44WbyGXYKCI4l6j"

    ExciseOfficeCodeType:
      maxLength: 8
      minLength: 8
      type: string
      pattern: ^[A-Z]{2}[a-zA-Z0-9]{6}$
      example: "BWgnQuPY"
      description: Excise Office Code

    GrossMassType:
      description: Gross Mass
      type: string
      pattern: ^([1-9]\d{0,15})$|^(([1-9]\d{0,14}|0)\.[0-9])$|^(([1-9]\d{0,13}|0)\.\d[0-9])$|^(([1-9]\d{0,12}|0)\.\d\d[0-9])$|^(([1-9]\d{0,11}|0)\.\d\d\d[0-9])$|^(([1-9]\d{0,10}|0)\.\d\d\d\d[0-9])$|^(([1-9]\d{0,9}|0)\.\d\d\d\d\d[0-9])$
      example: "1831870521 ou 7361611.7 ou 907545.17 ou 6057.125 ou 6586454.2069 ou 35.68430 ou 3979.145140"

    JourneyTimeType:
      type: string
      description: |
        The format of Journey Time or of Maximum Journey Time is expressed in hours or in days,
        with the format Pdd, where:
          - "P" is a letter in ("H" = Hours or "D" = Day)
          - "dd" is a two digits number

        If P is "H" then the number is less or equal to 24

        If P is "D" then the number is less or equal to 45

        The maximum 45 days period for the journey time is derived from the maximum limit of the TIM_EAD timer defined in Appendix H.'
      pattern: ^H([01][0-9]|2[0-4])|D([0-8][0-9]|9[0-2])$
      example: "H24"

    LanguageCodeType:
      type: string
      maxLength: 2
      minLength: 2
      pattern: ^[a-z]{2}$
      example: "tg"
      description: Language Code

    MemberStateCodeType:
      type: string
      maxLength: 2
      minLength: 2
      pattern: ^[A-Z]{2}$
      example: "TG"
      description: Member State Code

    MvCorrelationIdType:
      type: string
      maxLength: 28
      minLength: 28
      pattern: ^[0-9]{2}[A-Z]{2}[a-zA-Z0-9]{24}$
      example: "55DGQ2bPkClbA44WbyGXYKCI4l6j"
      description: Mv Correlation Id

    NetMassType:
      description: Net Mass
      type: string
      pattern: ^([1-9]\d{0,15})$|^(([1-9]\d{0,14}|0)\.[0-9])$|^(([1-9]\d{0,13}|0)\.\d[0-9])$|^(([1-9]\d{0,12}|0)\.\d\d[0-9])$|^(([1-9]\d{0,11}|0)\.\d\d\d[0-9])$|^(([1-9]\d{0,10}|0)\.\d\d\d\d[0-9])$|^(([1-9]\d{0,9}|0)\.\d\d\d\d\d[0-9])$
      example: "1831870521 ou 7361611.7 ou 907545.17 ou 6057.125 ou 6586454.2069 ou 35.68430 ou 3979.145140"

    NumberOfActiveEconomicOperatorsType:
      type: string
      description: Number of Active Economic Operators
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    NumberOfDeletedEconomicOperatorsType:
      type: string
      description: Number Of Deleted Economic Operators
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "84945"

    NumberOfEconomicOperatorsType:
      type: string
      description: Number of Economic Operators
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    NumberOfExciseAuthorisationChangesType:
      type: string
      description: Number of Excise Authorisation Changes
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    NumberOfInactiveEconomicOperatorsType:
      type: string
      description: Number of Inactive Economic Operators
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    NumberOfPackagesType:
      type: string
      description: Number of packages
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    NumberOfPendingExpirationsType:
      type: string
      description: Number of Pending Expirations
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    NumberOfTaxWarehousesType:
      type: string
      description: Number of Tax Warehouses
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    ObservedShortageOrExcessType:
      description: Observed Shortage or Excess
      type: string
      pattern: ^([1-9]\d{0,14})$|^(([1-9]\d{0,13}|0)\.[0-9])$|^(([1-9]\d{0,12}|0)\.\d[0-9])$|^(([1-9]\d{0,11}|0)\.\d\d[0-9])$
      example: "5850130 ou 95991385.9 ou 32284479386.83 ou 50422051684.144"

    ObservedShortageType:
      description: Observed Shortage
      type: string
      pattern: ^([1-9]\d{0,14})$|^(([1-9]\d{0,13}|0)\.[0-9])$|^(([1-9]\d{0,12}|0)\.\d[0-9])$|^(([1-9]\d{0,11}|0)\.\d\d[0-9])$
      example: "5850130 ou 95991385.9 ou 32284479386.83 ou 50422051684.144"

    QuantityInitiallyDispatchedType:
      description: Quantity Initially Dispatched
      type: string
      pattern: ^([1-9]\d{0,14})$|^(([1-9]\d{0,13}|0)\.[0-9])$|^(([1-9]\d{0,12}|0)\.\d[0-9])$|^(([1-9]\d{0,11}|0)\.\d\d[0-9])$
      example: "5850130 ou 95991385.9 ou 32284479386.83 ou 50422051684.144"

    QuantityType:
      description: Quantity
      type: string
      pattern: ^([1-9]\d{0,14})$|^(([1-9]\d{0,13}|0)\.[0-9])$|^(([1-9]\d{0,12}|0)\.\d[0-9])$|^(([1-9]\d{0,11}|0)\.\d\d[0-9])$
      example: "5850130 ou 95991385.9 ou 32284479386.83 ou 50422051684.144"

    RefusedQuantityType:
      description: Refused Quantity
      type: string
      pattern: ^([1-9]\d{0,14}|0)$|^(([1-9]\d{0,13}|0)\.[0-9])$|^(([1-9]\d{0,12}|0)\.\d[0-9])$|^(([1-9]\d{0,11}|0)\.\d\d[0-9])$
      example: "5850130 ou 95991385.9 ou 32284479386.83 ou 50422051684.144"

    SequenceNumberType:
      type: string
      pattern: ^[1-9]{1}[0-9]{0,1}$
      maxLength: 2
      example: "98"
      description: Sequence Number

    SizeOfProducerType:
      type: string
      description: Size of Producer
      pattern: ^[1-9]{1}[0-9]{0,14}$
      example: "865122304357"

    TimeType:
      type: string
      format: partial-time
      description: The time zone although not included UTC is implied
      pattern: ^\d{2}:\d{2}:\d{2}(\.\d+)?$
      example: "01:43:45"

    TimerDurationType:
      type: string
      description: 'The format of Time To ... or Maximum Duration of ... is expressed in days,
        months or years, with the format P999, where:
        - "P" is a letter in ("D" = Day, "M" = Month or "Y" = Year)
        - "999" is a three digits number'
      pattern: ^(Y|M|D)[0-9]{3}$
      example: "M075"

    TotalNumberOfActiveEconomicOperatorsType:
      type: string
      description: Total Number of Active Economic Operators
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    TotalNumberOfDeletedEconomicOperatorsType:
      type: string
      description: Total Number of Deleted Economic Operators
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "264159705638"

    TotalNumberOfEconomicOperatorsType:
      type: string
      description: Total Number of Economic Operators
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    TotalNumberOfExciseAuthorisationChangesType:
      type: string
      description: Total Number of Excise Authorisation Changes
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    TotalNumberOfInactiveEconomicOperatorsType:
      type: string
      description: Total Number of Inactive Economic Operators
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    TotalNumberOfPendingExpirationsType:
      type: string
      description: Total Number of Pending Expirations
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    TotalNumberOfTaxWarehousesType:
      type: string
      description: Total Number of Tax Warehouses
      pattern: ^0$|^[1-9]{1}[0-9]{0,14}$
      example: "50970"

    TransportUnitCodeType:
      type: string
      description: Transport Unit Code
      pattern: ^[1-9]{1}[0-9]{0,1}$
      example: "29"

    UnitOfMeasureCodeType:
      type: string
      description: Unit of Measure Code
      pattern: ^[1-9]{1}[0-9]{0,1}$
      example: "29"

    WineGrowingZoneCodeType:
      type: string
      description: Wine-Growing Zone Code
      pattern: ^[1-9]{1}[0-9]{0,1}$
      example: "29"

    YearType:
      type: string
      description: Year
      pattern: ^[1-9]\d{3,3}$
      example: "9911"

    AcoActionCodeType:
      type: string
      description: Administrative Cooperation Action Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    AcoActionComplementType:
      type: string
      description: ACO Action Complement
      maxLength: 999
      minLength: 1
      example: "azerty"

    AcoActionNotPossibleReasonCodeType:
      type: string
      description: Administrative Cooperation Action Not Possible Reason Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    AcoActionNotPossibleReasonComplementType:
      type: string
      description: ACO Action Not Possible Reason Complement
      maxLength: 999
      minLength: 1
      example: "azerty"

    AcoComplementaryInformationType:
      type: string
      description: ACO_Complementary Information
      maxLength: 999
      minLength: 1
      example: "azerty"

    AcoRequestInformationType:
      type: string
      description: Administrative Cooperation Request Information
      maxLength: 999
      minLength: 1
      example: "azerty"

    AcoRequestReasonCodeType:
      type: string
      description: Administrative Cooperation Request Reason Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    ActionIdentificationType:
      type: string
      description: Action identification
      maxLength: 20
      minLength: 1
      example: "azertyu"

    AdditionalCodeType:
      type: string
      description: Additional code
      maxLength: 35
      minLength: 1
      example: "azertyui"

    AddressedOfficeNameType:
      type: string
      description: Addressed Office Name
      maxLength: 35
      minLength: 1
      example: "azertyui"

    AddressedOfficeReferenceNumberType:
      type: string
      description: Addressed Office Reference Number
      minLength: 8
      maxLength: 8
      example: "abcdefg"

    AddresseeOfficerType:
      type: string
      description: Addressee Officer
      maxLength: 35
      minLength: 1
      example: "azertyui"

    AlertOrRejectionOfMovementReasonCodeType:
      type: string
      description: Alert or Rejection of Movement Reason Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    AssociatedInformationType:
      type: string
      description: Associated Information
      maxLength: 350
      minLength: 1
      example: "adverty"

    BoxNumberType:
      type: string
      description: Box Number
      maxLength: 11
      minLength: 1
      example: "abc"

    BrandNameOfProductsType:
      type: string
      description: Brand Name of Products
      maxLength: 350
      minLength: 1
      example: "adverty"

    CancellationReasonCodeType:
      type: string
      description: Cancellation Reason Code
      pattern: ^[0-9]$
      example: "3"

    CityType:
      type: string
      description: City
      maxLength: 50
      minLength: 1
      example: "asxx"

    CommentsType:
      type: string
      description: Comments
      maxLength: 350
      minLength: 1
      example: "adverty"

    CommercialDescriptionOfTheGoodsType:
      type: string
      description: Commercial Description of the Goods
      maxLength: 999
      minLength: 1
      example: "azerty"

    CommercialDescriptionType:
      type: string
      description: Commercial Description
      maxLength: 350
      minLength: 1
      example: "adverty"

    CommercialSealIdentificationType:
      type: string
      description: Commercial Seal Identification
      maxLength: 35
      minLength: 1
      example: "azertyui"

    ComplementaryExplanationsType:
      type: string
      description: Complementary Explanations
      maxLength: 999
      minLength: 1
      example: "azerty"

    ComplementaryInformationType:
      description: Complementary Information
      type: string
      maxLength: 350
      minLength: 1
      example: "adverty"

    ComplementaryOriginReferenceType:
      type: string
      description: Complementary Origin Reference
      maxLength: 350
      minLength: 1
      example: "adverty"

    ControlOfficeNameType:
      type: string
      description: Control Office Name
      maxLength: 35
      minLength: 1
      example: "azertyui"

    ControlOfficerIdentityType:
      type: string
      description: Control Officer Identity
      maxLength: 350
      minLength: 1
      example: "adverty"

    CountryCodeType:
      type: string
      description: Country Code
      pattern: ^[a-zA-Z]{2}$
      example: "Tg"

    CountryOfRegistrationType:
      type: string
      description: Country of Registration
      pattern: ^[a-zA-Z]{2}$
      example: "Tg"

    DelayExplanationCodeType:
      type: string
      description: Delay Explanation Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    DescriptionOfTheGoodsType:
      type: string
      description: Description of the Goods
      maxLength: 55
      minLength: 1
      example: "azertyui"

    DescriptionType:
      type: string
      description: Description
      maxLength: 999
      minLength: 1
      example: "azerty"

    DesignationOfOriginType:
      type: string
      description: Designation of Origin
      maxLength: 350
      minLength: 1
      example: "adverty"

    DocumentDescriptionType:
      type: string
      description: Document Description
      maxLength: 350
      minLength: 1
      example: "adverty"

    DocumentReferenceNumberType:
      type: string
      description: Document Reference Number
      maxLength: 21
      minLength: 1
      example: "[4X3S!U[0z$+f"

    DocumentReferenceType:
      type: string
      description: Document Reference
      maxLength: 35
      minLength: 1
      example: "azertyui"

    DocumentTypeType:
      type: string
      description: Document Type
      maxLength: 4
      minLength: 1
      example: "86u"

    EmailAddressType:
      type: string
      description: E-mail Address
      maxLength: 70
      minLength: 1
      example: "uV1@)wj;h8p)n7}#7>gbC"

    ErrorLocationType:
      type: string
      description: Error Location
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    ErrorReasonType:
      type: string
      description: Error Reason
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    EventTypeCodeType:
      type: string
      description: Event Type Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    EvidenceTypeCodeType:
      type: string
      description: Evidence Type Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    EvidenceTypeComplementType:
      type: string
      description: Evidence Type Complement
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    ExciseOfficerIdentificationType:
      type: string
      description: Excise Officer Identification
      maxLength: 35
      minLength: 1
      example: "azertyui"

    ExciseProductCodeType:
      type: string
      description: Excise Product Code
      minLength: 4
      maxLength: 4
      example: "@NM1"

    ExciseProductsCategoryCodeType:
      type: string
      description: Excise Products Category Code
      pattern: ^[a-zA-Z]$
      example: "Z"

    ExplanationCodeType:
      type: string
      description: Explanation Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    ExplanationType:
      type: string
      description: Explanation
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    ExtractionType:
      type: string
      description: Extraction
      pattern: ^[0-9]$
      example: "3"

    FaxNumberType:
      type: string
      description: Fax Number
      maxLength: 35
      minLength: 1
      example: "azertyui"

    FiscalMarkType:
      type: string
      description: Fiscal Mark
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    FollowUpActionsType:
      type: string
      description: Follow up Actions
      maxLength: 999
      minLength: 1
      example: "azerty"

    GlobalExciseTraderIdentifierType:
      type: string
      description: Global Excise Trader Identifier
      minLength: 22
      maxLength: 22
      example: "e>nzRM68SzMnYM*GN$AabP"

    GlobalExplanationType:
      type: string
      description: Global Explanation
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    IdentificationOfSenderCustomsOfficerType:
      type: string
      description: Identification of Sender Customs Officer
      maxLength: 35
      minLength: 1
      example: "azertyui"

    IdentityOfTransportUnitsType:
      type: string
      description: Identity of Transport Units
      maxLength: 35
      minLength: 1
      example: "azertyui"

    ImportSadNumberType:
      type: string
      description: Import SAD Number
      maxLength: 21
      minLength: 1
      example: "[4X3S!U[0z$+f"

    IndependentSmallProducersDeclarationType:
      type: string
      description: Independent Small Producers Declaration
      maxLength: 350
      minLength: 1
      example: "adverty"

    InvoiceNumberType:
      type: string
      description: Invoice Number
      maxLength: 35
      minLength: 1
      example: "azertyui"

    IssuingAuthorityType:
      type: string
      description: Issuing Authority
      maxLength: 35
      minLength: 1
      example: "azertyui"

    KindOfPackagesType:
      type: string
      description: Kind of packages
      minLength: 2
      maxLength: 2
      example: "D!"

    LocalReferenceNumberType:
      type: string
      description: Local Reference Number
      maxLength: 22
      minLength: 1
      example: "~00J]fkDK1(VGkj>TeJ6"

    ManualClosureRejectionComplementType:
      type: string
      description: Manual Closure Rejection Complement
      maxLength: 999
      minLength: 1
      example: "azerty"

    ManualClosureRejectionReasonCodeType:
      type: string
      description: Manual Closure Rejection Reason Code
      pattern: ^[0-9]$
      example: "3"

    ManualClosureRequestReasonCodeComplementType:
      type: string
      description: Manual Closure Request Reason Code Complement
      maxLength: 999
      minLength: 1
      example: "azerty"

    ManualClosureRequestReasonCodeType:
      type: string
      description: Manual Closure Request Reason Code
      pattern: ^[0-9]$
      example: "3"

    MaturationPeriodOrAgeOfProductsType:
      type: string
      description: Maturation Period or Age of Products
      maxLength: 350
      minLength: 1
      example: "azertys"

    MemberStateOfDestinationType:
      type: string
      description: Manual Closure Request Reason Code
      pattern: ^[a-zA-Z]{2}$
      example: "Tg"

    MemberStateOfDispatchType:
      type: string
      description: Member State of Destination
      pattern: ^[a-zA-Z]{2}$
      example: "Tg"

    MovementVerificationActionCodeType:
      type: string
      description: Movement Verification Action Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    MovementVerificationRequestReasonCodeType:
      type: string
      description: Movement Verification Request Reason Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    MsOfSubmissionEventReportReferenceType:
      type: string
      description: MS of Submission Event Report Reference
      maxLength: 35
      minLength: 1
      example: "azertyui"

    NameType:
      type: string
      description: Name
      maxLength: 182
      minLength: 1
      example: "edcvfr"

    NationalCaseReferenceIdentifierType:
      type: string
      description: National Case Reference Identifier
      maxLength: 99
      minLength: 1
      example: "h'SI`d.KJI_E$TkrssrdeRe{T5lBP?_Ije*H7o|"

    NotesType:
      type: string
      description: Notes
      maxLength: 999
      minLength: 1
      example: "azerty"

    OperationType:
      type: string
      description: Operation
      pattern: ^[a-zA-Z]$
      example: "Z"

    OriginalAttributeValueType:
      type: string
      description: Original Attribute Value
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    OriginatorOfRequestType:
      type: string
      description: Originator of request
      maxLength: 50
      minLength: 1
      example: "asxx"

    OtherAccompanyingDocumentNumberType:
      type: string
      description: Other Accompanying Document Number
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    OtherControlActionType:
      type: string
      description: Other Control Action
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    OtherFindingTypeType:
      type: string
      description: Other Finding Type
      maxLength: 999
      minLength: 1
      example: "azerty"

    OtherInformationType:
      type: string
      description: Other Information
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    OtherRiskProfileType:
      type: string
      description: Other Risk Profile
      maxLength: 999
      minLength: 1
      example: "azerty"

    PhoneNumberType:
      type: string
      description: Phone Number
      maxLength: 35
      minLength: 1
      example: "azertyui"

    PlaceOfControlType:
      type: string
      description: Place of Control
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    PlaceOfEventType:
      type: string
      description: Place of Event
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    PostcodeType:
      type: string
      description: Postcode
      maxLength: 10
      minLength: 1
      example: "#bp5"

    ReasonForInterruptionCodeType:
      type: string
      description: Reason for Interruption Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    ReferenceOfDocumentType:
      type: string
      description: Reference of Document
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    ReferenceOfEvidenceType:
      type: string
      description: Reference of Evidence
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    ReferenceOfSupportingDocumentType:
      type: string
      description: Reference of Supporting Document
      maxLength: 999
      minLength: 1
      example: "azerty"

    ReferenceOfTheAddressedAuthorityType:
      type: string
      description: Reference of the addressed authority
      maxLength: 20
      minLength: 1
      example: "azertyu"

    ReferenceOfTheRequestingAuthorityType:
      type: string
      description: Reference of the requesting authority
      maxLength: 20
      minLength: 1
      example: "azertyu"

    RefusalReasonCodeType:
      type: string
      description: Refusal Reason Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    RefusalReasonComplementType:
      type: string
      description: Refusal Reason Complement
      maxLength: 999
      minLength: 1
      example: "azerty"

    RegistrationType:
      type: string
      description: Registration
      maxLength: 35
      minLength: 1
      example: "azertyui"

    RelevanceOfInformationProvidedType:
      type: string
      description: Relevance of Information Provided
      maxLength: 999
      minLength: 1
      example: "azerty"

    ReminderInformationType:
      type: string
      description: Reminder Information
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    RequestReasonType:
      type: string
      description: Request Reason
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    RequestingOfficeNameType:
      type: string
      description: Requesting Office Name
      maxLength: 35
      minLength: 1
      example: "azertyui"

    RequestingOfficeReferenceNumberType:
      type: string
      description: Requesting Office Reference Number
      minLength: 8
      maxLength: 8
      example: "abcdefg"

    ResponsibleDataManagerType:
      type: string
      description: Responsible Data Manager
      maxLength: 35
      minLength: 1
      example: "azertyui"

    SealInformationType:
      type: string
      description: Seal Information
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    SenderOfficerType:
      type: string
      description: Sender Officer
      maxLength: 35
      minLength: 1
      example: "azertyui"

    SerialNumberOfCertificateOfExemptionType:
      type: string
      description: Sender Officer
      maxLength: 255
      minLength: 1
      example: "abcdefghij"

    ShippingMarksType:
      type: string
      description: Shipping Marks
      maxLength: 999
      minLength: 1
      example: "azerty"

    ShortDescriptionOfOtherAccompanyingDocumentType:
      type: string
      description: Short Description of Other Accompanying Document
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    StatusRequestMessageType:
      type: string
      pattern: ^[0-9]{1}$
      description: Status Request Message
      maxLength: 1
      minLength: 1
      example: "1"

    StreetNameType:
      type: string
      description: Street Name
      maxLength: 65
      minLength: 1
      example: "azertyuio"

    StreetNumberType:
      type: string
      description: Street Number
      maxLength: 11
      minLength: 1
      example: "abc"

    SubmitterIdentificationType:
      type: string
      description: Submitter Identification
      minLength: 13
      maxLength: 13
      example: "abcde"

    SubmittingExciseOfficerType:
      type: string
      description: Submitting Excise Officer
      maxLength: 35
      minLength: 1
      example: "azertyui"

    SubmittingPersonCodeType:
      type: string
      description: Submitting Person Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    SubmittingPersonComplementType:
      type: string
      description: Submitting Person Complement
      maxLength: 350
      minLength: 1
      example: "qwertyazerty"

    SubmittingPersonType:
      type: string
      description: Submitting Person
      maxLength: 35
      minLength: 1
      example: "azertyui"

    SupportingDocumentDescriptionType:
      type: string
      description: Supporting Document Description
      maxLength: 999
      minLength: 1
      example: "azerty"

    SupportingDocumentTypeType:
      type: string
      description: Supporting Document Type
      maxLength: 4
      minLength: 1
      example: "86u"

    TelNumberType:
      type: string
      description: Tel Number
      maxLength: 35
      minLength: 1
      example: "azertyui"

    ThirdCountryOfOriginType:
      type: string
      description: Third Country of Origin
      pattern: ^[a-zA-Z]{2}$
      example: "Tg"

    TimeToCompleteFiscalFormalitiesForDutyPaidMovementsType:
      type: string
      description: Time To Complete Fiscal Formalities for Duty Paid Movements
      minLength: 4
      maxLength: 4
      example: "aBcD"

    TraderNameType:
      type: string
      description: Trader Name
      maxLength: 182
      minLength: 1
      example: "edcvfr"

    TraderidType:
      type: string
      description: Trader Id
      maxLength: 16
      minLength: 1
      example: "aqwxsz"

    TransportModeCodeType:
      type: string
      description: Transport Mode Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    TransporterCountryType:
      type: string
      description: Transporter Country
      pattern: ^[a-zA-Z]{2}$
      example: "Tg"

    UnsatisfactoryReasonCodeType:
      type: string
      description: Unsatisfactory Reason Code
      pattern: ^[0-9]{1,2}$
      example: "33"

    ValueType:
      type: string
      description: Value
      maxLength: 255
      minLength: 1
      example: "abcdefghij"

    VatNumberType:
      type: string
      description: VAT Number
      maxLength: 14
      minLength: 1
      example: "fredc"

    WineOperationCodeType:
      type: string
      description: Wine Operation Code
      maxLength: 2
      pattern: ^[0-9]{1,2}$
      example: "33"

    ReferenceOfTaxWarehouseType:
      type: string
      minLength: 13
      maxLength: 13
      description: Reference Of Tax Warehouse

    ReferenceNumberType:
      type: string
      minLength: 8
      maxLength: 8
      description: Reference Number

    TypeMessageType:
      description: Type du message FRA818
      type: string
      pattern: ^([A-Z]){2,3}([0-9]){3,4}$
      example: XXX0000

    NumeroCreanceType:
      type: string
      maxLength: 20
      example: "00ABC00000000000"
      description: Numero Creance

    ExciseOperateStateTypes:
      type: string
      description: Excise Operate States Types
      minLength: 3
      maxLength: 3
      example: "0C1"

    SupportingDocumentsType:
      type: object
      description: |
        | Path                                   |              Regles DAES         |            Conditions DAES       |
        | :------------------------------------: | :------------------------------: | :------------------------------: |
        | IE880-881.SupportingDocumentDescription    |                                  |             - IC_RG_C186     |
        | IE880-881.ReferenceOfSupportingDocument    |                                  |             - IC_RG_C142     |
        | IE880-881.ImageOfDocument                  |                                  |             - IC_RG_C142     |
        | IE880-881.SupportingDocumentType           |           - Ref_15(BC106)        |             - IC_RG_C142     |
      properties:
        SupportingDocumentDescription:
          $ref: '#/components/schemas/LSDSupportingDocumentDescriptionType'
        ReferenceOfSupportingDocument:
          $ref: '#/components/schemas/LSDReferenceOfSupportingDocumentType'
        ImageOfDocument:
          type: string
          format: byte
        SupportingDocumentType:
          $ref: '#/components/schemas/SupportingDocumentTypeType'

    BodyManualClosureType:
      type: object
      description: |
        | Path                                  |                        Regles DAES                 | Conditions DAES |
        | :-----------------------------------: | :------------------------------------------------: | :-------------: |
        | IE880-881.BodyRecordUniqueReference   | - IC_RG_BR024<br />- IC_RG_R058<br />- IC_RG_R232  |                 |
        | IE880-881.IndicatorOfShortageOrExcess |                    - Ref_62(TC47)                  |                 |
        | IE880-881.ObservedShortageOrExcess    |                    - IC_RG_R232                    |   - IC_RG_C067  |
        | IE880-881.ExciseProductCode           |                    - Ref_35(BC36)                  |                 |
        | IE880-881.RefusedQuantity             |            - IC_RG_BR025<br />- IC_RG_R232         |   - IC_RG_C095  |
      properties:
        BodyRecordUniqueReference:
          $ref: '#/components/schemas/BodyRecordUniqueReferenceType'
        IndicatorOfShortageOrExcess:
          $ref: '../ie/tcl.yaml#/components/schemas/IndicatorOfShortageOrExcess'
        ObservedShortageOrExcess:
          $ref: '#/components/schemas/ObservedShortageOrExcessType'
        ExciseProductCode:
          $ref: '#/components/schemas/ExciseProductCodeType'
        RefusedQuantity:
          $ref: '#/components/schemas/RefusedQuantityType'
        ComplementaryInformation:
          $ref: '#/components/schemas/LSDComplementaryInformationType880Type881'
      required:
        - BodyRecordUniqueReference

    LSDComplementaryInformationType880Type881:
      type: object
      description: |
        | Path                |    Regles DAES     | Conditions DAES |
        | :-----------------: | :----------------: | :-------------: |
        | IE880-881.__language   |  - Ref_28 (BC12)   |  - IC_RG_C002   |
      properties:
        _content_:
          $ref: '#/components/schemas/ComplementaryInformationType'
        __language:
          $ref: '#/components/schemas/LanguageCodeType'
      required:
        - __language
        - _content_

    LSDManualClosureRequestReasonCodeComplementType:
      type: object
      description: |
        | Path                |    Regles DAES     | Conditions DAES |
        | :-----------------: | :----------------: | :-------------: |
        | IE880-881.__language   |  - Ref_28 (BC12)   |  - IC_RG_C002   |
      properties:
        _content_:
          $ref: '#/components/schemas/ManualClosureRequestReasonCodeComplementType'
        __language:
          $ref: '#/components/schemas/LanguageCodeType'
      required:
        - __language
        - _content_

    LSDReferenceOfSupportingDocumentType:
      type: object
      description: |
        | Path                |    Regles DAES     | Conditions DAES |
        | :-----------------: | :----------------: | :-------------: |
        | IE880-881.__language   |  - Ref_28 (BC12)   |  - IC_RG_C002   |
      properties:
        _content_:
          $ref: '#/components/schemas/ReferenceOfSupportingDocumentType'
        __language:
          $ref: '#/components/schemas/LanguageCodeType'
      required:
        - __language
        - _content_

    LSDSupportingDocumentDescriptionType:
      type: object
      description: |
        | Path                |    Regles DAES     | Conditions DAES |
        | :-----------------: | :----------------: | :-------------: |
        | IE880-881.__language   |  - Ref_28 (BC12)   |  - IC_RG_C002   |
      properties:
        _content_:
          $ref: '#/components/schemas/SupportingDocumentDescriptionType'
        __language:
          $ref: '#/components/schemas/LanguageCodeType'
      required:
        - __language
        - _content_

    UpstreamArcType:
      maxLength: 21
      minLength: 21
      pattern: ^.{21}$
      type: string
      description: Upstream ARC
      format: token
      example: aqwxsze

    MrnType:
      minLength: 18
      maxLength: 18
      pattern: ^.{18}$
      type: string
      description: MRN
      format: token
      example: azertyuiopqsdfghjk

    TypeType:
      minLength: 4
      maxLength: 4
      pattern: ^.{4}$
      type: string
      description: Type
      format: token
      example: azer

    RejectionReasonType:
      minLength: 1
      maxLength: 512
      pattern: ^.{1,512}$
      type: string
      description: Rejection reason
      format: token
      example: azerty

    PaysType:
      minLength: 1
      maxLength: 35
      pattern: ^.{1,35}$
      type: string
      description: Pays
      format: token
      example: pays
