--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<s:schema xmlns:s="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="https://formats-pivots.adullact.net/finance/publique/v1"
+ xmlns:tns="https://formats-pivots.adullact.net/finance/publique/v1"
+ elementFormDefault="qualified">
+ <s:include schemaLocation="imputation.xsd"/>
+ <s:include schemaLocation="budget.xsd"/>
+ <s:element name="mouvement" type="tns:MouvementFinancierType"/>
+ <s:complexType name="MouvementFinancierType" abstract="true">
+ <s:annotation>
+ <s:documentation xml:lang="FR"><![CDATA[Modèle canonique d'un mouvement financier]]></s:documentation>
+ </s:annotation>
+ <s:sequence>
+ <s:element name="title" type="s:string" minOccurs="0"/>
+ <s:element name="reference" type="tns:ReferenceType" minOccurs="0"/>
+ <s:element name="status" type="tns:StatusEnum" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Last business status that have been specified for this
+ entity. If you want the status changing date, you could found it on the
+ events.</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="exercice" type="s:positiveInteger" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Millésime]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="acte" type="tns:LinkDocumentType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Acte validant juridiquement le mouvement financier]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="specifiques" type="tns:FieldType" minOccurs="0" maxOccurs="unbounded"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="EnteteType">
+ <s:sequence>
+ <s:element name="tenant" type="s:normalizedString" minOccurs="0"/>
+ <s:element name="origin" type="s:anyURI" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">URI that identifies the original application that submit
+ this data model</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="id" type="s:anyURI" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN" xmlns="http://www.w3.org/1999/xhtml">
+ <p> An ID uniquely identifying the canonical entity. This usually comes from the
+ back-end store. This value is guaranteed to be unique and immutable (it will never
+ change). </p>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="title" type="s:string" minOccurs="0"/>
+ <s:element name="summary" type="s:string" minOccurs="0"/>
+ <s:element name="reference" type="tns:ReferenceType" minOccurs="0"/>
+ <s:element name="kind" type="s:normalizedString" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Type of this entity</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="date" type="s:dateTime" minOccurs="0">
+ <s:annotation>
+ <s:documentation>Last modification date.</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="user" type="tns:LinkUserType" minOccurs="0"/>
+ <s:element name="version" type="tns:SemanticVersionType" minOccurs="0"/>
+ <s:element name="active" type="s:boolean" minOccurs="0" default="true">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Every entity is active by default.</s:documentation>
+ <s:documentation xml:lang="EN">Disable means that this entity is deleted from its master
+ data</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="status" type="tns:StatusEnum" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Last business status that have been specified for this
+ entity. If you want the status changing date, you could found it on the
+ events.</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="montant" type="tns:MontantType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Montant total des lignes d'affectation]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="libelle" type="tns:LocalizedTextType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[libelle global de l'affectation]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="budget" type="tns:BudgetType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Budget auquel fait référence cette affectation]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="modeGestion" type="tns:ModeGestionEnum" minOccurs="0"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="RepartitionParImputationType">
+ <s:sequence>
+ <s:element name="imputation" type="tns:ImputationType" minOccurs="0"/>
+ <s:element name="montant" type="tns:MontantType" minOccurs="0"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="RevalorisationType">
+ <s:sequence>
+ <s:element name="libelle" type="tns:LocalizedTextType" minOccurs="0"/>
+ <s:element name="montant" type="tns:MontantType" minOccurs="0"/>
+ <s:element name="typeRevalorisation" minOccurs="0">
+ <s:simpleType>
+ <s:restriction base="s:string">
+ <s:enumeration value="AJUSTEMENT_PROVISIONNEL"/>
+ <s:enumeration value="DESAFFECTATION"/>
+ <s:enumeration value="SOLDE_AUTOMATIQUE"/>
+ <s:enumeration value="MOUVEMENT_COMPLEMENTAIRE"/>
+ </s:restriction>
+ </s:simpleType>
+ </s:element>
+ <s:element name="acte" type="tns:LinkDocumentType" minOccurs="0"/>
+ </s:sequence>
+ </s:complexType>
+ <s:simpleType name="ModeGestionEnum">
+ <s:union memberTypes="tns:DefaultModeGestionEnum tns:AnyNotNullAlphaNumericStringType"/>
+ </s:simpleType>
+ <s:simpleType name="DefaultModeGestionEnum">
+ <s:restriction base="s:string">
+ <s:enumeration value="DEPENSE"/>
+ <s:enumeration value="RECETTE"/>
+ <s:enumeration value="MIXTE"/>
+ </s:restriction>
+ </s:simpleType>
+ <s:simpleType name="StatutEnum">
+ <s:union memberTypes="tns:DefaultStatutEnum tns:AnyNotNullAlphaNumericStringType"/>
+ </s:simpleType>
+ <s:simpleType name="DefaultStatutEnum">
+ <s:restriction base="s:string">
+ <s:enumeration value="NORMAL"/>
+ <s:enumeration value="PROPOSE"/>
+ <s:enumeration value="ANNULE"/>
+ <s:enumeration value="BLOQUE"/>
+ </s:restriction>
+ </s:simpleType>
+ <s:complexType name="TypedMontantType">
+ <s:complexContent>
+ <s:extension base="tns:MontantType">
+ <s:sequence>
+ <s:element name="type" type="tns:TypeMontantEnum" minOccurs="0"/>
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <s:simpleType name="TypeMontantEnum">
+ <s:union memberTypes="tns:DefaultTypeMontantEnum tns:AnyNotNullAlphaNumericStringType"/>
+ </s:simpleType>
+ <s:simpleType name="DefaultTypeMontantEnum">
+ <s:restriction base="s:string">
+ <s:enumeration value="PREAFFECTE"/>
+ <s:enumeration value="AFFECTE"/>
+ <s:enumeration value="ENGAGE"/>
+ <s:enumeration value="LIQUIDE"/>
+ <s:enumeration value="MANDATE"/>
+ <s:enumeration value="PAYE"/>
+ </s:restriction>
+ </s:simpleType>
+ <s:complexType name="AxesAnalyseType">
+ <s:sequence>
+ <s:element name="axeAnalyse" type="tns:AxeAnalyseType" minOccurs="1"
+ maxOccurs="unbounded"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="LibelleType">
+ <s:sequence>
+ <s:element name="valeur" type="s:string"/>
+ </s:sequence>
+ <s:attribute name="type" type="tns:TypeLibelleEnum"/>
+ </s:complexType>
+ <s:simpleType name="TypeLibelleEnum">
+ <s:union memberTypes="tns:DefaultTypeLibelleEnum tns:AnyNotNullAlphaNumericStringType"/>
+ </s:simpleType>
+ <s:simpleType name="DefaultTypeLibelleEnum">
+ <s:restriction base="s:string">
+ <s:enumeration value="PRINCIPAL"/>
+ <s:enumeration value="SECONDAIRE"/>
+ </s:restriction>
+ </s:simpleType>
+ <s:complexType name="AxeAnalyseType">
+ <s:sequence>
+ <s:element name="repartition" type="tns:RepartitionType" minOccurs="1"
+ maxOccurs="unbounded"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="RepartitionType">
+ <s:sequence>
+ <s:element name="periodicite" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Période de couverture]]>
+ </s:documentation>
+ </s:annotation>
+ <s:complexType>
+ <s:choice>
+ <s:element name="exercice" type="s:integer" minOccurs="0"/>
+ <s:sequence>
+ <s:element name="debut" type="s:dateTime" minOccurs="0"/>
+ <s:element name="fin" type="s:dateTime" minOccurs="0"/>
+ </s:sequence>
+ </s:choice>
+ </s:complexType>
+ </s:element>
+ <s:element name="valeur" type="s:decimal" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Valeur ou pourcentage de la répartition]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="montant" type="s:decimal" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[montant réparti]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="axe" type="s:anyURI" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[URI de l'axe d'analyse (MDM)]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="typeAxe" type="tns:TypeAxeAnalyseEnum" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Type d'axe d'analyse comme une localisation ou un critère statistique ou Code des marchés publics]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ </s:sequence>
+ </s:complexType>
+ <s:simpleType name="TypeAxeAnalyseEnum">
+ <s:union memberTypes="tns:DefaultTypeAxeAnalyseEnum tns:AnyNotNullAlphaNumericStringType"/>
+ </s:simpleType>
+ <s:simpleType name="DefaultTypeAxeAnalyseEnum">
+ <s:restriction base="s:string">
+ <s:enumeration value="LOCALISATION"/>
+ <s:enumeration value="CRITERE_STATISTIQUE"/>
+ <s:enumeration value="CODE_DES_MARCHES"/>
+ <s:enumeration value="NATURE_ANALITIQUE"/>
+ </s:restriction>
+ </s:simpleType>
+ <s:complexType name="LigneType">
+ <s:complexContent>
+ <s:extension base="tns:MouvementFinancierType">
+ <s:sequence>
+ <s:element name="numero" type="s:string" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Le numéro du mouvement financier]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="libelle" type="tns:LocalizedTextType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[libelle préférentiel]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="dateMouvement" type="s:dateTime" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Date du mouvement financier]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="montant" type="tns:MontantType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Information sur les montants (HT, TVA(s) et TTC]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="mandataire" type="tns:LinkType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[C'est celui qui perçoit]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="statut" type="tns:StatutEnum" minOccurs="0"/>
+ <s:element name="parent" type="tns:MouvementFinancierType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Cela peut être une réservation de plus haut niveau pour le contrôle du disponible]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="imputation" type="tns:ImputationType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Imputation sur laquelle l'affectation est à lier]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="axesAnalyse" type="tns:AxesAnalyseType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Répartition par thèmes des montants]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="referenceComplementaire" type="s:string" minOccurs="0"
+ maxOccurs="unbounded">
+ <s:annotation>
+ <s:documentation xml:lang="FR">
+ <![CDATA[Référence à une ligne d'affectation avec laquelle la ligne actuelle est complémentaire ou rectificative]]>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="referenceExterne" type="s:anyURI" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Code du dossier lié à ligne d'engagement</s:documentation>
+ </s:annotation>
+ </s:element>
+ </s:sequence>
+ </s:extension>
+ </s:complexContent>
+ </s:complexType>
+ <!-- domiciliation bancaire -->
+ <s:complexType name="DomiciliationBancaireType">
+ <s:annotation>
+ <s:documentation xml:lang="FR"><![CDATA[Définit la domiciliation (Coordonnée bancaire, Titulaire, Cloture, etc...)]]></s:documentation>
+ </s:annotation>
+ <s:sequence>
+ <s:element name="id" type="tns:ReferenceType" minOccurs="0"/>
+ <s:element name="ordre" type="s:int" minOccurs="0"/>
+ <s:element name="principale" type="s:boolean" minOccurs="0"/>
+ <s:element name="modeReglement" type="tns:ModeReglementEnum" minOccurs="0"/>
+ <s:element name="origine" type="tns:LinkType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Donnée utilisée pour l'aide à la saisie</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="titulaire" type="s:string" minOccurs="0"/>
+ <s:element name="IBAN" type="tns:IBANType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Référence à ISO 13616</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="horsSEPA" type="tns:AutreCoordonneesBancairesType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Caractérise tout compte bancaire hors de la zone SEPA
+ (Single Euro Payments Area). Se compose d'un ensemble de clé-valeur car aucune norme
+ définit les comptes Hors-SEPA. </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="cycleDeVie" type="tns:EventClassType" minOccurs="0"/>
+ <s:element name="specifiques" type="tns:FieldType" minOccurs="0" maxOccurs="unbounded">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Données spécifiques</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="pieces" type="tns:PieceDossierType" minOccurs="0" maxOccurs="unbounded"
+ />
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="IBANType">
+ <s:annotation>
+ <s:documentation xml:lang="FR"><![CDATA[Infomation bancaire internationale]]></s:documentation>
+ </s:annotation>
+ <s:sequence>
+ <s:element name="numero" type="s:string" minOccurs="0"/>
+ <s:element name="BIC" type="s:string" minOccurs="0"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="AutreCoordonneesBancairesType">
+ <s:annotation>
+ <s:documentation xml:lang="FR"><![CDATA[Stockage des identités bancaires non IBAN, non RIB.]]></s:documentation>
+ <s:documentation xml:lang="FR"><![CDATA[Les informations sont stockées sous forme de clé/valeur(s)]]></s:documentation>
+ </s:annotation>
+ <s:sequence minOccurs="0" maxOccurs="unbounded">
+ <s:element name="cle" type="s:string" minOccurs="0"/>
+ <s:element name="valeur" type="s:string" minOccurs="0"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="EventClassType">
+ <s:sequence>
+ <s:element name="begin" type="tns:EventType" minOccurs="0"/>
+ <s:element name="events" type="tns:EventType" minOccurs="0" maxOccurs="unbounded"/>
+ <s:element name="end" type="tns:EventType" minOccurs="0"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="TypedClassificationType">
+ <s:sequence>
+ <s:element name="id" type="s:anyURI" minOccurs="0"/>
+ <s:element name="values" type="s:string" minOccurs="0" maxOccurs="unbounded"/>
+ </s:sequence>
+ <s:attribute name="type" type="s:normalizedString" use="optional"/>
+ </s:complexType>
+ <s:complexType name="FieldType">
+ <s:sequence>
+ <s:element name="schema" type="tns:LinkType" minOccurs="0">
+ <s:annotation>
+ <s:documentation source="http://gitlab.mgdis.fr/contract/data-schemas/blob/master/data-schemas.xsd" xml:lang="FR">title="Schéma décrivant la donnée spécifique", rel="schema",expand="http://gitlab.mgdis.fr/contract/data-schemas/blob/master/data-schemas.xsd#schema"</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="reference" type="tns:ReferenceType"/>
+ <s:element name="value" type="s:anyType"/>
+ <s:element name="defaultValue" type="s:string" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">The default value for this field</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="hidden" type="s:boolean" default="false" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Specified if this field is hidden</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="required" type="s:boolean" default="false" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Specified if this field is mandatory</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="dataType" type="s:anySimpleType" minOccurs="0">
+ <s:annotation>
+ <s:documentation source="http://www.w3.org/TR/xmlschema-2/#built-in-datatypes" xml:lang="EN">Could be any built-in data types defined by W3C.
+ @Example("boolean, decimal, integer, string, duration, dateTime, time, date, float, double, anyURI, normlizedString, collection, etc...</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="subType" type="tns:SubTypeType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN">
+ <p>Any subType that could be use to precisely understand the setting type</p>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="restrictions" type="tns:RestrictionType" minOccurs="0"
+ maxOccurs="unbounded">
+ <s:annotation>
+ <s:documentation xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN">
+ <p>Any restrictions clause that could be used to validate the given value</p>
+ </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="unit" type="tns:UnitType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Field unit (like International System)</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="localizable" type="s:boolean" default="false" minOccurs="0"/>
+ <s:element name="schemaList" type="tns:LinkType" minOccurs="0" maxOccurs="unbounded">
+ <s:annotation>
+ <s:documentation xml:lang="EN">List of schema to define a collection</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="uniqueKey" type="tns:LinkType" minOccurs="0" maxOccurs="unbounded">
+ <s:annotation>
+ <s:documentation xml:lang="EN">List of schema to define a unique key when type is collection</s:documentation>
+ </s:annotation>
+ </s:element>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="SubTypeType">
+ <s:sequence>
+ <s:element name="uri" type="s:anyURI" minOccurs="0"/>
+ <s:element name="title" type="tns:LocalizedTextType" minOccurs="0"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="UnitType">
+ <s:sequence>
+ <s:element name="standard" type="tns:UnitStandard" minOccurs="0"/>
+ <s:element name="base" type="s:normalizedString" minOccurs="0">
+ <s:annotation>
+ <s:documentation>Base units are units that have not been derived from any other unit. In turn,
+ base units can be used to derive other measurement units. The International System of Units
+ (SI), recognizes several base units for base physical qualities assumed to be mutually
+ independent. muo:BaseUnit </s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="multiplicationFactor" type="s:decimal" minOccurs="0">
+ <s:annotation>
+ <s:documentation>Modification factor that multiples the base value of the unit
+ muo:factor</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="preferedSymbol" type="s:normalizedString" minOccurs="0">
+ <s:annotation>
+ <s:documentation>Preferred Symbol - Standardized symbol of the entity muo:prefSymbol</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="physicalQuality" type="s:normalizedString" minOccurs="0">
+ <s:annotation>
+ <s:documentation>The physical qualities such as mass, weight, speed, etc. are kind of
+ properties that can be quantified i.e. that can be perceived, measured or even calculated. The
+ concept of physical quality is similar to the notion of quality, used in metrology, the
+ science of measurement. We distinguish between: 1) A physical quality in the general sense: a
+ kind of physical property ascribed to phenomena that can be quantified for a particular
+ phenomenon (e.g. length and electrical charge); 2) A physical quantity in the particular
+ sense: a quantifiable property ascribed to a particular phenomenon (e.g. the weight of my
+ device). MUO only uses physical quantities in the general sense. muo:PhysicalQuality see
+ http://idi.fundacionctic.org/muo/ucum-instances.html for possible values </s:documentation>
+ </s:annotation>
+ </s:element>
+ </s:sequence>
+ </s:complexType>
+ <s:simpleType name="UnitStandard">
+ <s:restriction base="s:string">
+ <s:enumeration value="ISO_80000"/>
+ <s:enumeration value="ISO4217"/>
+ </s:restriction>
+ </s:simpleType>
+
+ <s:complexType name="RestrictionType">
+ <s:sequence>
+ <s:element name="title" type="tns:LocalizedTextType" minOccurs="0"/>
+ <s:element name="totalDigits" type="s:integer" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">For decimal fields, set the total length : number of digits before and after comma</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="fractionDigits" type="s:integer" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">For decimal fields, set number of digits after the comma</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="minInclusive" type="s:integer" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">For decimal fields, set the minimum possible value (exclude)</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="maxInclusive" type="s:integer" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">For decimal fields, set the maximum possible value (include)</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="minExclusive" type="s:integer" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">For decimal fields, set the minimum possible value (exclude)</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="maxExclusive" type="s:integer" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">For decimal fields, set the maximum possible value (exclude)</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="pattern" type="s:string" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Regular expression to validate submitted value</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="length" type="s:integer" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Exactly characters length</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="minLength" type="s:integer" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Minimum characters length</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="maxLength" type="s:integer" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Maximum characters length</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="enumeration" type="tns:EnumValueCollection" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">Possible values of this field</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="dataURL" type="s:anyURI" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="EN">URL to get all possible values</s:documentation>
+ </s:annotation>
+ </s:element>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="EnumValueCollection">
+ <s:sequence>
+ <s:element name="item" type="tns:MasterDataRecordType" minOccurs="0"
+ maxOccurs="unbounded"/>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="MasterDataRecordType">
+ <s:sequence>
+ <s:element name="title" type="s:string" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Libellé de la codification</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="value" type="s:string" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Valeur de la codification</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="actif" type="s:boolean" default="true" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Caractère actif de cette référence</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="expiration" type="s:dateTime" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Date à laquelle cette référence est
+ inactive</s:documentation>
+ </s:annotation>
+ </s:element>
+ <s:element name="description" type="tns:LocalizedTextType" minOccurs="0">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Description de la valeur de codification</s:documentation>
+ </s:annotation>
+ </s:element>
+ </s:sequence>
+ </s:complexType>
+ <s:complexType name="EventType">
+ <s:sequence>
+ <s:element name="id" type="s:anyURI" minOccurs="0"/>
+ <s:element name="date" type="s:dateTime" minOccurs="0"/>
+ <s:element name="summary" type="s:string" minOccurs="0"/>
+ <s:element name="reference" type="tns:ReferenceType" minOccurs="0"/>
+ <s:element name="user" type="tns:LinkUserType" minOccurs="0"/>
+ </s:sequence>
+ <s:attribute name="type" type="s:normalizedString" use="optional"/>
+ </s:complexType>
+ <s:simpleType name="ModeReglementEnum">
+ <s:union memberTypes="tns:ModeReglementDefaultEnum tns:AnyNotNullAlphaNumericStringType"/>
+ </s:simpleType>
+ <s:simpleType name="ModeReglementDefaultEnum">
+ <s:restriction base="s:string">
+ <s:enumeration value="CHEQUE">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Paiement par chèque</s:documentation>
+ </s:annotation>
+ </s:enumeration>
+ <s:enumeration value="VIREMENT">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Paiement par virement</s:documentation>
+ </s:annotation>
+ </s:enumeration>
+ <s:enumeration value="ESPECE">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Paiement en liquide</s:documentation>
+ </s:annotation>
+ </s:enumeration>
+ <s:enumeration value="CARTE_BANCAIRE">
+ <s:annotation>
+ <s:documentation xml:lang="FR">Paiement par carte bancaire</s:documentation>
+ </s:annotation>
+ </s:enumeration>
+ </s:restriction>
+ </s:simpleType>
+</s:schema>