Commit b4f2a001 authored by Baptiste Toulemonde's avatar Baptiste Toulemonde
Browse files

[WIP][NOT TO MERGE] configuration pour deploiement sur serveur OVH

parent 62750d63
......@@ -2,13 +2,13 @@ debug: false
# Pastis Rest APi
rng:
base:
file: rng/Profil_seda_pastis_mvp.rng
file: profiles_new/Profil_seda_pastis_mvp.rng
directory: rng/
json:
base:
file: rng/ProfileJson.json
file: profiles_new/ProfileJson.json
template:
file: rng/AUP_default_PASTIS.json
file: profiles_new/AUP_default_PASTIS.json
pua:
definitions:
file: pua_validation/ProfileJson.json
......
<?xml version='1.0' encoding='utf-8' standalone='no'?>
<rng:grammar
xmlns:rng="http://relaxng.org/ns/structure/1.0"
xmlns:seda="fr:gouv:culture:archivesdefrance:seda:v2.1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="fr:gouv:culture:archivesdefrance:seda:v2.1"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="fr:gouv:culture:archivesdefrance:seda:v2.1" seda:warnings="">
<rng:grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
xmlns:rng="http://relaxng.org/ns/structure/1.0"
xmlns:seda="fr:gouv:culture:archivesdefrance:seda:v2.1" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="fr:gouv:culture:archivesdefrance:seda:v2.1"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="fr:gouv:culture:archivesdefrance:seda:v2.1" seda:warnings="">
<rng:start>
<rng:element name="ArchiveTransfer">
<rng:optional>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"id": "",
"tenant": 0,
"version": 0,
"activationDate": "2015-12-10T00:00:00.000",
"controlSchema": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"patternProperties\": {\n\t \"#management\":{} \n\t },\n \"required\": [\n \"ArchiveUnitProfile\",\"DescriptionLevel\",\"Title_\"\n ],\n \"definitions\": {\n \"pattern-simple-date\": {\n \"type\": \"string\",\n \"pattern\": \"[0-9]{4}-[0-9]{2}-[0-9]{2}\"\n },\n \"pattern-date\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-8][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))$\"\n }\n },\n \"properties\": {\n \"ArchiveUnitProfile\": {\n \"type\": \"string\",\n \"description\": \"Identifiant du PUA : cardinalité 1\"\n },\n \"DescriptionLevel\": {\n \"type\": \"string\",\n \"description\": \"Niveau de description : cardinalité 1\"\n },\n \"Title\": {\n \"type\": \"object\",\n \"description\": \"Titre de la ressource Create : cardinalité 1-N\"\n }\n }\n}",
"creationDate": "2003-10-01T00:00:00.000",
"deactivationDate": "2017-12-10T00:00:00.000",
"description": "Create PUA Test KDE 1",
"fields": [
"ArchiveUnitProfile",
"DescriptionLevel",
"Title"
],
"identifier": "AUP_Test_Pastis_KDE_Created_1",
"lastUpdate": "2021-11-08T13:57:18.927",
"name": "Create PUA Test KDE Name 1",
"status": "ACTIVE"
}
{
"id": "aegaaaaabafbmai5aa2d2alwatqvahqaaaaq",
"identifier": "AUP-000007",
"name": "AUP default PASTIS",
"description": "Import d'un AUP default pour PASTIS",
"status": "ACTIVE",
"creationDate": "2000-09-01T00:00:00.000",
"lastUpdate": "2020-11-26T14:08:20.987",
"activationDate": "2016-12-10T00:00:00.000",
"deactivationDate": "2016-12-10T00:00:00.000",
"controlSchema": "{\"$schema\":\"http://json-schema.org/draft-04/schema\",\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"ArchiveUnitProfile\",\"DescriptionLevel\",\"Title_\",\"OriginatingAgency\",\"StartDate\",\"EndDate\"],\"definitions\":{\"pattern-simple-date\":{\"type\":\"string\",\"pattern\":\"[0-9]{4}-[0-9]{2}-[0-9]{2}\"},\"pattern-date\":{\"type\":\"string\",\"pattern\":\"^([0-8][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))$\"}},\"properties\":{\"ArchiveUnitProfile\":{\"type\":\"string\",\"description\":\"Identifiant du PUA : cardinalité 1\"},\"#management\":{\"properties\":{\"AppraisalRule\":{\"type\":\"object\",\"description\":\"DUA : cardinalité 1\",\"additionalProperties\":false,\"required\":[\"FinalAction\"],\"properties\":{\"Rules\":{\"items\":{\"properties\":{\"Rule\":{\"type\":\"string\",\"description\":\"Règle issue du référentiel des règles de gestion : cardinalité 1\"},\"StartDate\":{\"type\":\"string\",\"description\":\"Date de début du calcul : cardinalité 1\"}},\"required\":[\"Rule\",\"StartDate\"]}},\"FinalAction\":{\"type\":\"string\",\"description\":\"Sort final : cardinalité 1\"}}},\"AccessRule\":{\"type\":\"object\",\"description\":\"Communicabilité : cardinalité 0-1\",\"additionalProperties\":false,\"properties\":{\"Rules\":{\"items\":{\"properties\":{\"Rule\":{\"type\":\"string\",\"description\":\"Règle issue du référentiel des règles de gestion : cardinalité 1\"},\"StartDate\":{\"type\":\"string\",\"description\":\"Date de début du calcul : cardinalité 1\"}},\"required\":[\"Rule\",\"StartDate\"]}}}}},\"required\":[\"AppraisalRule\"]},\"DescriptionLevel\":{\"type\":\"string\",\"description\":\"Niveau de description : cardinalité 1\",\"enum\":[\"Fonds\",\"Subfonds\",\"Class\",\"Collection\",\"Series\",\"Subseries\",\"RecordGrp\",\"SubGrp\",\"File\",\"Item\",\"OtherLevel\"]},\"Title_\":{\"type\":\"object\",\"description\":\"Titre de la ressource : cardinalité 1-N\"},\"OriginatingSystemId\":{\"type\":\"array\",\"description\":\"Identifiant de la ressource par le SP : cardinalité 0-1\",\"minItems\":0,\"maxItems\":1},\"Description_\":{\"type\":\"object\",\"description\":\"Description : cardinalité 0-n\"},\"Tag\":{\"type\":\"array\",\"description\":\"Tag : cardinalité 0-N\"},\"OriginatingAgency\":{\"type\":\"object\",\"description\":\"Service producteur : cardinalité 1\",\"additionalProperties\":false,\"required\":[\"Identifier\"],\"properties\":{\"Identifier\":{\"type\":\"string\",\"description\":\"Identifiant du SP : cardinalité 1\"}}},\"Writer\":{\"description\":\"Rédacteur de la ressource : cardinalité 0-1\",\"type\":\"array\",\"minItems\":0,\"maxItems\":1,\"additionalProperties\":false,\"required\":[\"FullName\"],\"properties\":{\"FullName\":{\"type\":\"string\",\"description\":\"Nom complet : cardinalité 1\"},\"Function\":{\"type\":\"array\",\"description\":\"Fonction : cardinalité 0-N\"}}},\"CreatedDate\":{\"type\":\"string\",\"description\":\"Date de création : cardinalité 0-1\"},\"StartDate\":{\"type\":\"string\",\"description\":\"Date de début : cardinalité 1\"},\"EndDate\":{\"type\":\"string\",\"description\":\"Date de fin : cardinalité 1\"}}}",
"tenant": 8,
"version": 1,
"fields": [
"ArchiveUnitProfile",
"DescriptionLevel",
"Title"
]
}
{
"id": "aegaaaaabafbmai5aa2d2alwatqvahqaaaaq",
"identifier": "AUP-000007",
"name": "AUP default PASTIS",
"description": "Import d'un AUP default pour PASTIS",
"status": "ACTIVE",
"creationDate": "2000-09-01T00:00:00.000",
"lastUpdate": "2020-11-26T14:08:20.987",
"activationDate": "2016-12-10T00:00:00.000",
"deactivationDate": "2016-12-10T00:00:00.000",
"controlSchema": "{\"$schema\":\"http://json-schema.org/draft-04/schema\",\"type\":\"object\",\"additionalProperties\":false,\"definitions\":{\"pattern-simple-date\":{\"type\":\"string\",\"pattern\":\"[0-9]{4}-[0-9]{2}-[0-9]{2}\"},\"pattern-date\":{\"type\":\"string\",\"pattern\":\"^([0-8][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))$\"}},\"properties\":{\"ArchiveUnitProfile\":{\"type\":\"string\",\"description\":\"DescriptionLevel : cardinalité 0-1 / valeur au choix\"},\"#management\":{\"properties\":{\"AppraisalRule\":{\"type\":\"object\",\"description\":\"Appraisal : cardinalité 0-1 / contient obligatoirement Rule et FinalAction\",\"additionalProperties\":false,\"properties\":{\"Rules\":{\"items\":{\"properties\":{\"Rule\":{\"description\":\"Rule : cardinalité 1\",\"type\":\"string\"},\"StartDate\":{\"description\":\"StartDate : cardinalité 0-1 / valeur date libre\",\"type\":\"string\"}},\"required\":[\"StartDate\"]}},\"FinalAction\":{\"description\":\"FinalAction : cardinalité 1-1 / valeur au choix\",\"type\":\"string\"}}}}},\"DescriptionLevel\":{\"type\":\"string\",\"description\":\"DescriptionLevel : cardinalité 0-1\",\"enum\":[\"Fonds\",\"Subfonds\",\"Class\",\"Collection\",\"Series\",\"Subseries\",\"RecordGrp\",\"SubGrp\",\"File\",\"Item\",\"OtherLevel\"]},\"Title_\":{\"type\":\"object\",\"description\":\"Title : cardinalité 0-N / valeur au choix\"},\"FilePlanPosition\":{\"description\":\"FilePlanPosition : cardinalité 0-N / valeur au choix\",\"type\":\"array\"},\"Tag\":{\"description\":\"Tag : cardinalité 0-N / valeur au choix\",\"type\":\"array\"},\"Keyword\":{\"description\":\"Keyword : cardinalité 0-N / valeur au choix\",\"type\":\"array\",\"minItems\":0,\"maxItems\":1,\"additionalProperties\":false,\"properties\":{\"KeywordContent\":{\"type\":\"string\",\"description\":\"Identifier : cardinalité 1 / valeur au choix\"}}},\"OriginatingAgency\":{\"description\":\"OriginatingAgency : cardinalité 0-1 / valeur au choix\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"Identifier\":{\"description\":\"Identifier : cardinalité 1-1 / valeur au choix\",\"type\":\"string\"}}}}}",
"tenant": 8,
"version": 1,
"fields": [
"ArchiveUnitProfile",
"DescriptionLevel",
"Title"
]
}
{
"id": "aegaaaaabafbmai5aa2d2alwatqvahqaaaaq",
"identifier": "AUP-000007",
"name": "AUP default PASTIS",
"description": "Import d'un AUP default pour PASTIS",
"status": "ACTIVE",
"creationDate": "2000-09-01T00:00:00.000",
"lastUpdate": "2020-11-26T14:08:20.987",
"activationDate": "2016-12-10T00:00:00.000",
"deactivationDate": "2016-12-10T00:00:00.000",
"controlSchema": "{\"$schema\":\"http://json-schema.org/draft-04/schema\",\"type\":\"object\",\"additionalProperties\":false,\"patternProperties\":{\"#management\":{}},\"definitions\":{\"pattern-simple-date\":{\"type\":\"string\",\"pattern\":\"[0-9]{4}-[0-9]{2}-[0-9]{2}\"},\"pattern-date\":{\"type\":\"string\",\"pattern\":\"^([0-8][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))$\"}},\"properties\":{\"ArchiveUnitProfile\":{\"type\":\"string\",\"description\":\"DescriptionLevel : cardinalité 0-1 / valeur au choix\"},\"DescriptionLevel\":{\"type\":\"string\",\"description\":\"DescriptionLevel : cardinalité 0-1\",\"enum\":[\"Fonds\",\"Subfonds\",\"Class\",\"Collection\",\"Series\",\"Subseries\",\"RecordGrp\",\"SubGrp\",\"File\",\"Item\",\"OtherLevel\"]},\"Title_\":{\"type\":\"object\",\"description\":\"Title : cardinalité 0-N / valeur au choix\"},\"FilePlanPosition\":{\"description\":\"FilePlanPosition : cardinalité 0-N / valeur au choix\",\"type\":\"array\"},\"Tag\":{\"description\":\"Tag : cardinalité 0-N / valeur au choix\",\"type\":\"array\"},\"Keyword\":{\"description\":\"Keyword : cardinalité 0-N / valeur au choix\",\"type\":\"array\",\"minItems\":0,\"maxItems\":1,\"additionalProperties\":false,\"properties\":{\"KeywordContent\":{\"type\":\"string\",\"description\":\"Identifier : cardinalité 1 / valeur au choix\"}}},\"OriginatingAgency\":{\"description\":\"OriginatingAgency : cardinalité 0-1 / valeur au choix\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"Identifier\":{\"description\":\"Identifier : cardinalité 1-1 / valeur au choix\",\"type\":\"string\"}}}}}",
"tenant": 8,
"version": 1,
"fields": [
"ArchiveUnitProfile",
"DescriptionLevel",
"Title"
]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rng:grammar xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:seda="fr:gouv:culture:archivesdefrance:seda:v2.1" xmlns:rng="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="fr:gouv:culture:archivesdefrance:seda:v2.1" xmlns="fr:gouv:culture:archivesdefrance:seda:v2.1"
>
<rng:start>
<rng:element name="ArchiveTransfer">
<rng:element name="Date">
<rng:data type="token"/>
</rng:element>
<rng:element name="MessageIdentifier">
<rng:data type="token"/>
</rng:element>
<rng:element name="ArchivalAgreement">
<rng:value type="token">IN-UPPA-0</rng:value>
</rng:element>
<rng:element name="CodeListVersions">
<rng:data type="token"/>
</rng:element>
<rng:element name="DataObjectPackage">
<rng:oneOrMore>
<rng:element name="DataObjectGroup">
<rng:attribute name="id">
<rng:data type="ID"/>
</rng:attribute>
<rng:zeroOrMore>
<rng:element name="BinaryDataObject">
<rng:element name="DataObjectVersion">
<xsd:annotation>
<xsd:documentation>BinaryMaster par défaut</xsd:documentation>
</xsd:annotation>
<rng:data type="token"/>
</rng:element>
<rng:element name="Uri">
<rng:data type="anyURI"/>
</rng:element>
<rng:element name="MessageDigest">
<rng:data type="base64Binary"/>
<rng:attribute name="algorithm">
<rng:data type="token"/>
</rng:attribute>
</rng:element>
<rng:element name="Size">
<rng:data type="positiveInteger"/>
</rng:element>
<rng:element name="FormatIdentification">
<rng:optional>
<rng:element name="FormatLitteral">
<rng:data type="string"/>
</rng:element>
</rng:optional>
<rng:optional>
<rng:element name="FormatId">
<rng:data type="token"/>
</rng:element>
</rng:optional>
</rng:element>
<rng:element name="FileInfo">
<rng:element name="Filename">
<rng:data type="string"/>
</rng:element>
</rng:element>
<rng:attribute name="id">
<rng:data type="ID"/>
</rng:attribute>
</rng:element>
</rng:zeroOrMore>
</rng:element>
</rng:oneOrMore>
<rng:element name="DescriptiveMetadata">
<rng:element name="ArchiveUnit">
<xsd:annotation>
<xsd:documentation>Séance du conseil d'administration</xsd:documentation>
</xsd:annotation>
<rng:attribute name="id">
<rng:data type="ID"/>
</rng:attribute>
<rng:element name="ArchiveUnitProfile">
<rng:data type="token"/>
</rng:element>
<rng:element name="Content">
<rng:optional>
<rng:element name="DescriptionLevel">
<rng:value type="token">File</rng:value>
</rng:element>
</rng:optional>
<rng:zeroOrMore>
<rng:element name="Title">
<rng:data type="string"/>
<rng:attribute name="xml:lang">
<rng:value type="language">fra</rng:value>
</rng:attribute>
</rng:element>
</rng:zeroOrMore>
</rng:element>
</rng:element>
</rng:element>
<rng:element name="ManagementMetadata">
<rng:element name="ArchivalProfile">
<rng:data type="token"/>
</rng:element>
<rng:element name="OriginatingAgencyIdentifier">
<rng:value type="token">19640251500270</rng:value>
</rng:element>
<rng:element name="SubmissionAgencyIdentifier">
<rng:value type="token">19640251500270</rng:value>
</rng:element>
<rng:element name="AppraisalRule">
<rng:element name="Rule">
<xsd:annotation>
<xsd:documentation>DUA 15 ans</xsd:documentation>
</xsd:annotation>
<rng:value type="token">APP-00015</rng:value>
</rng:element>
<rng:element name="StartDate">
<rng:data type="token"/>
</rng:element>
<rng:element name="FinalAction">
<rng:value type="token">Keep</rng:value>
</rng:element>
</rng:element>
<rng:element name="AccessRule">
<rng:element name="Rule">
<xsd:annotation>
<xsd:documentation>Librement communicable</xsd:documentation>
</xsd:annotation>
<rng:value type="token">ACC-00001</rng:value>
</rng:element>
<rng:element name="StartDate">
<rng:data type="token"/>
</rng:element>
</rng:element>
</rng:element>
</rng:element>
<rng:element name="ArchivalAgency">
<rng:element name="Identifier">
<rng:value type="string">19341594000017</rng:value>
</rng:element>
</rng:element>
<rng:element name="TransferringAgency">
<rng:element name="Identifier">
<rng:value type="string">19640251500270</rng:value>
</rng:element>
</rng:element>
</rng:element>
</rng:start>
</rng:grammar>
<?xml version='1.0' encoding='utf-8' standalone='no'?>
<rng:grammar
xmlns:rng="http://relaxng.org/ns/structure/1.0"
xmlns:seda="fr:gouv:culture:archivesdefrance:seda:v2.1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="fr:gouv:culture:archivesdefrance:seda:v2.1"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="fr:gouv:culture:archivesdefrance:seda:v2.1" seda:warnings="">
<rng:start>
<rng:element name="ArchiveTransfer">
<rng:optional>
<rng:attribute name="id">
<rng:data type="ID"/>
</rng:attribute>
</rng:optional>
<rng:element name="Date">
<rng:data type="dateTime"/>
</rng:element>
<rng:element name="MessageIdentifier">
<rng:data type="token"/>
</rng:element>
<rng:element name="CodeListVersions">
<rng:data type="token"/>
</rng:element>
<rng:element name="DataObjectPackage">
<rng:optional>
<rng:attribute name="xml:id">
<rng:data type="ID"/>
</rng:attribute>
</rng:optional>
<rng:element name="DataObjectGroup">
<rng:attribute name="id">
<rng:data type="ID"/>
</rng:attribute>
<rng:zeroOrMore>
<rng:element name="BinaryDataObject">
<rng:attribute name="id">
<rng:data type="ID"/>
</rng:attribute>
<rng:optional>
<rng:element name="DataObjectVersion">
<rng:data type="token"/>
<xsd:annotation>
<xsd:documentation>BinaryMaster par défaut</xsd:documentation>
</xsd:annotation>
</rng:element>
</rng:optional>
<rng:optional>
<rng:element name="Uri">
<rng:data type="anyURI"/>
</rng:element>
</rng:optional>
<rng:element name="MessageDigest">
<rng:data type="base64Binary"/>
<rng:attribute name="algorithm">
<rng:data type="token"/>
</rng:attribute>
</rng:element>
</rng:element>
</rng:zeroOrMore>
</rng:element>
<rng:element name="DescriptiveMetadata">
<rng:zeroOrMore>
<rng:element name="ArchiveUnit">
<rng:attribute name="id">
<rng:data type="ID"/>
</rng:attribute>
<rng:element name="Content">
<rng:optional>
<rng:element name="DescriptionLevel">
<rng:data type="token"/>
</rng:element>
</rng:optional>
<rng:optional>
<rng:element name="Title">
<rng:data type="string"/>
</rng:element>
</rng:optional>
</rng:element>
</rng:element>
</rng:zeroOrMore>
</rng:element>
<rng:element name="ManagementMetadata">
<rng:optional>
<rng:element name="OriginatingAgencyIdentifier">
<rng:data type="token"/>
</rng:element>
</rng:optional>
<rng:optional>
<rng:element name="SubmissionAgencyIdentifier">
<rng:data type="token"/>
</rng:element>
</rng:optional>
</rng:element>
</rng:element>
<rng:element name="ArchivalAgency">
<rng:element name="Identifier">
<rng:data type="token"/>
</rng:element>
</rng:element>
<rng:element name="TransferringAgency">
<rng:element name="Identifier">
<rng:data type="token"/>
</rng:element>
</rng:element>
</rng:element>
</rng:start>
</rng:grammar>
......@@ -29,14 +29,14 @@ springdoc:
# Pastis Rest APi
rng.base.file: rng/Profil_seda_pastis_mvp.rng
rng.base.file: profiles_new/Profil_seda_pastis_mvp.rng
rng.base.directory: rng/
json.base.file: rng/ProfileJson.json
json.base.file: profiles_new/ProfileJson.json
pua.definitions.file: pua_validation/ProfileJson.json
json.template.file: rng/AUP_default_PASTIS.json
json.template.file: profiles_new/AUP_default_PASTIS.json
#PORT
server.port: 8096
server.port: 8080
server-identity:
identityName: vitamui-dev
identityRole: pastis-standalone
......@@ -53,5 +53,6 @@ management:
show-details: always
prometheus:
enabled: true
cors.allowed-origins: https://dev.vitamui.com:4251,https://localhost,http://localhost:8096
cors.allowed-origins: http://vps-aae4c02d.vps.ovh.net,vps-aae4c02d.vps.ovh.net,http://pastis.cines.fr,pastis.cines.fr
......@@ -2,13 +2,13 @@ debug: false
# Pastis Rest APi
rng:
base:
file: rng/Profil_seda_pastis_mvp.rng
file: profiles_new/Profil_seda_pastis_mvp.rng
directory: rng/
json:
base:
file: rng/ProfileJson.json
file: profiles_new/ProfileJson.json
template:
file: rng/AUP_default_PASTIS.json
file: profiles_new/AUP_default_PASTIS.json
pua:
definitions:
file: pua_validation/ProfileJson.json
......
<?xml version='1.0' encoding='utf-8' standalone='no'?>
<rng:grammar
xmlns:rng="http://relaxng.org/ns/structure/1.0"
xmlns:seda="fr:gouv:culture:archivesdefrance:seda:v2.1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="fr:gouv:culture:archivesdefrance:seda:v2.1"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="fr:gouv:culture:archivesdefrance:seda:v2.1" seda:warnings="">
<rng:grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
xmlns:rng="http://relaxng.org/ns/structure/1.0"
xmlns:seda="fr:gouv:culture:archivesdefrance:seda:v2.1" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="fr:gouv:culture:archivesdefrance:seda:v2.1"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="fr:gouv:culture:archivesdefrance:seda:v2.1" seda:warnings="">
<rng:start>
<rng:element name="ArchiveTransfer">
<rng:optional>
......
{
"id": "",
"tenant": 0,
"version": 0,
"activationDate": "2015-12-10T00:00:00.000",
"controlSchema": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"patternProperties\": {\n\t \"#management\":{} \n\t },\n \"required\": [\n \"ArchiveUnitProfile\",\"DescriptionLevel\",\"Title_\"\n ],\n \"definitions\": {\n \"pattern-simple-date\": {\n \"type\": \"string\",\n \"pattern\": \"[0-9]{4}-[0-9]{2}-[0-9]{2}\"\n },\n \"pattern-date\": {\n \"type\": \"string\",\n \"pattern\": \"^([0-8][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))$\"\n }\n },\n \"properties\": {\n \"ArchiveUnitProfile\": {\n \"type\": \"string\",\n \"description\": \"Identifiant du PUA : cardinalité 1\"\n },\n \"DescriptionLevel\": {\n \"type\": \"string\",\n \"description\": \"Niveau de description : cardinalité 1\"\n },\n \"Title\": {\n \"type\": \"object\",\n \"description\": \"Titre de la ressource Create : cardinalité 1-N\"\n }\n }\n}",
"creationDate": "2003-10-01T00:00:00.000",
"deactivationDate": "2017-12-10T00:00:00.000",
"description": "Create PUA Test KDE 1",
"fields": [
"ArchiveUnitProfile",
"DescriptionLevel",
"Title"
],
"identifier": "AUP_Test_Pastis_KDE_Created_1",
"lastUpdate": "2021-11-08T13:57:18.927",
"name": "Create PUA Test KDE Name 1",
"status": "ACTIVE"
}
{
"id": "aegaaaaabafbmai5aa2d2alwatqvahqaaaaq",
"identifier": "AUP-000007",
"name": "AUP default PASTIS",
"description": "Import d'un AUP default pour PASTIS",
"status": "ACTIVE",
"creationDate": "2000-09-01T00:00:00.000",
"lastUpdate": "2020-11-26T14:08:20.987",
"activationDate": "2016-12-10T00:00:00.000",
"deactivationDate": "2016-12-10T00:00:00.000",
"controlSchema": "{\"$schema\":\"http://json-schema.org/draft-04/schema\",\"type\":\"object\",\"additionalProperties\":false,\"required\":[\"ArchiveUnitProfile\",\"DescriptionLevel\",\"Title_\",\"OriginatingAgency\",\"StartDate\",\"EndDate\"],\"definitions\":{\"pattern-simple-date\":{\"type\":\"string\",\"pattern\":\"[0-9]{4}-[0-9]{2}-[0-9]{2}\"},\"pattern-date\":{\"type\":\"string\",\"pattern\":\"^([0-8][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))$\"}},\"properties\":{\"ArchiveUnitProfile\":{\"type\":\"string\",\"description\":\"Identifiant du PUA : cardinalité 1\"},\"#management\":{\"properties\":{\"AppraisalRule\":{\"type\":\"object\",\"description\":\"DUA : cardinalité 1\",\"additionalProperties\":false,\"required\":[\"FinalAction\"],\"properties\":{\"Rules\":{\"items\":{\"properties\":{\"Rule\":{\"type\":\"string\",\"description\":\"Règle issue du référentiel des règles de gestion : cardinalité 1\"},\"StartDate\":{\"type\":\"string\",\"description\":\"Date de début du calcul : cardinalité 1\"}},\"required\":[\"Rule\",\"StartDate\"]}},\"FinalAction\":{\"type\":\"string\",\"description\":\"Sort final : cardinalité 1\"}}},\"AccessRule\":{\"type\":\"object\",\"description\":\"Communicabilité : cardinalité 0-1\",\"additionalProperties\":false,\"properties\":{\"Rules\":{\"items\":{\"properties\":{\"Rule\":{\"type\":\"string\",\"description\":\"Règle issue du référentiel des règles de gestion : cardinalité 1\"},\"StartDate\":{\"type\":\"string\",\"description\":\"Date de début du calcul : cardinalité 1\"}},\"required\":[\"Rule\",\"StartDate\"]}}}}},\"required\":[\"AppraisalRule\"]},\"DescriptionLevel\":{\"type\":\"string\",\"description\":\"Niveau de description : cardinalité 1\",\"enum\":[\"Fonds\",\"Subfonds\",\"Class\",\"Collection\",\"Series\",\"Subseries\",\"RecordGrp\",\"SubGrp\",\"File\",\"Item\",\"OtherLevel\"]},\"Title_\":{\"type\":\"object\",\"description\":\"Titre de la ressource : cardinalité 1-N\"},\"OriginatingSystemId\":{\"type\":\"array\",\"description\":\"Identifiant de la ressource par le SP : cardinalité 0-1\",\"minItems\":0,\"maxItems\":1},\"Description_\":{\"type\":\"object\",\"description\":\"Description : cardinalité 0-n\"},\"Tag\":{\"type\":\"array\",\"description\":\"Tag : cardinalité 0-N\"},\"OriginatingAgency\":{\"type\":\"object\",\"description\":\"Service producteur : cardinalité 1\",\"additionalProperties\":false,\"required\":[\"Identifier\"],\"properties\":{\"Identifier\":{\"type\":\"string\",\"description\":\"Identifiant du SP : cardinalité 1\"}}},\"Writer\":{\"description\":\"Rédacteur de la ressource : cardinalité 0-1\",\"type\":\"array\",\"minItems\":0,\"maxItems\":1,\"additionalProperties\":false,\"required\":[\"FullName\"],\"properties\":{\"FullName\":{\"type\":\"string\",\"description\":\"Nom complet : cardinalité 1\"},\"Function\":{\"type\":\"array\",\"description\":\"Fonction : cardinalité 0-N\"}}},\"CreatedDate\":{\"type\":\"string\",\"description\":\"Date de création : cardinalité 0-1\"},\"StartDate\":{\"type\":\"string\",\"description\":\"Date de début : cardinalité 1\"},\"EndDate\":{\"type\":\"string\",\"description\":\"Date de fin : cardinalité 1\"}}}",
"tenant": 8,
"version": 1,
"fields": [
"ArchiveUnitProfile",
"DescriptionLevel",
"Title"
]
}
{
"id": "aegaaaaabafbmai5aa2d2alwatqvahqaaaaq",
"identifier": "AUP-000007",
"name": "AUP default PASTIS",
"description": "Import d'un AUP default pour PASTIS",
"status": "ACTIVE",
"creationDate": "2000-09-01T00:00:00.000",
"lastUpdate": "2020-11-26T14:08:20.987",
"activationDate": "2016-12-10T00:00:00.000",
"deactivationDate": "2016-12-10T00:00:00.000",
"controlSchema": "{\"$schema\":\"http://json-schema.org/draft-04/schema\",\"type\":\"object\",\"additionalProperties\":false,\"definitions\":{\"pattern-simple-date\":{\"type\":\"string\",\"pattern\":\"[0-9]{4}-[0-9]{2}-[0-9]{2}\"},\"pattern-date\":{\"type\":\"string\",\"pattern\":\"^([0-8][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))$\"}},\"properties\":{\"ArchiveUnitProfile\":{\"type\":\"string\",\"description\":\"DescriptionLevel : cardinalité 0-1 / valeur au choix\"},\"#management\":{\"properties\":{\"AppraisalRule\":{\"type\":\"object\",\"description\":\"Appraisal : cardinalité 0-1 / contient obligatoirement Rule et FinalAction\",\"additionalProperties\":false,\"properties\":{\"Rules\":{\"items\":{\"properties\":{\"Rule\":{\"description\":\"Rule : cardinalité 1\",\"type\":\"string\"},\"StartDate\":{\"description\":\"StartDate : cardinalité 0-1 / valeur date libre\",\"type\":\"string\"}},\"required\":[\"StartDate\"]}},\"FinalAction\":{\"description\":\"FinalAction : cardinalité 1-1 / valeur au choix\",\"type\":\"string\"}}}}},\"DescriptionLevel\":{\"type\":\"string\",\"description\":\"DescriptionLevel : cardinalité 0-1\",\"enum\":[\"Fonds\",\"Subfonds\",\"Class\",\"Collection\",\"Series\",\"Subseries\",\"RecordGrp\",\"SubGrp\",\"File\",\"Item\",\"OtherLevel\"]},\"Title_\":{\"type\":\"object\",\"description\":\"Title : cardinalité 0-N / valeur au choix\"},\"FilePlanPosition\":{\"description\":\"FilePlanPosition : cardinalité 0-N / valeur au choix\",\"type\":\"array\"},\"Tag\":{\"description\":\"Tag : cardinalité 0-N / valeur au choix\",\"type\":\"array\"},\"Keyword\":{\"description\":\"Keyword : cardinalité 0-N / valeur au choix\",\"type\":\"array\",\"minItems\":0,\"maxItems\":1,\"additionalProperties\":false,\"properties\":{\"KeywordContent\":{\"type\":\"string\",\"description\":\"Identifier : cardinalité 1 / valeur au choix\"}}},\"OriginatingAgency\":{\"description\":\"OriginatingAgency : cardinalité 0-1 / valeur au choix\",\"type\":\"object\",\"additionalProperties\":false,\"properties\":{\"Identifier\":{\"description\":\"Identifier : cardinalité 1-1 / valeur au choix\",\"type\":\"string\"}}}}}",
"tenant": 8,
"version": 1,
"fields": [
"ArchiveUnitProfile",
"DescriptionLevel",
"Title"
]
}
{
"id": "aegaaaaabafbmai5aa2d2alwatqvahqaaaaq",
"identifier": "AUP-000007",
"name": "AUP default PASTIS",
"description": "Import d'un AUP default pour PASTIS",
"status": "ACTIVE",
"creationDate": "2000-09-01T00:00:00.000",
"lastUpdate": "2020-11-26T14:08:20.987",
"activationDate": "2016-12-10T00:00:00.000",
"deactivationDate": "2016-12-10T00:00:00.000",
"controlSchema": "{\"$schema\":\"http://json-schema.org/draft-04/schema\",\"type\":\"object\",\"additionalProperties\":false,\"patternProperties\":{\"#management\":{}},\"definitions\":{\"pattern-simple-date\":{\"type\":\"string\",\"pattern\":\"[0-9]{4}-[0-9]{2}-[0-9]{2}\"},\"pattern-date\":{\"type\":\"string\",\"pattern\":\"^([0-8][0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01]))$\"}},\"properties\":{\"ArchiveUnitProfile\":{\"type\":\"string\",\"description\":\"DescriptionLevel : cardinalité 0-1 / valeur au choix\"},\"DescriptionLevel\":{\"type\":\"string\",\"description\":\"DescriptionLevel : cardinalité 0-1\",\"enum\":[\"Fonds\",\"Subfonds\",\"Class\",\"Collection\",\"Series\",\"Subseries\",\"RecordGrp\",\"SubGrp\",\"File\",\"Item\",\"OtherLevel\"]},\"Title_\":{\"type\":\"object\",\"description\":\"Title : cardinalité 0-N / valeur au choix\"},\"FilePlanPosition\":{\"description\":\"FilePlanPosition : cardinalité 0-N / valeur au choix\",\"type\":\"array\"},\"Tag\":{\"description\":\"Tag : cardinalité 0-N / valeur au choix\",\"type\":\"array\"},\"Keyword\":{\"description\":\"Keyword : cardinalité 0-N / valeur au choix\",\"type\":\"array\",