Compare commits
No commits in common. "1.0" and "libraryviacomposer" have entirely different histories.
1.0
...
libraryvia
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/.settings/
|
||||
/.buildpath
|
||||
/.project
|
||||
/vendor/
|
41
application/Bootstrap.php
Normal file
41
application/Bootstrap.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
{
|
||||
protected function _initConfig()
|
||||
{
|
||||
$config = new Zend_Config($this->getOptions());
|
||||
Zend_Registry::set('config', $config);
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
protected function _initDb()
|
||||
{
|
||||
$c = Zend_Registry::get('config');
|
||||
try {
|
||||
$db = Zend_Db::factory($c->profil->db->metier);
|
||||
} catch ( Exception $e ) {
|
||||
echo "Database !\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the default adapter to use with all model
|
||||
*/
|
||||
Zend_Db_Table::setDefaultAdapter($db);
|
||||
}
|
||||
|
||||
protected function _initCache()
|
||||
{
|
||||
if ( APPLICATION_ENV!='development' ) {
|
||||
//MetadataCache pour la base de données
|
||||
$frontendOptions = array(
|
||||
'lifetime' => 14400,
|
||||
'automatic_serialization' => true
|
||||
);
|
||||
$backendOptions = array();
|
||||
$cache = Zend_Cache::factory('Core','Apc', $frontendOptions, $backendOptions);
|
||||
Zend_Db_Table_Abstract::setDefaultMetadataCache($cache);
|
||||
}
|
||||
}
|
||||
}
|
43
application/bin.bootstrap.php
Normal file
43
application/bin.bootstrap.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
// --- Define path to application directory
|
||||
defined('APPLICATION_PATH')
|
||||
|| define('APPLICATION_PATH', realpath(__DIR__ . '/../application'));
|
||||
|
||||
// --- Define application environment
|
||||
defined('APPLICATION_ENV')
|
||||
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
|
||||
|
||||
// --- Composer autoload
|
||||
require_once realpath(__DIR__ . '/../vendor/autoload.php');
|
||||
|
||||
// --- Old configuration
|
||||
require_once APPLICATION_PATH . '/configs/config.php';
|
||||
|
||||
// --- Create application, bootstrap, and run
|
||||
$application = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini');
|
||||
|
||||
$c = new Zend_Config($application->getOptions());
|
||||
Zend_Registry::set('config', $c);
|
||||
|
||||
// Database - Zend Style
|
||||
$db = Zend_Db::factory($c->profil->db->metier);
|
||||
Zend_Db_Table_Abstract::setDefaultAdapter($db);
|
||||
|
||||
// Database - Doctrine Style
|
||||
$config = new \Doctrine\DBAL\Configuration();
|
||||
$connectionParams = array(
|
||||
'dbname' => $c->profil->db->metier->params->dbname,
|
||||
'user' => $c->profil->db->metier->params->username,
|
||||
'password' => $c->profil->db->metier->params->password,
|
||||
'host' => $c->profil->db->metier->params->host,
|
||||
'charset' => 'utf8',
|
||||
'driver' => 'pdo_mysql',
|
||||
);
|
||||
|
||||
try {
|
||||
$conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
|
||||
Zend_Registry::set('doctrine', $conn);
|
||||
} catch (\Doctrine\DBAL\DBALException $e) {
|
||||
echo "Connection Database impossible.\n";
|
||||
exit;
|
||||
}
|
2
application/configs/.gitignore
vendored
Normal file
2
application/configs/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
/application.ini
|
||||
/config.php
|
1
application/configs/README
Normal file
1
application/configs/README
Normal file
@ -0,0 +1 @@
|
||||
application.ini
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,815 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
$b64=file_get_contents('/var/www/batch/part1_1.b64');
|
||||
|
||||
echo base64_decode($b64);
|
||||
die();
|
||||
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'bodacc/classMBodacc.php');
|
||||
include_once(FWK_PATH.'mail/sendMail.php');
|
||||
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Sirenage automatique des annonces Bodacc pas encore sirenées.
|
||||
|
||||
Options :
|
||||
-s Sirenage semi-automatique (Ligne de prompt pour les entreprises non sirenées)
|
||||
-p Sirenage de toutes les annonces sans propositions (en vu du traitement manuel)
|
||||
-a Re-sirenage de toutes les annonces Bodacc non sirenées !
|
||||
-i:XXX Reprise à partir du numéro d'annonce XXX
|
||||
-m Ne pas envoyer l'email d'Information à l'équipe de production
|
||||
-n Ne pas limiter le nombre d'entités à sirener.
|
||||
";
|
||||
$semiManuel=$sansPropo=$toutes=$index=$noLimit=false;
|
||||
$envoyerMail=true;
|
||||
|
||||
$mInsee=new MInsee();
|
||||
$iBodacc=new MBodacc();
|
||||
$iDb2=new WDB('jo');
|
||||
|
||||
$tabCycles=array();
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
if ($_SERVER['argc']==1) $semiManuel=false; // Fonctionnement normal du script, càd : on sirene que en auto
|
||||
else {
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 's':
|
||||
$semiManuel=true;
|
||||
break;
|
||||
case 'm':
|
||||
$envoyerMail=false;
|
||||
break;
|
||||
case 'p':
|
||||
$sansPropo=true;
|
||||
break;
|
||||
case 'a':
|
||||
$toutes=true;
|
||||
break;
|
||||
case 'n':
|
||||
$noLimit=true;
|
||||
break;
|
||||
case 'i':
|
||||
$index=trim(substr($argv[$i],3));
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . " inconnue !\n");
|
||||
break;
|
||||
}
|
||||
} else $tabCycles[]=$argv[$i];
|
||||
}
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT du programme de SIRENAGE...".EOL;
|
||||
|
||||
$pertinence=false;
|
||||
$nbRep=30;
|
||||
$siege=0;
|
||||
|
||||
$tabTables=array(
|
||||
/* array('db'=>'sugarcrm', 'table2'=>'accounts', 'champRS'=>'name',
|
||||
'champAdresse'=>'billing_address_street',
|
||||
'champCP'=>'billing_address_postalcode',
|
||||
'champVille'=>'billing_address_city',
|
||||
'champSiren'=>'ticker_symbol',
|
||||
'champSirenValide'=>'(ticker_symbol<30000 OR ticker_symbol IS NULL)AND deleted')*/
|
||||
array( // Base 0
|
||||
'db'=>'jo',
|
||||
// Table à sirener
|
||||
'table1'=>'bodacc_detail',
|
||||
// Jointure
|
||||
'table2'=>"bodacc_detail b LEFT JOIN bodacc_sirenage s ON s.idAnn = b.id AND s.siren = b.siren AND s.idTable='bodacc_detail'",
|
||||
// Champs
|
||||
'champRS'=>'raisonSociale',
|
||||
'champAdresse'=>"CONCAT_WS(' ', adrNum,adrLibVoie)",
|
||||
'champCP'=>'codePostal',
|
||||
'champVille'=>'ville',
|
||||
'champSiren'=>'b.siren',
|
||||
'champNic'=>'nic',
|
||||
'champSirenValide'=>'sirenValide',
|
||||
'champNicValide'=>'nicValide'),
|
||||
array( // Base 1
|
||||
'db'=>'jo',
|
||||
// Table à sirener
|
||||
'table1'=>'annonces',
|
||||
// Jointure
|
||||
'table2'=>"annonces b LEFT JOIN bodacc_sirenage s ON s.idAnn = b.id AND s.siren = b.siren AND s.idTable='annonces'",
|
||||
// Champs
|
||||
'champRS'=>'raisonSociale',
|
||||
'champAdresse'=>'adresse',
|
||||
'champCP'=>'codePostal',
|
||||
'champVille'=>'ville',
|
||||
'champSiren'=>'b.siren',
|
||||
//'champNic'=>'nic',
|
||||
'champSirenValide'=>'sirenValide'),
|
||||
array( // Base 2
|
||||
'db'=>'jo',
|
||||
// Table à sirener
|
||||
'table1'=>'sirenage_clients',
|
||||
// Jointure
|
||||
'table2'=>"sirenage_clients b LEFT JOIN bodacc_sirenage s ON s.idAnn = b.id AND s.siren = b.siren AND s.idTable='sirenage_clients'",
|
||||
// Champs
|
||||
'champRS'=>'nom',
|
||||
'champAdresse'=>"TRIM(CONCAT_WS(' ', adresse1,adresse2,adresse3))",
|
||||
'champCP'=>'cp',
|
||||
'champVille'=>'ville',
|
||||
'champSiren'=>'b.siren',
|
||||
'champNic'=>'b.nic',
|
||||
'champSirenValide'=>'sirenValide',
|
||||
'champNicValide'=>'nicValide'),
|
||||
array( // Base 3
|
||||
'db'=>'jo',
|
||||
// Table à sirener
|
||||
'table1'=>'asso',
|
||||
// Jointure
|
||||
'table2'=>"asso b LEFT JOIN bodacc_sirenage s ON s.idAnn = b.id AND s.siren = b.siren AND s.idTable='asso'",
|
||||
// Champs
|
||||
'champRS'=>'Assoc_Nom',
|
||||
'champAdresse'=>'Assoc_Adresse',
|
||||
'champCP'=>'NULL',
|
||||
'champVille'=>'NULL',
|
||||
'champSiren'=>'b.siren',
|
||||
'champNic'=>'nic',
|
||||
'champSirenValide'=>'sirenValide',
|
||||
'champNicValide'=>'nicValide'),
|
||||
array( // Base 4
|
||||
'db'=>'jo',
|
||||
// Table à sirener
|
||||
'table1'=>'rncs_dirigeants',
|
||||
// Jointure
|
||||
'table2'=>"rncs_dirigeants b LEFT JOIN bodacc_sirenage s ON s.idAnn=b.id AND s.siren=b.dirSiren AND s.idTable='rncs_dirigeants'",
|
||||
// Champs
|
||||
'champRS'=>'dirRS',
|
||||
'champAdresse'=>'NULL',
|
||||
'champCP'=>'NULL',
|
||||
'champVille'=>'NULL',
|
||||
'champSiren'=>'b.dirSiren',
|
||||
//'champNic'=>'nic',
|
||||
'champSirenValide'=>"b.typeDir='PM' AND b.dirSiren",
|
||||
//'champNicValide'=>'nicValide',
|
||||
),
|
||||
array( // Base 5
|
||||
'db'=>'jo',
|
||||
// Table à sirener
|
||||
'table1'=>'boamp_lots',
|
||||
// Jointure
|
||||
'table2'=>"boamp_lots b LEFT JOIN bodacc_sirenage s ON s.idAnn=b.id AND s.siren=b.siren AND s.idTable='boamp_lots'",
|
||||
// Champs
|
||||
'champRS'=>'nom',
|
||||
'champAdresse'=>'adresse',
|
||||
'champCP'=>'cp',
|
||||
'champVille'=>'ville',
|
||||
'champSiren'=>'b.siren',
|
||||
//'champNic'=>'b.nic',
|
||||
'champSirenValide'=>"(Boamp_Code='BOMP C' OR Boamp_Rubrique IN('9','94')) AND sansSuite=0 AND (nom<>'' OR adresse<>'' OR cp<>'' OR ville<>'') AND nom NOT LIKE '%INFRUCTUEU%' AND b.sirenValide",
|
||||
//'champNicValide'=>'nicValide',
|
||||
),
|
||||
array( // Base 6
|
||||
'db'=>'jo',
|
||||
// Table à sirener
|
||||
'table1'=>'boamp_detail',
|
||||
// Jointure
|
||||
'table2'=>"boamp_detail b LEFT JOIN bodacc_sirenage s ON s.idAnn=b.id AND s.siren=b.siren AND s.idTable='boamp_detail'",
|
||||
// Champs
|
||||
'champRS'=>'raisonSociale',
|
||||
'champAdresse'=>'adresse',
|
||||
'champCP'=>'cp',
|
||||
'champVille'=>'ville',
|
||||
'champSiren'=>'b.siren',
|
||||
//'champNic'=>'b.nic',
|
||||
'champSirenValide'=>"(raisonSociale<>'' OR adresse<>'' OR cp<>'' OR ville<>'') AND b.sirenValide",
|
||||
//'champNicValide'=>'nicValide',
|
||||
),
|
||||
array( // Base 7
|
||||
'db'=>'jo',
|
||||
// Table à sirener
|
||||
'table1'=>'tourisme',
|
||||
// Jointure
|
||||
'table2'=>"tourisme b LEFT JOIN bodacc_sirenage s ON s.idAnn=b.id AND s.siren=b.siren AND s.idTable='tourisme'",
|
||||
// Champs
|
||||
'champRS'=>'nom',
|
||||
'champAdresse'=>'adresse',
|
||||
'champCP'=>'adrCp',
|
||||
'champVille'=>'adrVille',
|
||||
'champSiren'=>'b.siren',
|
||||
'champNic'=>'b.nic',
|
||||
'champSirenValide'=>"b.sirenValide",
|
||||
'champNicValide'=>'b.nicValide',
|
||||
),
|
||||
array( // Base 8
|
||||
'db'=>'sdv1',
|
||||
// Table à sirener
|
||||
'table1'=>'fedLiens',
|
||||
// Jointure
|
||||
'table2'=>"fedLiens b LEFT JOIN bodacc_sirenage s ON s.idAnn=b.id AND s.siren=b.siren2 AND s.idTable='fedLiens'",
|
||||
// Champs
|
||||
'champRS'=>'RS',
|
||||
'champAdresse'=>'adresse_libvoie',
|
||||
'champCP'=>'adresse_cp',
|
||||
'champVille'=>'adresse_ville',
|
||||
'champSiren'=>'b.siren2',
|
||||
//'champNic'=>'nic',
|
||||
'champSirenValide'=>"b.PpPm='PM' AND b.siren2",
|
||||
//'champNicValide'=>'nicValide',
|
||||
),
|
||||
array( // Base 9
|
||||
'db'=>'bopi',
|
||||
// Table à sirener
|
||||
'table1'=>'marques',
|
||||
// Jointure
|
||||
'table2'=>"bopi.marques b LEFT JOIN jo.bodacc_sirenage s ON s.idAnn=b.id AND s.siren=b.sirenDeposant AND s.idTable='marques'",
|
||||
// Champs
|
||||
'champRS'=>'deposantMarque',
|
||||
'champAdresse'=>"CONCAT_WS(' ',deposant_AdrNum,deposant_AdrTypVoie,deposant_AdrLibVoie,deposant_AdrComp)",
|
||||
'champCP'=>'deposant_AdrCP',
|
||||
'champVille'=>'deposant_AdrVille',
|
||||
'champSiren'=>'b.sirenDeposant',
|
||||
//'champNic'=>'nic',
|
||||
'champSirenValide'=>"b.sirenValide",
|
||||
//'champNicValide'=>'nicValide',
|
||||
),/*
|
||||
array( // Base 10 - Ce siren tout le temp !!!
|
||||
'db'=>'sdv1',
|
||||
// Table à sirener
|
||||
'table1'=>'tabCNCC',
|
||||
// Jointure
|
||||
'table2'=>"sdv1.tabCNCC b LEFT JOIN jo.bodacc_sirenage s ON s.idAnn=b.id AND s.siren=b.siren AND s.idTable='tabCNCC'",
|
||||
// Champs
|
||||
'champRS'=>'nom',
|
||||
'champAdresse'=>"CONCAT_WS(' ',adresse,adresse2)",
|
||||
'champCP'=>'cp',
|
||||
'champVille'=>'ville',
|
||||
'champSiren'=>'b.siren',
|
||||
'champNic'=>'nic',
|
||||
'champSirenValide'=>"sirenValide",
|
||||
'champNicValide'=>'nicValide',
|
||||
), */
|
||||
);
|
||||
|
||||
//$iDb2=new WDB('modelisation');
|
||||
foreach ($tabTables as $i=>$table) { // On boucle sur chaque table
|
||||
if (count($tabCycles)>0 && !in_array($i, $tabCycles)) continue;
|
||||
|
||||
$iDb=new WDB($table['db']);
|
||||
$tableDB=$table['table2'];
|
||||
if ($iDb === false) die('Could not select database: ' . $iDb->getLastError());
|
||||
if (!$sansPropo) $strOptions=" AND s.idAnn IS NULL AND s.siren IS NULL ";
|
||||
else $strOptions="";
|
||||
//if ($toutes) { $tableDB=$table['table1'].' b'; $strOptions=''; }
|
||||
if ($index) $strOptions.=' AND b.id>='.$index;
|
||||
//if ($index) $strOptions.=' AND id>='.$index;
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champRS'].' as RS, nomCommercial, enseigne, sigle, adrNum, adrSiegeNum, '.$table['champAdresse'].' as Adr, CONCAT_WS(adrNum," ",adrLibVoie) as AdrSiege, '.$table['champCP'].' as CP, '.$table['champVille'].' as ville, codePostalSiege, villeSiege, Rubrique_Bodacc, Bodacc_Num, Bodacc_Date_Parution, Num_Annonce, Tribunal_Code, dateJugement, DATE_FORMAT(dateJugement, \'%w\') as jourJugement, DATE_FORMAT(dateJugement, \'%d\') as jjJugement';
|
||||
//if ($i==0)
|
||||
// $strOptions.=" OR b.typeEven LIKE '%1515%' ";//OR b.typeEven LIKE '%1517%' OR b.typeEven LIKE '%1520%' OR b.typeEven LIKE '%1999%'
|
||||
// codeEven==1515 || $codeEven==1517 || $codeEven==1520 ||$codeEven==1999))
|
||||
if ($i==1)
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champRS'].' as RS, '.$table['champAdresse'].' as Adr, '.$table['champCP'].' as CP, '.$table['champVille'].' as ville,
|
||||
"" AS Rubrique_Bodacc, parutionNum AS Bodacc_Num, dateSource AS Bodacc_Date_Parution, idAnnonce AS Num_Annonce, tribunal AS Tribunal_Code,
|
||||
dateJugement, DATE_FORMAT(dateJugement, \'%w\') as jourJugement, DATE_FORMAT(dateJugement, \'%d\') as jjJugement';
|
||||
elseif ($i==2)
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champNic'].' as nic, '.$table['champRS'].' as RS, enseigne, '.$table['champAdresse'].' as Adr, '.$table['champCP'].' as CP, '.$table['champVille'].' as ville,
|
||||
telephone, "" AS Rubrique_Bodacc, "" AS Bodacc_Num, "" AS Bodacc_Date_Parution, "" AS Num_Annonce, "" AS Tribunal_Code,
|
||||
"" AS dateJugement, "" as jourJugement, "" as jjJugement';
|
||||
elseif ($i==3) {
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champRS'].' as RS, "" AS enseigne, '.$table['champAdresse'].' as Adr, '.$table['champCP'].' as CP, '.$table['champVille'].' as ville,
|
||||
Type_Annonce AS Rubrique_Bodacc, Num_Parution AS Bodacc_Num, Date_Parution AS Bodacc_Date_Parution, Num_Annonce, Sous_Prefecture AS Tribunal_Code,
|
||||
Assoc_Date_Declaration2 AS dateJugement, "" as jourJugement, "" as jjJugement';
|
||||
$strOptions.="";
|
||||
}
|
||||
elseif ($i==4)
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champRS'].' as RS, "" AS enseigne, "" as Adr, "" as CP, "" as ville, "" AS Rubrique_Bodacc, "" AS Bodacc_Num, flux AS Bodacc_Date_Parution, 0 AS Num_Annonce, "" AS Tribunal_Code,
|
||||
"" AS dateJugement, "" as jourJugement, "" as jjJugement';
|
||||
elseif ($i==5)
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champRS'].' as RS, '.$table['champAdresse'].' as Adr, '.$table['champCP'].' as CP, '.$table['champVille'].' as ville, Boamp_Rubrique AS Rubrique_Bodacc, "" AS Bodacc_Num, Boamp_Date_Parution AS Bodacc_Date_Parution, s.idAnn AS Num_Annonce, "" AS Tribunal_Code,
|
||||
"" AS dateJugement, "" as jourJugement, "" as jjJugement';
|
||||
elseif ($i==6)
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champRS'].' as RS, '.$table['champAdresse'].' as Adr, '.$table['champCP'].' as CP, '.$table['champVille'].' as ville, Boamp_Rubrique AS Rubrique_Bodacc, "" AS Bodacc_Num, Boamp_Date_Parution AS Bodacc_Date_Parution, s.idAnn AS Num_Annonce, "" AS Tribunal_Code,
|
||||
"" AS dateJugement, "" as jourJugement, "" as jjJugement';
|
||||
elseif ($i==7) {
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champRS'].' as RS, '.$table['champAdresse'].' as Adr, '.$table['champCP'].' as CP, '.$table['champVille'].' as ville, typeClasse AS Rubrique_Bodacc, "" AS Bodacc_Num, b.dateInsert AS Bodacc_Date_Parution, s.idAnn AS Num_Annonce, "" AS Tribunal_Code,
|
||||
"" AS dateJugement, "" as jourJugement, "" as jjJugement';
|
||||
} elseif ($i==9) {
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champRS'].' as RS, '.$table['champAdresse'].' as Adr, '.$table['champCP'].' as CP, '.$table['champVille'].' as ville, "" AS Rubrique_Bodacc, "" AS Bodacc_Num, b.dateInsert AS Bodacc_Date_Parution, s.idAnn AS Num_Annonce, "" AS Tribunal_Code,
|
||||
"" AS dateJugement, "" as jourJugement, "" as jjJugement';
|
||||
} elseif ($i==10) {
|
||||
$fields='id, '.$table['champSiren'].' as sir, '.$table['champRS'].' as RS, '.$table['champAdresse'].' as Adr, '.$table['champCP'].' as CP, '.$table['champVille'].' as ville, "" AS Rubrique_Bodacc, "" AS Bodacc_Num, b.dateInsert AS Bodacc_Date_Parution, s.idAnn AS Num_Annonce, "" AS Tribunal_Code,
|
||||
"" AS dateJugement, "" as jourJugement, "" as jjJugement';
|
||||
$strOptions=" AND cp IS NOT NULL ";
|
||||
}
|
||||
|
||||
$where=$table['champSirenValide']."=0 ";
|
||||
if ($i<>2 && $i<>4 && $i<>7 && $i<>9 && $i<>10) {
|
||||
$where.=" AND idSuppr=0";
|
||||
}
|
||||
|
||||
if ($noLimit)
|
||||
$strOptions.=" ORDER BY id DESC";
|
||||
else
|
||||
$strOptions.=" /*AND id>768245*/ ORDER BY id ASC LIMIT 0,5000";
|
||||
|
||||
$where.=" $strOptions ";
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - REQUETE SQL = SELECT $fields FROM $tableDB WHERE $where;".EOL;
|
||||
|
||||
//$listeNonSirene=$iDb->select($tableDB, $fields, $where, true, MYSQL_ASSOC);
|
||||
$nbNonSirene=$iDb->select($tableDB, $fields, $where, true, MYSQL_ASSOC, true);
|
||||
|
||||
//echo date('Y/m/d - H:i:s') ." - Nombre d'entitées non SIRENEES : ". count($listeNonSirene) . EOL;
|
||||
echo date('Y/m/d - H:i:s') ." - Nombre d'entitées non SIRENEES : ".$nbNonSirene . EOL;
|
||||
$k=0;
|
||||
|
||||
//foreach ($listeNonSirene as $k=>$entrep) {
|
||||
while($entrep=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
$lastId=$entrep['id'];
|
||||
// $listeNonSirene as $k=>$entrep) {
|
||||
$k++;
|
||||
//if ($k==1000) die();
|
||||
/* Vérifier dans la table failure
|
||||
if (substr($entrep['Rubrique_Bodacc'],0,1)=='A') $codJournal='001';
|
||||
else $codJournal='200';
|
||||
$failures=$iDb2->select('failures', 'SIREN, NIC, libann, codevt, codtri, SONOM, SOCOM', "codjou='$codJournal' AND datpar='".str_replace('-','',$entrep['Bodacc_Date_Parution'])."' AND numbod='".$entrep['Bodacc_Num']."' AND numannjou='0".$entrep['Num_Annonce']."' AND SIREN NOT LIKE '000000000' GROUP BY SIREN", true);
|
||||
if (count($failures)==2) {
|
||||
/** Si plus de 1 siren, il faut vérifier suivant le type de l'annonce à quelle entreprise rattacher le siren manquant
|
||||
$tabSirF=array();
|
||||
foreach ($failures as $sirenf)
|
||||
$tabSirF[]=$sirenf['SIREN'];
|
||||
$strTabSir=implode(',',$tabSir);
|
||||
$tabTmp=$iDb->select('bodacc_detail','id, siren, sirenValide', 'id='. $entrep['id'].' ORDER BY sirenValide ASC', true);// ." AND siren NOT IN ($strTabSir)", true);
|
||||
$tabSir=array();
|
||||
foreach ($tabTmp as $sirenf)
|
||||
$tabSir[]=$sirenf['siren'];
|
||||
/*echo "Failures:\n";
|
||||
print_r($failures);
|
||||
echo "S&D:\n";
|
||||
print_r($tabTmp);
|
||||
echo "Diff:\n";
|
||||
$tabTmp2=array_diff($tabSirF,$tabSir);
|
||||
$siren=$tabTmp2[0]; // Valeur du Siren à prendre pour la mise à jour
|
||||
$sir=$tabTmp[0]['siren']; // Sir à mettre à jour
|
||||
//$nom=$entrep['SONOM'];
|
||||
//$vil=$entrep['SOCOM'];
|
||||
echo "Trouvé = $siren !\n";
|
||||
$iDb->update('bodacc_detail', array('siren'=>$siren, $table['champSirenValide']=>2), 'id='.$entrep['id'].' AND siren='.$sir, true) or die($iDb->getLastError());
|
||||
//die();
|
||||
// On efface l'information de la table A sirener au cas où !
|
||||
$iDb->delete('bodacc_sirenage', 'idAnn='.$entrep['id'].' AND siren='.$sir);
|
||||
} elseif (count($failures)==1) {
|
||||
echo "Une seule correspondance failures:\n";
|
||||
print_r($failures);
|
||||
$siren=$failures[0]['SIREN']; // Valeur du Siren à prendre pour la mise à jour
|
||||
//$sir=$tabTmp[0]['siren']; // Sir à mettre à jour
|
||||
$iDb->update('bodacc_detail', array('siren'=>$siren, $table['champSirenValide']=>2), 'id='.$entrep['id'].' AND siren='.$entrep['sir'], true);// or die($iDb->getLastError());
|
||||
// On efface l'information de la table A sirener au cas où !
|
||||
$iDb->delete('bodacc_sirenage', 'idAnn='.$entrep['id'].' AND siren='.$entrep['sir']);
|
||||
//die();
|
||||
/*} elseif (count($failures)>2) {
|
||||
echo "Plus de 2 correspondance failures:\n";
|
||||
print_r($failures);
|
||||
die();
|
||||
} else { // Pas trouvé dans failures
|
||||
**/
|
||||
$raisonSociale=preg_replace("/,(.*)\)/",'',$entrep['RS']);
|
||||
if ($i==5 || $i==6)
|
||||
$raisonSociale=trim(preg_replace("/ +/",' ', strtr(' '.$raisonSociale.' ',array(' VILLE '=>' COMMUNE ',
|
||||
' CONSEIL GENERAL '=>' DEPARTEMENT ',
|
||||
))));
|
||||
/* $raisonSociale=strtoupper(strtr($raisonSociale, '/(),-\\\'":',' '));
|
||||
$raisonSociale=preg_replace('/[^0-9A-Z]/', ' ', strtr($raisonSociale, 'àáâãäåæçèéêëìíîïðñòóôõöùúûüýÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝ?', 'aaaaaaaceeeeiiiionooooouuuuyyAAAAAAACEEEEIIIIONOOOOOUUUUYY'));
|
||||
$raisonSociale=preg_replace("/GERANT (.*)/",'', $raisonSociale);
|
||||
$raisonSociale=preg_replace("/^(MLLE |MELLE |MLE |MME |ME |M |MR )/",'', $raisonSociale);
|
||||
$raisonSociale=trim(preg_replace("/ +/",' ', strtr(' '.$raisonSociale.' ',
|
||||
array(' NEE '=>' ', ' DIVORCEE '=>' ', ' DENOMINATION '=>' ',' D NOMINATION '=>' ', ' NOM D USAGE '=>' ', ' ASSOCIATION '=>' ',' CLUB '=>' ', ' SUCCESSION '=>' ', ' CONJOINT '=>' ', ' COLLABORATEUR '=>' ', ' VEUVE '=>' ', // FEU
|
||||
' S E L A R L '=>' ', ' S A R L '=>' ', ' S A S '=>' ', ' S A '=>' ', ' S C I '=>' ', ' S N C '=>' ', ' S C P '=>' ', ' S C E A '=>' ', ' S C A '=>' ', ' E U R L '=>' ', ' E A R L '=>' ', ' E A R '=>' ', ' E A '=>' ', ' S C '=>' ',
|
||||
' SELARL '=>' ', ' SARL '=>' ', ' SAS '=>' ', ' SA '=>' ', ' SCI '=>' ', ' SNC '=>' ', ' SCP '=>' ', ' SCEA '=>' ', ' SCA '=>' ', ' EURL '=>' ',
|
||||
' EARL '=>' ', ' EAR '=>' ', ' EA '=>' ',' SC '=>' ',
|
||||
' DE '=>' ',' ET '=>' ',' LA '=>' ',' DU '=>'', ' DES '=>' ', ' L '=>' ', ' SOCIETE '=>' ', ' MONSIEUR '=>' ', ' MADAME '=>' ', ' STE '=>' ', ' CIVILE '=>' ', ' IMMOBILIERE '=>' ',' LIQUIDATION '=>' ', ' DISSOLUTION '=>' ',
|
||||
))));*/
|
||||
if ($entrep['CP']<>0) {
|
||||
$adresse=preg_replace('/[^0-9A-Z]/', ' ', strtr($entrep['Adr'], 'àáâãäåæçèéêëìíîïðñòóôõöùúûüýÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝ?', 'aaaaaaaceeeeiiiionooooouuuuyyAAAAAAACEEEEIIIIONOOOOOUUUUYY'));
|
||||
$adresse=trim(preg_replace("/ +/",' ', strtr(' '.$adresse.' ',
|
||||
array(' DE '=>' ',' LA '=>' ',' L '=>' ',' BIS '=>' ', ' DU '=>'', ' DES '=>' ',' LES '=>' ', ' A '=>' '))));
|
||||
|
||||
$codePostal=$entrep['CP'];
|
||||
$ville=trim(strtr($entrep['ville'], '/(),',' '));
|
||||
} else {
|
||||
$adresse=preg_replace('/[^0-9A-Z]/', ' ', strtr($entrep['AdrSiege'], 'àáâãäåæçèéêëìíîïðñòóôõöùúûüýÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝ?', 'aaaaaaaceeeeiiiionooooouuuuyyAAAAAAACEEEEIIIIONOOOOOUUUUYY'));
|
||||
$adresse=trim(preg_replace("/ +/",' ', strtr(' '.$adresse.' ',
|
||||
array(' DE '=>' ',' LA '=>' ',' L '=>' ',' BIS '=>' ', ' DU '=>'', ' DES '=>' ',' LES '=>' ', ' A '=>' '))));
|
||||
|
||||
$codePostal=$entrep['codePostalSiege'];
|
||||
$ville=trim(strtr($entrep['villeSiege'], '/(),',' '));
|
||||
}
|
||||
|
||||
if ($i==3) {
|
||||
$strAdresse=$entrep['Adr'];
|
||||
$tabAdresse=$mInsee->structureVoie($entrep['Adr']);
|
||||
$adresse=trim(preg_replace("/ +/",' ', strtr(' '.$tabAdresse['libVoie'].' '.$tabAdresse['adrComp0'].' ',
|
||||
array(' DE '=>' ',' LA '=>' ',' L '=>' ',' BIS '=>' ', ' DU '=>'', ' DES '=>' ',' LES '=>' ', ' A '=>' '))));
|
||||
|
||||
$codePostal=$tabAdresse['cp'];
|
||||
$ville=$tabAdresse['ville'];
|
||||
// print_r($tabAdresse);
|
||||
// die();
|
||||
}
|
||||
|
||||
if ($i==2 && $entrep['sir']>1000 && $entrep['nic']>9) {
|
||||
$sirC=$entrep['sir'];
|
||||
$nicC=$entrep['nic'];
|
||||
|
||||
$tabTmp=$mInsee->getIdentiteLight($sirC, $nicC);
|
||||
//print_r($tabTmp);
|
||||
// Entreprise recherchée !
|
||||
$raisonSociale=strtoupper($entrep['RS']);
|
||||
$adresse=strtoupper($entrep['Adr']);
|
||||
$codePostal=strtoupper($entrep['CP']);
|
||||
$ville=strtoupper($entrep['ville']);
|
||||
$telephone=strtr(@$entrep['telephone'],array('.'=>'',','=>'',';'=>'','-'=>'','/'=>'','+33'=>'','0033'=>'','('=>'',')'=>'',' '=>''));
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : RECHERCHE cli : $sirC $nicC - $raisonSociale, $adresse, $codePostal $ville ($telephone)".EOL;
|
||||
// Entreprise lue (trouvée)
|
||||
$raisonSocialeLu=strtoupper($tabTmp['Nom']);
|
||||
$adresseLu=strtoupper($tabTmp['Adresse']);
|
||||
$codePostalLu=$tabTmp['CP'];
|
||||
$villeLu=strtoupper($tabTmp['Ville']);
|
||||
$sirL=$tabTmp['Siren'];
|
||||
$nicL=$tabTmp['Nic'];
|
||||
$telephoneLu=$tabTmp['Tel'];
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : TROUVEE cli : $sirL $nicL - $raisonSocialeLu, $adresseLu, $codePostalLu $villeLu ($telephoneLu)".EOL;
|
||||
|
||||
$len=strlen($raisonSociale.$adresse.$codePostal.$ville);
|
||||
$lenLu=strlen($raisonSocialeLu.$adresseLu.$codePostalLu.$villeLu);
|
||||
$levRS=levenshtein($raisonSociale,$raisonSocialeLu);
|
||||
$levAdr=levenshtein($adresse,$adresseLu);
|
||||
$levCP=levenshtein($codePostal,$codePostalLu);
|
||||
$levVille=levenshtein($ville,$villeLu);
|
||||
$levTotal=$levRS+$levAdr+$levCP+$levVille;
|
||||
$len1=($lenLu+$len)/2;
|
||||
$ratio1=$levTotal/$len1*1.0;
|
||||
$ratio2=$len1/$levTotal;
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : 1 seule possibilité $levTotal, $len1 => $ratio1, $ratio2 : ";
|
||||
if ($ratio1<0.4 && $table['table1']=='sirenage_clients') {
|
||||
$tabUpdate=array( 'siren'=>$sirL,
|
||||
'nic'=>$nicL);
|
||||
$tabUpdate[$table['champSirenValide']]=1;
|
||||
$tabUpdate[$table['champNicValide']]=1;
|
||||
|
||||
$iDb->update($table['table1'], $tabUpdate,
|
||||
"id='".$entrep['id']."'", false, 0, true) or die('ERREUR 1'.$iDb->getLastError().EOL);
|
||||
echo 'VALIDE'.EOL;
|
||||
continue;
|
||||
}
|
||||
echo 'non validé'.EOL;
|
||||
|
||||
if ($telephone<>'') {
|
||||
$tabTmp=$mInsee->getEtablissementsParId('TEL', $telephone, $deb, $nbRep, $maxRep);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
if ($tabTmp[nbReponses]>0) {
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : 1 seule possibilité TELEPHONE => $ratio1, $ratio2 : ";
|
||||
if ($tabTmp[nbReponses]==1 && $tabTrouve[0]['Siren']==$sirC) {
|
||||
$tabTrouv=$tabTrouve[0];
|
||||
$tabUpdate=array( 'siren'=>$sirC,
|
||||
/*'nic'=>$nicL*/);
|
||||
$tabUpdate[$table['champSirenValide']]=1;
|
||||
$tabUpdate[$table['champNicValide']]=1;
|
||||
|
||||
$iDb->update($table['table1'], $tabUpdate,
|
||||
"id='".$entrep['id']."'", false, 0, true) or die('ERREUR 1'.$iDb->getLastError().EOL);
|
||||
echo 'VALIDE'.EOL;
|
||||
continue;
|
||||
}
|
||||
echo 'non validé'.EOL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$deb=0;$nbRep=20;$maxRep=20;$actif='';
|
||||
|
||||
$tabTmp=$mInsee->rechercheEtab($raisonSociale, $adresse, $codePostal, $ville, $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
/** On recherche au nom Commercial **/
|
||||
/* if (count($tabTrouve)==0 && trim($entrep['nomCommercial'])<>'') {
|
||||
$tabTmp=$mInsee->rechercheEtab($entrep['nomCommercial'], $adresse, $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
|
||||
/** On recherche à l'enseigne **/
|
||||
/* if (count($tabTrouve)==0 && trim($entrep['enseigne'])<>'') {
|
||||
$tabTmp=$mInsee->rechercheEtab($entrep['enseigne'], $adresse, $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
|
||||
/** On recherche au sigle **/
|
||||
/* if (count($tabTrouve)==0 && trim($entrep['sigle'])<>'') {
|
||||
$tabTmp=$mInsee->rechercheEtab($entrep['sigle'], $adresse, $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
|
||||
/** On présume que le code postal n'est pas bon **/
|
||||
/* if (count($tabTrouve)==0) {
|
||||
$tabTmp=$mInsee->rechercheEtab($raisonSociale, $adresse, '', $ville, $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
// et nom Commercial
|
||||
if (count($tabTrouve)==0 && trim($entrep['nomCommercial'])<>'') {
|
||||
$tabTmp=$mInsee->rechercheEtab($entrep['nomCommercial'], $adresse, '', $ville, $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
// et à l'enseigne
|
||||
if (count($tabTrouve)==0 && trim($entrep['enseigne'])<>'') {
|
||||
$tabTmp=$mInsee->rechercheEtab($entrep['enseigne'], $adresse, '', $ville, $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
// et au sigle
|
||||
if (count($tabTrouve)==0 && trim($entrep['sigle'])<>'') {
|
||||
$tabTmp=$mInsee->rechercheEtab($entrep['sigle'], $adresse, '', $ville, $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
|
||||
/**
|
||||
** On présume que le numéro dans la rue est faux
|
||||
**/
|
||||
/* if (count($tabTrouve)==0) {
|
||||
$tabTmp=$mInsee->rechercheEtab($raisonSociale, trim(strtoupper(preg_replace("/[0-9]{1,4} /i",' ',strtr($adresse, '/(),-',' ')))), $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
// et nom Commercial
|
||||
if (count($tabTrouve)==0 && trim($entrep['nomCommercial'])<>'') {
|
||||
$tabTmp=$mInsee->rechercheEtab($entrep['nomCommercial'], trim(strtoupper(preg_replace("/[0-9]{1,4} /i",' ',strtr($adresse, '/(),-',' ')))), $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
// et à l'enseigne
|
||||
if (count($tabTrouve)==0 && trim($entrep['enseigne'])<>'') {
|
||||
$tabTmp=$mInsee->rechercheEtab($entrep['enseigne'], trim(strtoupper(preg_replace("/[0-9]{1,4} /i",' ',strtr($adresse, '/(),-',' ')))), $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
// et au sigle
|
||||
if (count($tabTrouve)==0 && trim($entrep['sigle'])<>'') {
|
||||
$tabTmp=$mInsee->rechercheEtab($entrep['sigle'], trim(strtoupper(preg_replace("/[0-9]{1,4} /i",' ',strtr($adresse, '/(),-',' ')))), $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
|
||||
// Recherche par le dernier mot de la RS
|
||||
if (count($tabTrouve)==0) {
|
||||
$tabMot=explode(' ', $raisonSociale);
|
||||
$rsFin=end($tabMot);
|
||||
$rsDeb=end($tabMot);
|
||||
if (strlen($motFin)>3)
|
||||
$tabTmp=$mInsee->rechercheEtab($rsFin, trim(strtoupper(preg_replace("/[0-9]{1,4} /i",' ',strtr($adresse, '/(),-',' ')))), $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
elseif (strlen($motDeb)>3)
|
||||
$tabTmp=$mInsee->rechercheEtab($rsDeb, trim(strtoupper(preg_replace("/[0-9]{1,4} /i",' ',strtr($adresse, '/(),-',' ')))), $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
|
||||
if (count($tabTrouve)==0) {
|
||||
$tabMot=explode(' ', trim(strtoupper(preg_replace("/[0-9]{1,4} /i",' ',strtr($adresse, '/(),-',' ')))));
|
||||
$adrFin=end($tabMot);
|
||||
if (strlen($adrFin)>3) {
|
||||
$tabTmp=$mInsee->rechercheEtab($rsFin, $adrFin, $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
}
|
||||
|
||||
if (count($tabTrouve)==0) {
|
||||
$tabMot=explode(' ', $ville);
|
||||
$vilFin=end($tabMot);
|
||||
if (strlen($vilFin)>3) {
|
||||
$tabTmp=$mInsee->rechercheEtab($rsFin, $adrFin, '', $vilFin, $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Si l'adresse est "exhaustive", on cherche sans la raison sociale **/
|
||||
/* if (count($tabTrouve)==0 && ($entrep['adrNum']<>0 || $entrep['adrSiegeNum']<>0)) {
|
||||
$tabTmp=$mInsee->rechercheEtab('', $adresse, $codePostal, '', $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
/** Si l'adresse est "exhaustive", on cherche sans la raison sociale **/
|
||||
/* if (count($tabTrouve)==0 && ($entrep['adrNum']<>0 || $entrep['adrSiegeNum']<>0)) {
|
||||
$tabTmp=$mInsee->rechercheEtab('', $adresse, '', $ville, $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, true);
|
||||
$tabTrouve=$tabTmp['reponses'];
|
||||
}
|
||||
*/
|
||||
//$adresse=trim(strtoupper(preg_replace("/[0-9]{1,4}( rue | avenue | boulevard )/i",'',strtr($entrep['Adr'], '/(),-',' '))));
|
||||
//$ville=trim(strtr($entrep['Ville'], '/(),',' '));
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : RECHERCHE DE ". $entrep['id'].', '.$entrep['sir'].' : '.$raisonSociale.', '.$adresse.', '.$codePostal.' '.$ville.' ('.count($tabTrouve). " réponses)".EOL;
|
||||
|
||||
$tabAnn=$iDb2->select('bodacc', 'annonce', 'id='.$entrep['id']);
|
||||
$annonce=$tabAnn[0][0];
|
||||
//die($annonce);
|
||||
|
||||
if ($i==3) {
|
||||
$tabTrouve2=array();
|
||||
if (is_array($tabTrouve) && count($tabTrouve)>0)
|
||||
foreach ($tabTrouve as $iT=>$tabTrouveT)
|
||||
if ($tabTrouveT['FJ']>=9100 && $tabTrouveT['FJ']<=9300 &&
|
||||
$tabTrouveT['Siret']>=1000) $tabTrouve2[]=$tabTrouveT;
|
||||
$tabTrouve=$tabTrouve2;
|
||||
}
|
||||
|
||||
if (count($tabTrouve)==1) {
|
||||
$entrepT=$tabTrouve[0];
|
||||
$siren=substr($entrepT['Siret'],0,9);
|
||||
$nic=substr($entrepT['Siret'],9,5);
|
||||
// Entreprise recherchée !
|
||||
$raisonSociale=strtoupper($entrep['RS']);
|
||||
$adresse=strtoupper($entrep['Adr']);
|
||||
$codePostal=strtoupper($entrep['CP']);
|
||||
$ville=strtoupper($entrep['ville']);
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : RECHERCHE : $raisonSociale, $adresse, $codePostal $ville".EOL;
|
||||
// Entreprise lue (trouvée)
|
||||
$raisonSocialeLu=strtoupper($entrepT['Nom']);
|
||||
$adresseLu=strtoupper($entrepT['Adresse']);
|
||||
$codePostalLu=$entrepT['CP'];
|
||||
$villeLu=strtoupper($entrepT['Ville']);
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : TROUVEE : $raisonSocialeLu, $adresseLu, $codePostalLu $villeLu".EOL;
|
||||
//die(print_r($entrep));
|
||||
$len=strlen($raisonSociale.$adresse.$codePostal.$ville);
|
||||
$lenLu=strlen($raisonSocialeLu.$adresseLu.$codePostalLu.$villeLu);
|
||||
$levRS=levenshtein($raisonSociale,$raisonSocialeLu);
|
||||
$levAdr=levenshtein($adresse,$adresseLu);
|
||||
$levCP=levenshtein($codePostal,$codePostalLu);
|
||||
$levVille=levenshtein($ville,$villeLu);
|
||||
$levTotal=$levRS+$levAdr+$levCP+$levVille;
|
||||
$len1=($lenLu+$len)/2;
|
||||
$ratio1=$levTotal/$len1*1.0;
|
||||
$ratio2=$len1/$levTotal;
|
||||
|
||||
echo "$siren $nic\n";
|
||||
//print_r($entrepT);//die();
|
||||
/*if ($table['db']<>'jo')
|
||||
$iDb->update($tableDB, array($table['champSiren']=>$siren), "id='".$entrep['id']."'", true) or die($iDb->getLastError());
|
||||
else*/
|
||||
//print_r($tabTmp);
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : 1 seule possibilité $levTotal, $len1 => $ratio1, $ratio2 : ";
|
||||
if (($ratio1<0.4 && $table['table1']=='sirenage_clients') ||
|
||||
($ratio1<0.3 && $table['table1']=='asso' && $siren>1000) ||
|
||||
($ratio1<0.4 && $table['table1']=='boamp_lots' && $siren>1000 && $raisonSociale<>'' && $adresse<>'' && $codePostal>0 && $ville<>'') ||
|
||||
($ratio1<0.4 && $table['table1']=='boamp_detail' && $siren>1000 && $raisonSociale<>'' && $adresse<>'' && $codePostal>0 && $ville<>'') ||
|
||||
($ratio1<0.4 && $table['table1']=='marques' && $siren>1000 && $raisonSociale<>'' && $adresse<>'' && $codePostal>0 && $ville<>'') ||
|
||||
($ratio1<0.3 && $table['table1']=='tabCNCC' && $siren>1000 && $raisonSociale<>'' && $adresse<>'' && $codePostal>0 && $ville<>'')
|
||||
) {
|
||||
//print_r($entrepT);die();
|
||||
// Si bon rapprochement, on ne demande pas de confirmation !
|
||||
if ($table['table1']=='boamp_lots' || $table['table1']=='boamp_detail') {
|
||||
$tabUpdate=array( 'siren'=>$siren,
|
||||
'nic'=>$nic);
|
||||
$tabUpdate['sirenValide']=1;
|
||||
$tabUpdate['nicValide']=1;
|
||||
} elseif ($table['table1']=='marques') {
|
||||
$tabUpdate=array( 'sirenDeposant'=>$siren,
|
||||
'sirenValide'=>4);
|
||||
} else {
|
||||
$tabUpdate=array( 'siren'=>$siren,
|
||||
'nic'=>$nic);
|
||||
$tabUpdate[$table['champSirenValide']]=1;
|
||||
$tabUpdate[$table['champNicValide']]=1;
|
||||
}
|
||||
$iDb->update($table['table1'], $tabUpdate,
|
||||
"id='".$entrep['id']."'", false, 0, true) or die('ERREUR 1'.$iDb->getLastError().EOL.print_r($tabUpdate,1).EOL.$table['table1']);
|
||||
echo 'VALIDE'.EOL;
|
||||
continue;
|
||||
}
|
||||
echo 'non validé'.EOL;
|
||||
//fgets(STDIN);
|
||||
|
||||
if (trim($siren)<>'') {
|
||||
/* $tabTmp=$iDb->select('bodacc_detail','count(*)', 'id='. $entrep['id'] ." AND siren=$siren", true);
|
||||
if ($tabTmp[0][0]<>0) { // Cette annonce est déjà ratachée au siren, on supprime donc ce lien inutile référençant le même siren
|
||||
//$iDb->delete('bodacc_detail', 'id='. $entrep['id'] .' AND siren='.$entrep['sir'], true);
|
||||
} else
|
||||
$iDb->update('bodacc_detail', array('siren'=>$siren, $table['champNic']=>$nic, $table['champSirenValide']=>3, $table['champNicValide']=>3), 'id='.$entrep['id'].' AND siren='.$entrep['sir'], true) or die('ERREUR : '.$iDb->getLastError());
|
||||
// On efface l'information de la table A sirener au cas où !
|
||||
//$iDb->delete('bodacc_sirenage', 'idAnn='.$entrep['id'].' AND siren='.$entrep['sir']) or die('ERREUR : '.$iDb->getLastError());
|
||||
*/
|
||||
$tabInsert=array( 'idAnn'=>$entrep['id'],
|
||||
'idTable'=>$table['table1'],
|
||||
'siren'=>$entrep['sir'],
|
||||
'siretProposes'=>$siren,
|
||||
'droitLocal'=>$iBodacc->isAudienceCivile($entrep['Tribunal_Code'], $entrep['dateJugement'], $entrep['jourJugement'], $entrep['jjJugement'], $annonce),
|
||||
);
|
||||
if ($iDb2->insert('bodacc_sirenage', $tabInsert, false, true))
|
||||
$iDb2->update('bodacc_sirenage', array('siretProposes'=>$siren), 'idAnn='.$entrep['id'].' AND siren='.$entrep['sir']." AND idTable='".$table['table1']."'", false, 0, true) or die('ERREUR 2 : '.$iDb->getLastError().EOL.print_r($tabInsert, true).EOL.'idAnn='.$entrep['id']." AND siren=".$entrep['sir']." AND idTable='".$table['table1']."'");
|
||||
}
|
||||
} elseif (count($tabTrouve)==0) {
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : Pas de réponse !".EOL;
|
||||
$tabInsert=array( 'idAnn'=>$entrep['id'],
|
||||
'idTable'=>$table['table1'],
|
||||
'siren'=>$entrep['sir'],
|
||||
'droitLocal'=>$iBodacc->isAudienceCivile($entrep['Tribunal_Code'], $entrep['dateJugement'], $entrep['jourJugement'], $entrep['jjJugement'], $annonce),
|
||||
);
|
||||
if (!$iDb2->insert('bodacc_sirenage', $tabInsert, false, true))
|
||||
$iDb2->update('bodacc_sirenage', array('siretProposes'=>''), 'idAnn='.$entrep['id'].' AND siren='.$entrep['sir']." AND idTable='".$table['table1']."'", false, 0, true) or die('ERREUR 3 : '.$iDb->getLastError().EOL);
|
||||
} else { // Plusieurs siren possibles
|
||||
|
||||
// print_r($tabTrouve);
|
||||
// die();
|
||||
|
||||
//echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : Plusieurs siren possibles".EOL;
|
||||
$siren1=substr($tabTrouve[0]['Siret'],0,9);
|
||||
$nic1=substr($tabTrouve[0]['Siret'],9,5);
|
||||
$sirenDiff=$sirenNomIdem=$sirenAdrIdem=false;
|
||||
$tabSiren=array(0=>0);
|
||||
$tabSiret=array();
|
||||
foreach ($tabTrouve as $j=>$entrepT) {
|
||||
if($j==0) echo date('Y/m/d - H:i:s') ." - PROBABLES :".EOL;
|
||||
$siren=substr($entrepT['Siret'],0,9);
|
||||
$nic=substr($entrepT['Siret'],9,5);
|
||||
$tabSiren[]=$siren;
|
||||
$nomT=strtr($entrep['RS'], '/(),-',' ');
|
||||
$adresseT=trim(strtoupper(preg_replace("/[0-9]{1,4}(.*)( R | AV | RUE | AVENUE | BD | BOULEVARD )/i",'',strtr($entrepT['Adresse'], '/(),-',' '))));
|
||||
if (levenshtein($raisonSociale,$nomT)>2) $sirenNomIdem=$siren;
|
||||
if ($siren<>$siren1) $sirenDiff=true;
|
||||
if (levenshtein($adresse,$adresseT)<2) $sirenAdrIdem=$siren;
|
||||
$num=$j+1;
|
||||
echo "$num. $siren $nic, ". $entrepT['Nom'].', '.$entrepT['Nom2'].', '.$entrepT['Enseigne'].', '.$entrepT['Adresse'].', '.$entrepT['CP'].', '.$entrepT['Ville']."\n";
|
||||
$tabSiret[]=$entrepT['Siret'].'-'.$entrepT['Pertinence'];
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - $k/$nbNonSirene : ".count($tabTrouve)." possibilités :\n";
|
||||
|
||||
$tabInsert=array( 'idAnn'=>$entrep['id'],
|
||||
'idTable'=>$table['table1'],
|
||||
'siren'=>$entrep['sir'],
|
||||
'siretProposes'=>implode(';',$tabSiret),
|
||||
'droitLocal'=>$iBodacc->isAudienceCivile($entrep['Tribunal_Code'], $entrep['dateJugement'], $entrep['jourJugement'], $entrep['jjJugement'], $annonce),
|
||||
);
|
||||
|
||||
//fgets(STDIN);
|
||||
|
||||
// if ($sirenDiff==false) {
|
||||
// Tous les SIREN sont identiques, l'entreprise ttouvée est la bonne !
|
||||
// echo "$num. Siren trouvé = $siren (tous les Sirens sont identiques) !\n";
|
||||
// $iDb->update('bodacc_detail', array('siren'=>$siren, $table['champSirenValide']=>4, $table['champNicValide']=>0), 'id='.$entrep['id'].' AND siren='.$entrep['sir'], true) or die('ERREUR : '.$iDb->getLastError());
|
||||
// // On efface l'information de la table A sirener au cas où !
|
||||
// $iDb->delete('bodacc_sirenage', 'idAnn='.$entrep['id'].' AND siren='.$entrep['sir']) or die('ERREUR : '.$iDb->getLastError());
|
||||
// } else {
|
||||
// /** On insère en base toutes les multipropositions pour le sirenage manuel */
|
||||
|
||||
if ($iDb2->insert('bodacc_sirenage', $tabInsert, false, true)) {
|
||||
$tabUpdate=array('siretProposes'=>implode(';',$tabSiret));
|
||||
$strUpdate='idAnn='.$entrep['id'].' AND siren='.$entrep['sir']." AND idTable='".$table['table1']."'";
|
||||
// print_r($tabUpdate);
|
||||
// echo $strUpdate.EOL;
|
||||
$iDb2->update('bodacc_sirenage', $tabUpdate, $strUpdate, false, 0, true) or die('ERREUR 4 : '.$iDb->getLastError());
|
||||
}
|
||||
// }
|
||||
//, 'id='.$entrep['id'].' AND '. $table['champSiren'] .'='.$entrep['sir'], true) or die(mysql_error());
|
||||
|
||||
/*elseif ($sirenNomIdem!=false) {
|
||||
echo "$num. Siren trouvé = $sirenNomIdem (raisons sociales identiques) !\n";
|
||||
if ($table['db']<>'jo')
|
||||
$iDb->update($tableDB, array($table['champSiren']=>$sirenNomIdem), "id='".$entrep['id']."'", true) or die(mysql_error());
|
||||
else
|
||||
$iDb->update($tableDB, array($table['champSiren']=>$sirenNomIdem, $table['champSirenValide']=>5), 'id='.$entrep['id'], true) or die(mysql_error());
|
||||
} elseif ($sirenAdrIdem!=false) {
|
||||
echo "$num. Siren trouvé = $sirenNomIdem (adresses identiques) !\n";
|
||||
if ($table['db']<>'jo')
|
||||
$iDb->update($tableDB, array($table['champSiren']=>$sirenAdrIdem), "id='".$entrep['id']."'", true) or die(mysql_error());
|
||||
else
|
||||
$iDb->update($tableDB, array($table['champSiren']=>$sirenAdrIdem, $table['champSirenValide']=>6), 'id='.$entrep['id'], true) or die(mysql_error());
|
||||
} else
|
||||
{ //if ($semiManuel==true);
|
||||
$saisie='';
|
||||
while($semiManuel==true && $saisie=='') {
|
||||
echo "Veuillez saisir le numéro qui identifie la bonne entreprise (0 si pas de réponse) : ";
|
||||
$saisie = trim(fgets(STDIN));
|
||||
if ($saisie==0) break;
|
||||
elseif ($saisie>0 && $saisie<=$j+1) {
|
||||
$sir=$tabSiren[$saisie];
|
||||
if ($table['db']<>'jo')
|
||||
$iDb->update($tableDB, array($table['champSiren']=>$sir), "id='".$entrep['id']."'", true) or die(mysql_error());
|
||||
else
|
||||
$iDb->update($tableDB, array($table['champSiren']=>$sir, $table['champSirenValide']=>2),
|
||||
'id='.$entrep['id'], true) or die(mysql_error());
|
||||
break;
|
||||
}
|
||||
else $saisie='';
|
||||
}
|
||||
}*/
|
||||
}
|
||||
echo "\n";
|
||||
}
|
||||
// $nbSirenage=count($listeNonSirene);
|
||||
if ($nbNonSirene>9 && $envoyerMail) {
|
||||
// On n'envoie pas de mails pour le sirenage de l'historique boamp
|
||||
if ($table['table1']=='boamp_lots' && $lastId7<768245) continue;
|
||||
/** Envoi d'un email aux Equipes de production pour le sirenage **/
|
||||
$message="Il y a $nbNonSirene nouveaux rapprochements '".$table['table1']."' à faire.";
|
||||
sendMail('production@scores-decisions.com', 'jal42@scores-decisions.com', 'Nouvelles entreprises disponibles pour le sirenage.', $message);
|
||||
}
|
||||
|
||||
//}
|
||||
unset($iDb); // A cause du changement possible de Base de Données
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - FIN du programme de SIRENAGE des annonces mal sirenés du BODACC.".EOL;
|
||||
die();
|
||||
?>
|
@ -1,207 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
define('BOAMP_LOCAL_DIR', '/home/data/boamp/Klekoon/1_FORMAT_ANCIEN/Fichiers/');
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBilans.php');
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Calcul des ratios de toute la base entreprise S&D.
|
||||
|
||||
Options :
|
||||
-t Calculer tous les ratios (*)
|
||||
-i:XXX Reprendre à la ligne XXX
|
||||
-c Mettre à jour le cache
|
||||
|
||||
(*) Option par défaut si aucun argument n'est passé.
|
||||
";/* -e:X Calculer pour les X derniers exercices (3 par défaut)
|
||||
-f Calculer les scores financiers
|
||||
*/
|
||||
$iDb=new WDB('boamp');
|
||||
$iInsee=new MInsee();
|
||||
$iBodacc=new MBodacc();
|
||||
|
||||
$modeDebug=false; // Mode débug
|
||||
$questions=true; // Questions interactives autorisées
|
||||
$tabFichier=$tabFichLigneCmd=array();
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
|
||||
for ($i=1,$j=0; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 'd': $modeDebug=true; break;
|
||||
case 'i': $questions=false; break;
|
||||
case '-':
|
||||
case '?': die($strInfoScript); break;
|
||||
default: die('Option '. $argv[$i] . " inconnue !\n");
|
||||
}
|
||||
} else $tabFichLigneCmd[]=$argv[$i];
|
||||
}
|
||||
|
||||
if (count($tabFichLigneCmd)==0) {
|
||||
$dh = opendir(BOAMP_LOCAL_DIR);
|
||||
while (false !== ($filename = readdir($dh))) {
|
||||
if ($filename<>'.' && $filename<>'..' && substr($filename, -4)=='.PUB')
|
||||
$tabFichier[] = $filename;
|
||||
}
|
||||
sort($tabFichier);
|
||||
}
|
||||
if (count($tabFichier)==0 && count($tabFichLigneCmd)==0) die(date ('Y/m/d - H:i:s') . " - Aucun fichier d'annonces BOAMP à traiter !".EOL);
|
||||
|
||||
echo date ('Y/m/d - H:i:s') . " - Début du traitement de chargement des annonces BOAMP...".EOL;
|
||||
|
||||
for ($iFic=0; isset($tabFichier[$iFic]); $iFic++)
|
||||
{
|
||||
$nomFichier=$tabFichier[$iFic];
|
||||
echo date ('Y/m/d - H:i:s') . " - Lecture du fichier $nomFichier...".EOL;
|
||||
$tabLignes=file(BOAMP_LOCAL_DIR.$nomFichier);
|
||||
$tabAnnonces=array();
|
||||
$iAnn=0;
|
||||
$nextBalise='';
|
||||
foreach ($tabLignes as $i=>$ligne) {
|
||||
$nextBaliseLu=false;
|
||||
$code=''.substr($ligne,0,2);
|
||||
$texte=strtr(substr($ligne,2), '`„Œ$~', 'èéà@ç');
|
||||
switch ($code) {
|
||||
case '01':
|
||||
$iAnn++;
|
||||
$tabAnnonces[$iAnn]['annee']='20'.substr($texte,0,2);
|
||||
$tabAnnonces[$iAnn]['numParution']=substr($texte,2,3);
|
||||
if (substr($texte,5,1)=='1') $edition='A';
|
||||
elseif (substr($texte,5,1)=='2') $edition='B';
|
||||
elseif (substr($texte,5,1)=='3') $edition='C';
|
||||
else die("Edition '$edition' inconnue !");
|
||||
$tabAnnonces[$iAnn]['edition']=$edition;
|
||||
$tabAnnonces[$iAnn]['dateParution']='20'.substr($texte,10,2).substr($texte,8,2).substr($texte,6,2);
|
||||
$tabAnnonces[$iAnn]['numAnnonce']=substr($texte,12,4);
|
||||
$tabAnnonces[$iAnn]['r2']=trim(substr($texte,16,3));
|
||||
$tabAnnonces[$iAnn]['dept']=trim(substr($texte,19,3));
|
||||
$tabAnnonces[$iAnn]['rubrique']=substr($texte,22,3);
|
||||
$tabAnnonces[$iAnn]['nojo']=substr($texte,25,10);
|
||||
$tabAnnonces[$iAnn]['numAnnB']=substr($texte,35,4);
|
||||
$tabAnnonces[$iAnn]['texte']=$tabAnnonces[$iAnn]['balises']='';
|
||||
break;
|
||||
case '05':
|
||||
switch (trim($texte)) {
|
||||
case 'Nom et adresse officiels du pouvoir':
|
||||
case 'adjudicateur:':
|
||||
$nextBalise='infoOrgNom';
|
||||
break;
|
||||
case "à l'attention de":
|
||||
$nextBalise='infoOrgDest';
|
||||
break;
|
||||
case 'Mode de passation:':
|
||||
case 'Procédure de passation:':
|
||||
$nextBalise='infoPassation';
|
||||
break;
|
||||
case "Critères d'attribution:":
|
||||
$nextBalise='infoAttribution';
|
||||
break;
|
||||
case "Référence d'identification du marché":
|
||||
case "qui figure dans l'appel d'offres:":
|
||||
$nextBalise='infoIdenMarche';
|
||||
break;
|
||||
case "Annonce no":
|
||||
case "B.O.A.M.P.":
|
||||
$nextBalise='infoAnnonceNo';
|
||||
break;
|
||||
case "Date d'envoi de l'avis à la":
|
||||
case 'publication:':
|
||||
$nextBalise='infoPublication';
|
||||
break;
|
||||
default:
|
||||
$nextBalise='';
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case '15':
|
||||
switch (trim($texte)) {
|
||||
case 'Objet :':
|
||||
case 'Objet du marché:':
|
||||
$nextBalise='objet';
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case '16':
|
||||
$tabAnnonces[$iAnn]['objetMarche'].=trim($texte).' ';
|
||||
break;
|
||||
case '10':
|
||||
if ($nextBalise<>'') {
|
||||
$nextBaliseLu=true;
|
||||
$tabAnnonces[$iAnn]['_'.$nextBalise].=trim($texte).' ';
|
||||
}
|
||||
else
|
||||
$tabAnnonces[$iAnn]['code'.$code].=trim($texte).' ';
|
||||
break;
|
||||
case '17':
|
||||
case '30':
|
||||
case '35':
|
||||
break;
|
||||
case '28':
|
||||
$tabAnnonces[$iAnn]['code28'].=trim($texte).' ';
|
||||
break;
|
||||
case '44':
|
||||
$tabAnnonces[$iAnn]['naf'].=trim($texte).' ';
|
||||
break;
|
||||
case '20':
|
||||
$tabAnnonces[$iAnn]['classes'].=preg_replace('/00$/','', trim($texte)).' ';
|
||||
break;
|
||||
case '25':
|
||||
$tabAnnonces[$iAnn]['motDesc'].=trim($texte).' ';
|
||||
break;
|
||||
case '41':
|
||||
$tabAnnonces[$iAnn]['numAnnonce41']=trim($texte);
|
||||
break;
|
||||
case '42':
|
||||
$tabAnnonces[$iAnn]['dateParution42']=trim($texte);
|
||||
break;
|
||||
default:
|
||||
die("Code '$code' inconnu : ".$texte);
|
||||
|
||||
|
||||
}
|
||||
if ($code<>'01') $tabAnnonces[$iAnn]['texte'].=$texte;
|
||||
$tabAnnonces[$iAnn]['balises'].="<b$code>".trim($texte)."</b$code>".EOL;
|
||||
if ($code<>'05' && !$nextBaliseLu) $nextBalise='';
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s') . " - Chargement des $iAnn annonces du fichier $nomFichier...".EOL;
|
||||
/** Insertion de l'annonce en base
|
||||
**/
|
||||
foreach ($tabAnnonces as $i=>$tabAnnonce) {
|
||||
|
||||
if (preg_match('/(.*)((?:[0-9]{1,4},? | rue | place | boulevard | avenue )(?:.*)(?:[0-9]{5,5} )(?:.*))/Ui', $tabAnnonce['_infoOrgNom'], $matches)) {
|
||||
$tabAnnonce['nom']=trim($matches[1]);
|
||||
$tabAnnonce['adresse']=trim($matches[2]);
|
||||
} else {
|
||||
$tabAnnonce['nom']=trim($tabAnnonce['_infoOrgNom']);
|
||||
$tabAnnonce['adresse']=trim($tabAnnonce['_infoOrgDest']);
|
||||
}
|
||||
|
||||
$ret=$iDb->insert('avis', $tabAnnonce);
|
||||
//$ret=$iDb->insert('bodacc_detail', $tabAnnC);
|
||||
if (!$ret && mysql_errno()<>1062) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR ". mysql_errno().
|
||||
" : Insertion des informations 'autres' du BODACC sur le siren ".$sirenParticipation." en base impossible (annonce $idAnnRet) !".EOL;
|
||||
echo date ('Y/m/d - H:i:s'). mysql_error();
|
||||
//print_r($tabAnnC);
|
||||
//print_r($tabData);
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s') . " - Les $i annonces du fichier $nomFichier ont été chargées.".EOL;
|
||||
|
||||
}
|
||||
|
||||
|
||||
echo date ('Y/m/d - H:i:s') . " - Fin du traitement de chargement des annonces BOAMP...".EOL;
|
||||
|
||||
?>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,476 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by djo (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 10/06/08 -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="Bilan_XML_Rediff">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="depot" type="Depot_Type"/>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="Depot_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr">définition d'un dépôt</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr"/>
|
||||
</xs:annotation>
|
||||
<xs:element name="dateCloture" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de clôture des comptes</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeDepot">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr">Enumération : Comptes annuels et rapports
|
||||
Comptes consolidés et rapports
|
||||
Comptes annuels et consolidés et rapports</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="Comptes annuels et rapports"/>
|
||||
<xs:enumeration value="Comptes consolidés et rapports"/>
|
||||
<xs:enumeration value="Comptes annuels, consolidés et rapports"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,478 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by djo (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 10/06/08 -->
|
||||
<!-- Version V02 du 18/07/2008 -->
|
||||
<!-- adresse et depot passé en optionnel pour les annulation. -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="Bilan_XML_Rediff">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="depot" type="Depot_Type" minOccurs="0"/>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="Depot_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr">définition d'un dépôt</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr"/>
|
||||
</xs:annotation>
|
||||
<xs:element name="dateCloture" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de clôture des comptes</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeDepot">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr">Enumération : Comptes annuels et rapports
|
||||
Comptes consolidés et rapports
|
||||
Comptes annuels et consolidés et rapports</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="Comptes annuels et rapports"/>
|
||||
<xs:enumeration value="Comptes consolidés et rapports"/>
|
||||
<xs:enumeration value="Comptes annuels, consolidés et rapports"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,478 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by djo (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 10/06/08 -->
|
||||
<!-- Version V02 du 18/07/2008 adresse et depot passé en optionnel pour les annulation. -->
|
||||
<!-- Version V03 du 15/04/2010 prise en compte du nouveau numéro de département de la Mayotte (976) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="Bilan_XML_Rediff">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="depot" type="Depot_Type" minOccurs="0"/>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-6]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="Depot_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr">définition d'un dépôt</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr"/>
|
||||
</xs:annotation>
|
||||
<xs:element name="dateCloture" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de clôture des comptes</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeDepot">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr">Enumération : Comptes annuels et rapports
|
||||
Comptes consolidés et rapports
|
||||
Comptes annuels et consolidés et rapports</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="Comptes annuels et rapports"/>
|
||||
<xs:enumeration value="Comptes consolidés et rapports"/>
|
||||
<xs:enumeration value="Comptes annuels, consolidés et rapports"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,488 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2013 rel. 2 sp2 (http://www.altova.com) by Roux (DIR. INFO LEGALE ADMINISTRATIVE) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 10/06/08 -->
|
||||
<!-- Version V02 du 18/07/2008 adresse et depot passé en optionnel pour les annulation. -->
|
||||
<!-- Version V03 du 15/04/2010 prise en compte du nouveau numéro de département de la Mayotte (976) -->
|
||||
<!-- Version V06 du 8/04/2014 prise en compte du nouveau champ descriptif -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="Bilan_XML_Rediff">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="depot" type="Depot_Type" minOccurs="0"/>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:normalizedString">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:normalizedString">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-6]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="Depot_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr">définition d'un dépôt</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr"/>
|
||||
</xs:annotation>
|
||||
<xs:element name="dateCloture" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de clôture des comptes</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeDepot">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr">Enumération : Comptes annuels et rapports
|
||||
Comptes consolidés et rapports
|
||||
Comptes annuels et consolidés et rapports</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="Comptes annuels et rapports"/>
|
||||
<xs:enumeration value="Comptes consolidés et rapports"/>
|
||||
<xs:enumeration value="Comptes annuels, consolidés et rapports"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation xml:lang="fr">Descriptif à publier
|
||||
Ex : Cette société a également déposé une déclaration de confidentialité des comptes annuels en application du premier alinéa de l'article L.232-25.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,134 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 29/07/09 -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="Divers_XML_Rediff">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce diverse pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="titreAnnonce" type="xs:string" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Titre de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="contenuAnnonce" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Contenu de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
@ -1,134 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 29/07/09 -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="Divers_XML_Rediff">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce diverse pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="titreAnnonce" type="xs:string" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Titre de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="contenuAnnonce" type="xs:string">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Contenu de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
@ -1,574 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<!-- Modification de la version 3 -->
|
||||
<!-- Adresse/etranger/pays : optionnel -->
|
||||
<!-- Ajout d'une séquence de 1 à + pour (personneMorale,personnePhysique, numeroImmatriculation, nonInscrit, inscriptionRM, enseigne, activite, adresse) -->
|
||||
<!-- Ajout identifiant Reemission -->
|
||||
<!-- Modification de la version 4 -->
|
||||
<!-- Supressiont identifiantReemission -->
|
||||
<!-- Les éléments : numeroAnnonce, numeroIdentificationRCS, codeRCS et nomGreffeImmat ont été typé. -->
|
||||
<!-- Modification de la version 5 . -->
|
||||
<!-- Ajout de 3 natures : Arrêts divers, Autres avis de dépôt et Autres jugements et ordonnances -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="PCL_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Procédure Collective pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="annonces">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="annonce" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="identifiantClient" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Identifiant unique</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" type="Alpha_Type" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN ( A transmettre dans le fichier de retour des parutions)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="inscriptionRM" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRM" type="AlphaNum_Type"/>
|
||||
<xs:element name="codeRM" type="Alpha_Type"/>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="BP" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : 192</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="localite" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etranger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="pays" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="jugement" type="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Publicité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="jugementAnnule" type="Jugement_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Enseigne_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="EUR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Annonce de Procédure Collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="famille">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Famille de jugement
|
||||
Ex : Jugement d'ouverture, extrait de jugement, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:enumeration value="Jugement d'ouverture"/>
|
||||
<xs:enumeration value="Jugement prononçant"/>
|
||||
<xs:enumeration value="Arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Extrait de jugement"/>
|
||||
<xs:enumeration value="Avis de dépôt"/>
|
||||
<xs:enumeration value="Jugement de clôture"/>
|
||||
<xs:enumeration value="Loi de 1967"/>
|
||||
<xs:enumeration value="Rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nature">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nature du jugement
|
||||
Ex : Jugement d'ouverture de redressement judiciaire, jugement nommanbt un organe, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:enumeration value="Jugement d'homologation de l'accord"/>
|
||||
<xs:enumeration value="Jugement de résolution de l'accord homologué"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances"/>
|
||||
<xs:enumeration value="Jugement de clôture de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement modifiant la date de cessation des paiements"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement arrêtant un plan de cession"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement de plan de redressement"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de redressement"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de redressement et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession"/>
|
||||
<xs:enumeration value="Dépôt de l'état de collocation"/>
|
||||
<xs:enumeration value="Jugement de clôture pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif et autorisant la reprise des poursuites individuelles"/>
|
||||
<xs:enumeration value="Jugement autorisant la reprise des poursuites individuelles des créanciers"/>
|
||||
<xs:enumeration value="Jugement de reprise de la procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt du projet de répartition"/>
|
||||
<xs:enumeration value="Autres avis de dépôt"/>
|
||||
<xs:enumeration value="Ordonnance statuant sur les contestations du projet de répartition"/>
|
||||
<xs:enumeration value="Arrêt de la cour d'appel infirmant une décision soumise à publicité"/>
|
||||
<xs:enumeration value="Arrêts divers"/>
|
||||
<xs:enumeration value="Jugement de désignation des organes de la procédure"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de continuation"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de cession"/>
|
||||
<xs:enumeration value="Autres jugements et ordonnances"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement accordant un délai pour déposer la liste des créances"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Rétractation de jugement d'ouverture sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de redressement judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de liquidation judiciaire sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="date" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complementJugement" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,582 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<!-- Modification de la version 3 -->
|
||||
<!-- Adresse/etranger/pays : optionnel -->
|
||||
<!-- Ajout d'une séquence de 1 à + pour (personneMorale,personnePhysique, numeroImmatriculation, nonInscrit, inscriptionRM, enseigne, activite, adresse) -->
|
||||
<!-- Ajout identifiant Reemission -->
|
||||
<!-- Modification de la version 4 -->
|
||||
<!-- Supressiont identifiantReemission -->
|
||||
<!-- Les éléments : numeroAnnonce, numeroIdentificationRCS, codeRCS et nomGreffeImmat ont été typé. -->
|
||||
<!-- Modification de la version 5 . -->
|
||||
<!-- Ajout de 3 natures : Arrêts divers, Autres avis de dépôt et Autres jugements et ordonnances -->
|
||||
<!-- Modification de la version 6 . -->
|
||||
<!-- Ajout de nouvelles natures -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="PCL_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Procédure Collective pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="annonces">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="annonce" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="identifiantClient" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Identifiant unique</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" type="Alpha_Type" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN ( A transmettre dans le fichier de retour des parutions)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="inscriptionRM" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRM" type="AlphaNum_Type"/>
|
||||
<xs:element name="codeRM" type="Alpha_Type"/>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="BP" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : 192</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="localite" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etranger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="pays" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="jugement" type="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Publicité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="jugementAnnule" type="Jugement_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Enseigne_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="EUR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Annonce de Procédure Collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="famille">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Famille de jugement
|
||||
Ex : Jugement d'ouverture, extrait de jugement, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:enumeration value="Jugement d'ouverture"/>
|
||||
<xs:enumeration value="Jugement prononçant"/>
|
||||
<xs:enumeration value="Arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Extrait de jugement"/>
|
||||
<xs:enumeration value="Avis de dépôt"/>
|
||||
<xs:enumeration value="Jugement de clôture"/>
|
||||
<xs:enumeration value="Loi de 1967"/>
|
||||
<xs:enumeration value="Rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nature">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nature du jugement
|
||||
Ex : Jugement d'ouverture de redressement judiciaire, jugement nommanbt un organe, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:enumeration value="Jugement d'homologation de l'accord"/>
|
||||
<xs:enumeration value="Jugement de résolution de l'accord homologué"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances"/>
|
||||
<xs:enumeration value="Jugement de clôture de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement modifiant la date de cessation des paiements"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement arrêtant un plan de cession"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement de plan de redressement"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de redressement"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de redressement et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession"/>
|
||||
<xs:enumeration value="Dépôt de l'état de collocation"/>
|
||||
<xs:enumeration value="Jugement de clôture pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif et autorisant la reprise des poursuites individuelles"/>
|
||||
<xs:enumeration value="Jugement autorisant la reprise des poursuites individuelles des créanciers"/>
|
||||
<xs:enumeration value="Jugement de reprise de la procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt du projet de répartition"/>
|
||||
<xs:enumeration value="Autres avis de dépôt"/>
|
||||
<xs:enumeration value="Ordonnance statuant sur les contestations du projet de répartition"/>
|
||||
<xs:enumeration value="Arrêt de la cour d'appel infirmant une décision soumise à publicité"/>
|
||||
<xs:enumeration value="Arrêts divers"/>
|
||||
<xs:enumeration value="Jugement de désignation des organes de la procédure"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de continuation"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de cession"/>
|
||||
<xs:enumeration value="Autres jugements et ordonnances"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement accordant un délai pour déposer la liste des créances"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Rétractation de jugement d'ouverture sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de redressement judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de liquidation judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Autre jugement d'ouverture"/>
|
||||
<xs:enumeration value="Autre jugement prononçant"/>
|
||||
<xs:enumeration value="Autre arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Autre jugement de clôture"/>
|
||||
<xs:enumeration value="Autre jugement de liquidation des biens"/>
|
||||
<xs:enumeration value="Autre rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="date" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complementJugement" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,570 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<!-- Modification de la version 3 -->
|
||||
<!-- Adresse/etranger/pays : optionnel -->
|
||||
<!-- Ajout d'une séquence de 1 à + pour (personneMorale,personnePhysique, numeroImmatriculation, nonInscrit, inscriptionRM, enseigne, activite, adresse) -->
|
||||
<!-- Ajout identifiant Reemission -->
|
||||
<!-- Modification de la version 4 -->
|
||||
<!-- Supressiont identifiantReemission -->
|
||||
<!-- Les éléments : numeroAnnonce, numeroIdentificationRCS, codeRCS et nomGreffeImmat ont été typé. -->
|
||||
<!-- Modification de la version 5 . -->
|
||||
<!-- Ajout de 3 natures : Arrêts divers, Autres avis de dépôt et Autres jugements et ordonnances -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="PCL_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Procédure Collective pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="annonces">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="annonce" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="identifiantClient" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Identifiant unique</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" type="Alpha_Type" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN ( A transmettre dans le fichier de retour des parutions)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="inscriptionRM" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRM" type="AlphaNum_Type"/>
|
||||
<xs:element name="codeRM" type="Alpha_Type"/>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="BP" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : 192</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="localite" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etranger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="pays" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="jugement" type="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Publicité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="jugementAnnule" type="Jugement_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Enseigne_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="EUR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Annonce de Procédure Collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="famille">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Famille de jugement
|
||||
Ex : Jugement d'ouverture, extrait de jugement, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:enumeration value="Jugement d'ouverture"/>
|
||||
<xs:enumeration value="Jugement prononçant"/>
|
||||
<xs:enumeration value="Arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Extrait de jugement"/>
|
||||
<xs:enumeration value="Avis de dépôt"/>
|
||||
<xs:enumeration value="Jugement de clôture"/>
|
||||
<xs:enumeration value="Loi de 1967"/>
|
||||
<xs:enumeration value="Rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nature">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nature du jugement
|
||||
Ex : Jugement d'ouverture de redressement judiciaire, jugement nommanbt un organe, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:enumeration value="Jugement d'homologation de l'accord"/>
|
||||
<xs:enumeration value="Jugement de résolution de l'accord homologué"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances"/>
|
||||
<xs:enumeration value="Jugement de clôture de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement modifiant la date de cessation des paiements"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement arrêtant un plan de cession"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement de plan de redressement"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de redressement"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de redressement et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession"/>
|
||||
<xs:enumeration value="Dépôt de l'état de collocation"/>
|
||||
<xs:enumeration value="Jugement de clôture pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif et autorisant la reprise des poursuites individuelles"/>
|
||||
<xs:enumeration value="Jugement autorisant la reprise des poursuites individuelles des créanciers"/>
|
||||
<xs:enumeration value="Jugement de reprise de la procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt du projet de répartition"/>
|
||||
<xs:enumeration value="Autres avis de dépôt"/>
|
||||
<xs:enumeration value="Ordonnance statuant sur les contestations du projet de répartition"/>
|
||||
<xs:enumeration value="Arrêt de la cour d'appel infirmant une décision soumise à publicité"/>
|
||||
<xs:enumeration value="Arrêts divers"/>
|
||||
<xs:enumeration value="Jugement de désignation des organes de la procédure"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de continuation"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de cession"/>
|
||||
<xs:enumeration value="Autres jugements et ordonnances"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement accordant un délai pour déposer la liste des créances"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Rétractation de jugement d'ouverture sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de redressement judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de liquidation judiciaire sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="date" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complementJugement" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,578 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<!-- Modification de la version 3 -->
|
||||
<!-- Adresse/etranger/pays : optionnel -->
|
||||
<!-- Ajout d'une séquence de 1 à + pour (personneMorale,personnePhysique, numeroImmatriculation, nonInscrit, inscriptionRM, enseigne, activite, adresse) -->
|
||||
<!-- Ajout identifiant Reemission -->
|
||||
<!-- Modification de la version 4 -->
|
||||
<!-- Supressiont identifiantReemission -->
|
||||
<!-- Les éléments : numeroAnnonce, numeroIdentificationRCS, codeRCS et nomGreffeImmat ont été typé. -->
|
||||
<!-- Modification de la version 5 . -->
|
||||
<!-- Ajout de 3 natures : Arrêts divers, Autres avis de dépôt et Autres jugements et ordonnances -->
|
||||
<!-- Modification de la version 6 . -->
|
||||
<!-- Ajout de nouvelles natures -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="PCL_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Procédure Collective pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="annonces">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="annonce" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="identifiantClient" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Identifiant unique</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" type="Alpha_Type" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN ( A transmettre dans le fichier de retour des parutions)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="inscriptionRM" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRM" type="AlphaNum_Type"/>
|
||||
<xs:element name="codeRM" type="Alpha_Type"/>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="BP" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : 192</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="localite" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etranger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="pays" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="jugement" type="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Publicité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="jugementAnnule" type="Jugement_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Enseigne_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="EUR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Annonce de Procédure Collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="famille">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Famille de jugement
|
||||
Ex : Jugement d'ouverture, extrait de jugement, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:enumeration value="Jugement d'ouverture"/>
|
||||
<xs:enumeration value="Jugement prononçant"/>
|
||||
<xs:enumeration value="Arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Extrait de jugement"/>
|
||||
<xs:enumeration value="Avis de dépôt"/>
|
||||
<xs:enumeration value="Jugement de clôture"/>
|
||||
<xs:enumeration value="Loi de 1967"/>
|
||||
<xs:enumeration value="Rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nature">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nature du jugement
|
||||
Ex : Jugement d'ouverture de redressement judiciaire, jugement nommanbt un organe, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:enumeration value="Jugement d'homologation de l'accord"/>
|
||||
<xs:enumeration value="Jugement de résolution de l'accord homologué"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances"/>
|
||||
<xs:enumeration value="Jugement de clôture de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement modifiant la date de cessation des paiements"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement arrêtant un plan de cession"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement de plan de redressement"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de redressement"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de redressement et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession"/>
|
||||
<xs:enumeration value="Dépôt de l'état de collocation"/>
|
||||
<xs:enumeration value="Jugement de clôture pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif et autorisant la reprise des poursuites individuelles"/>
|
||||
<xs:enumeration value="Jugement autorisant la reprise des poursuites individuelles des créanciers"/>
|
||||
<xs:enumeration value="Jugement de reprise de la procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt du projet de répartition"/>
|
||||
<xs:enumeration value="Autres avis de dépôt"/>
|
||||
<xs:enumeration value="Ordonnance statuant sur les contestations du projet de répartition"/>
|
||||
<xs:enumeration value="Arrêt de la cour d'appel infirmant une décision soumise à publicité"/>
|
||||
<xs:enumeration value="Arrêts divers"/>
|
||||
<xs:enumeration value="Jugement de désignation des organes de la procédure"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de continuation"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de cession"/>
|
||||
<xs:enumeration value="Autres jugements et ordonnances"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement accordant un délai pour déposer la liste des créances"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Rétractation de jugement d'ouverture sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de redressement judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de liquidation judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Autre jugement d'ouverture"/>
|
||||
<xs:enumeration value="Autre jugement prononçant"/>
|
||||
<xs:enumeration value="Autre arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Autre jugement de clôture"/>
|
||||
<xs:enumeration value="Autre jugement de liquidation des biens"/>
|
||||
<xs:enumeration value="Autre rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="date" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complementJugement" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,579 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<!-- Modification de la version 3 -->
|
||||
<!-- Adresse/etranger/pays : optionnel -->
|
||||
<!-- Ajout d'une séquence de 1 à + pour (personneMorale,personnePhysique, numeroImmatriculation, nonInscrit, inscriptionRM, enseigne, activite, adresse) -->
|
||||
<!-- Ajout identifiant Reemission -->
|
||||
<!-- Modification de la version 4 -->
|
||||
<!-- Supressiont identifiantReemission -->
|
||||
<!-- Les éléments : numeroAnnonce, numeroIdentificationRCS, codeRCS et nomGreffeImmat ont été typé. -->
|
||||
<!-- Modification de la version 5 . -->
|
||||
<!-- Ajout de 3 natures : Arrêts divers, Autres avis de dépôt et Autres jugements et ordonnances -->
|
||||
<!-- Modification de la version 6 . -->
|
||||
<!-- Ajout de nouvelles natures
|
||||
<!_ 31/07/09 Modification nature "Autres jugements et ordonnances" en "Autre jugement et ordonnance" -> -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="PCL_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Procédure Collective pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="annonces">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="annonce" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="identifiantClient" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Identifiant unique</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" type="Alpha_Type" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN ( A transmettre dans le fichier de retour des parutions)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="inscriptionRM" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRM" type="AlphaNum_Type"/>
|
||||
<xs:element name="codeRM" type="Alpha_Type"/>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="BP" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : 192</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="localite" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etranger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="pays" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="jugement" type="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Publicité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="jugementAnnule" type="Jugement_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Enseigne_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="EUR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Annonce de Procédure Collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="famille">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Famille de jugement
|
||||
Ex : Jugement d'ouverture, extrait de jugement, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:enumeration value="Jugement d'ouverture"/>
|
||||
<xs:enumeration value="Jugement prononçant"/>
|
||||
<xs:enumeration value="Arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Extrait de jugement"/>
|
||||
<xs:enumeration value="Avis de dépôt"/>
|
||||
<xs:enumeration value="Jugement de clôture"/>
|
||||
<xs:enumeration value="Loi de 1967"/>
|
||||
<xs:enumeration value="Rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nature">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nature du jugement
|
||||
Ex : Jugement d'ouverture de redressement judiciaire, jugement nommanbt un organe, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:enumeration value="Jugement d'homologation de l'accord"/>
|
||||
<xs:enumeration value="Jugement de résolution de l'accord homologué"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances"/>
|
||||
<xs:enumeration value="Jugement de clôture de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement modifiant la date de cessation des paiements"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement arrêtant un plan de cession"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement de plan de redressement"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de redressement"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de redressement et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession"/>
|
||||
<xs:enumeration value="Dépôt de l'état de collocation"/>
|
||||
<xs:enumeration value="Jugement de clôture pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif et autorisant la reprise des poursuites individuelles"/>
|
||||
<xs:enumeration value="Jugement autorisant la reprise des poursuites individuelles des créanciers"/>
|
||||
<xs:enumeration value="Jugement de reprise de la procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt du projet de répartition"/>
|
||||
<xs:enumeration value="Autres avis de dépôt"/>
|
||||
<xs:enumeration value="Ordonnance statuant sur les contestations du projet de répartition"/>
|
||||
<xs:enumeration value="Arrêt de la cour d'appel infirmant une décision soumise à publicité"/>
|
||||
<xs:enumeration value="Arrêts divers"/>
|
||||
<xs:enumeration value="Jugement de désignation des organes de la procédure"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de continuation"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de cession"/>
|
||||
<xs:enumeration value="Autre jugement et ordonnance"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement accordant un délai pour déposer la liste des créances"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Rétractation de jugement d'ouverture sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de redressement judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de liquidation judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Autre jugement d'ouverture"/>
|
||||
<xs:enumeration value="Autre jugement prononçant"/>
|
||||
<xs:enumeration value="Autre arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Autre jugement de clôture"/>
|
||||
<xs:enumeration value="Autre jugement de liquidation des biens"/>
|
||||
<xs:enumeration value="Autre rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="date" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complementJugement" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,586 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<!-- Modification de la version 3 -->
|
||||
<!-- Adresse/etranger/pays : optionnel -->
|
||||
<!-- Ajout d'une séquence de 1 à + pour (personneMorale,personnePhysique, numeroImmatriculation, nonInscrit, inscriptionRM, enseigne, activite, adresse) -->
|
||||
<!-- Ajout identifiant Reemission -->
|
||||
<!-- Modification de la version 4 -->
|
||||
<!-- Supressiont identifiantReemission -->
|
||||
<!-- Les éléments : numeroAnnonce, numeroIdentificationRCS, codeRCS et nomGreffeImmat ont été typé. -->
|
||||
<!-- Modification de la version 5 . -->
|
||||
<!-- Ajout de 3 natures : Arrêts divers, Autres avis de dépôt et Autres jugements et ordonnances -->
|
||||
<!-- Modification de la version 6 . -->
|
||||
<!-- Ajout de nouvelles natures
|
||||
<!_ 31/07/09 Modification nature "Autres jugements et ordonnances" en "Autre jugement et ordonnance" -> -->
|
||||
<!--
|
||||
V10 11/09/09 Ajouts de 2 natures :
|
||||
- Jugement prononçant la résolution du plan de sauvegarde et le redressement judiciaire
|
||||
- Dépôt de l’état des créances et du projet de répartition
|
||||
-->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="PCL_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Procédure Collective pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="annonces">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="annonce" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="identifiantClient" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Identifiant unique</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" type="Alpha_Type" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN ( A transmettre dans le fichier de retour des parutions)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="inscriptionRM" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRM" type="AlphaNum_Type"/>
|
||||
<xs:element name="codeRM" type="Alpha_Type"/>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="BP" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : 192</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="localite" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etranger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="pays" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="jugement" type="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Publicité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="jugementAnnule" type="Jugement_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Enseigne_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="EUR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Annonce de Procédure Collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="famille">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Famille de jugement
|
||||
Ex : Jugement d'ouverture, extrait de jugement, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:enumeration value="Jugement d'ouverture"/>
|
||||
<xs:enumeration value="Jugement prononçant"/>
|
||||
<xs:enumeration value="Arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Extrait de jugement"/>
|
||||
<xs:enumeration value="Avis de dépôt"/>
|
||||
<xs:enumeration value="Jugement de clôture"/>
|
||||
<xs:enumeration value="Loi de 1967"/>
|
||||
<xs:enumeration value="Rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nature">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nature du jugement
|
||||
Ex : Jugement d'ouverture de redressement judiciaire, jugement nommanbt un organe, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:enumeration value="Jugement d'homologation de l'accord"/>
|
||||
<xs:enumeration value="Jugement de résolution de l'accord homologué"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances"/>
|
||||
<xs:enumeration value="Jugement de clôture de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et le redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement modifiant la date de cessation des paiements"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement arrêtant un plan de cession"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement de plan de redressement"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de redressement"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de redressement et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession"/>
|
||||
<xs:enumeration value="Dépôt de l'état de collocation"/>
|
||||
<xs:enumeration value="Jugement de clôture pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif et autorisant la reprise des poursuites individuelles"/>
|
||||
<xs:enumeration value="Jugement autorisant la reprise des poursuites individuelles des créanciers"/>
|
||||
<xs:enumeration value="Jugement de reprise de la procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt du projet de répartition"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances et du projet de répartition"/>
|
||||
<xs:enumeration value="Autres avis de dépôt"/>
|
||||
<xs:enumeration value="Ordonnance statuant sur les contestations du projet de répartition"/>
|
||||
<xs:enumeration value="Arrêt de la cour d'appel infirmant une décision soumise à publicité"/>
|
||||
<xs:enumeration value="Arrêts divers"/>
|
||||
<xs:enumeration value="Jugement de désignation des organes de la procédure"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de continuation"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de cession"/>
|
||||
<xs:enumeration value="Autre jugement et ordonnance"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement accordant un délai pour déposer la liste des créances"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Rétractation de jugement d'ouverture sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de redressement judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de liquidation judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Autre jugement d'ouverture"/>
|
||||
<xs:enumeration value="Autre jugement prononçant"/>
|
||||
<xs:enumeration value="Autre arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Autre jugement de clôture"/>
|
||||
<xs:enumeration value="Autre jugement de liquidation des biens"/>
|
||||
<xs:enumeration value="Autre rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="date" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complementJugement" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,600 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction de l'Information Légale et Administrative) -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<!-- Modification de la version 3 -->
|
||||
<!-- Adresse/etranger/pays : optionnel -->
|
||||
<!-- Ajout d'une séquence de 1 à + pour (personneMorale,personnePhysique, numeroImmatriculation, nonInscrit, inscriptionRM, enseigne, activite, adresse) -->
|
||||
<!-- Ajout identifiant Reemission -->
|
||||
<!-- Modification de la version 4 -->
|
||||
<!-- Supressiont identifiantReemission -->
|
||||
<!-- Les éléments : numeroAnnonce, numeroIdentificationRCS, codeRCS et nomGreffeImmat ont été typé. -->
|
||||
<!-- Modification de la version 5 . -->
|
||||
<!-- Ajout de 3 natures : Arrêts divers, Autres avis de dépôt et Autres jugements et ordonnances -->
|
||||
<!-- Modification de la version 6 . -->
|
||||
<!-- Ajout de nouvelles natures
|
||||
<!_ 31/07/09 Modification nature "Autres jugements et ordonnances" en "Autre jugement et ordonnance" -> -->
|
||||
<!--
|
||||
V10 11/09/09 Ajouts de 2 natures :
|
||||
- Jugement prononçant la résolution du plan de sauvegarde et le redressement judiciaire
|
||||
- Dépôt de l’état des créances et du projet de répartition
|
||||
-->
|
||||
<!-- Modification de la version 11 . -->
|
||||
<!-- Changement du numéro de département de la Mayotte en 976 -->
|
||||
<!-- Modification de la version 12 -->
|
||||
<!-- Ajout de nouvelles natures de jugement liées à la sauvegarde financière accélérée -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="PCL_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Procédure Collective pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="annonces">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="annonce" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="identifiantClient" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Identifiant unique</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" type="Alpha_Type" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN ( A transmettre dans le fichier de retour des parutions)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="inscriptionRM" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRM" type="AlphaNum_Type"/>
|
||||
<xs:element name="codeRM" type="Alpha_Type"/>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="BP" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : 192</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="localite" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etranger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="pays" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="jugement" type="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Publicité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="jugementAnnule" type="Jugement_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Enseigne_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-6]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="EUR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Annonce de Procédure Collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="famille">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Famille de jugement
|
||||
Ex : Jugement d'ouverture, extrait de jugement, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:enumeration value="Jugement d'ouverture"/>
|
||||
<xs:enumeration value="Jugement prononçant"/>
|
||||
<xs:enumeration value="Arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Extrait de jugement"/>
|
||||
<xs:enumeration value="Avis de dépôt"/>
|
||||
<xs:enumeration value="Jugement de clôture"/>
|
||||
<xs:enumeration value="Loi de 1967"/>
|
||||
<xs:enumeration value="Rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nature">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nature du jugement
|
||||
Ex : Jugement d'ouverture de redressement judiciaire, jugement nommanbt un organe, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:enumeration value="Jugement d'homologation de l'accord"/>
|
||||
<xs:enumeration value="Jugement de résolution de l'accord homologué"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances"/>
|
||||
<xs:enumeration value="Jugement de clôture de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et le redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement modifiant la date de cessation des paiements"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement arrêtant un plan de cession"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement de plan de redressement"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de redressement"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de redressement et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession"/>
|
||||
<xs:enumeration value="Dépôt de l'état de collocation"/>
|
||||
<xs:enumeration value="Jugement de clôture pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif et autorisant la reprise des poursuites individuelles"/>
|
||||
<xs:enumeration value="Jugement autorisant la reprise des poursuites individuelles des créanciers"/>
|
||||
<xs:enumeration value="Jugement de reprise de la procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt du projet de répartition"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances et du projet de répartition"/>
|
||||
<xs:enumeration value="Autres avis de dépôt"/>
|
||||
<xs:enumeration value="Ordonnance statuant sur les contestations du projet de répartition"/>
|
||||
<xs:enumeration value="Arrêt de la cour d'appel infirmant une décision soumise à publicité"/>
|
||||
<xs:enumeration value="Arrêts divers"/>
|
||||
<xs:enumeration value="Jugement de désignation des organes de la procédure"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de continuation"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de cession"/>
|
||||
<xs:enumeration value="Autre jugement et ordonnance"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement accordant un délai pour déposer la liste des créances"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Rétractation de jugement d'ouverture sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de redressement judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de liquidation judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Autre jugement d'ouverture"/>
|
||||
<xs:enumeration value="Autre jugement prononçant"/>
|
||||
<xs:enumeration value="Autre arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Autre jugement de clôture"/>
|
||||
<xs:enumeration value="Autre jugement de liquidation des biens"/>
|
||||
<xs:enumeration value="Autre rétractation sur tierce opposition"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Clôture de la procédure à défaut d'arrêté du plan dans le délai"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde financière accélérée et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde financière accélérée et le redressement judiciaire"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="date" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complementJugement" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,616 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2013 rel. 2 sp2 (http://www.altova.com) by DIR. INFO LEGALE ADMINISTRATIVE (DIR. INFO LEGALE ADMINISTRATIVE) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction de l'Information Légale et Administrative) -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<!-- Modification de la version 3 -->
|
||||
<!-- Adresse/etranger/pays : optionnel -->
|
||||
<!-- Ajout d'une séquence de 1 à + pour (personneMorale,personnePhysique, numeroImmatriculation, nonInscrit, inscriptionRM, enseigne, activite, adresse) -->
|
||||
<!-- Ajout identifiant Reemission -->
|
||||
<!-- Modification de la version 4 -->
|
||||
<!-- Supressiont identifiantReemission -->
|
||||
<!-- Les éléments : numeroAnnonce, numeroIdentificationRCS, codeRCS et nomGreffeImmat ont été typé. -->
|
||||
<!-- Modification de la version 5 . -->
|
||||
<!-- Ajout de 3 natures : Arrêts divers, Autres avis de dépôt et Autres jugements et ordonnances -->
|
||||
<!-- Modification de la version 6 . -->
|
||||
<!-- Ajout de nouvelles natures
|
||||
<!_ 31/07/09 Modification nature "Autres jugements et ordonnances" en "Autre jugement et ordonnance" -> -->
|
||||
<!--
|
||||
V10 11/09/09 Ajouts de 2 natures :
|
||||
- Jugement prononçant la résolution du plan de sauvegarde et le redressement judiciaire
|
||||
- Dépôt de l’état des créances et du projet de répartition
|
||||
-->
|
||||
<!-- Modification de la version 11 -->
|
||||
<!-- Changement du numéro de département de la Mayotte en 976 -->
|
||||
<!-- Modification de la version 12 -->
|
||||
<!-- Ajout de nouvelles natures de jugement liées à la sauvegarde financière accélérée -->
|
||||
<!-- Modification de la version 13 -->
|
||||
<!-- Ajout de l'élément denominationEIRL pour les personnes physiques -->
|
||||
<!-- Ajout de 8 nouvelles natures de jugement -->
|
||||
<!-- Modification valeur <codeRCS> -->
|
||||
<!-- ****************************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:element name="PCL_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Procédure Collective pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="annonces">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="annonce" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="identifiantClient" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Identifiant unique</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" type="Alpha_Type" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="denominationEIRL" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN ( A transmettre dans le fichier de retour des parutions)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeurs RCS, RSEIRL, RA, RSAC</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:minLength value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="inscriptionRM" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRM" type="AlphaNum_Type"/>
|
||||
<xs:element name="codeRM" type="Alpha_Type"/>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis - A transmettre dans le fichier Retour</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="BP" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : 192</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="localite" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etranger">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="pays" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="jugement" type="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Publicité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="jugementAnnule" type="Jugement_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Enseigne_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-6]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:enumeration value="EUR"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="Jugement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Annonce de Procédure Collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="famille">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Famille de jugement
|
||||
Ex : Jugement d'ouverture, extrait de jugement, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:enumeration value="Jugement d'ouverture"/>
|
||||
<xs:enumeration value="Jugement prononçant"/>
|
||||
<xs:enumeration value="Arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Extrait de jugement"/>
|
||||
<xs:enumeration value="Avis de dépôt"/>
|
||||
<xs:enumeration value="Jugement de clôture"/>
|
||||
<xs:enumeration value="Loi de 1967"/>
|
||||
<xs:enumeration value="Rétractation sur tierce opposition"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nature">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nature du jugement
|
||||
Ex : Jugement d'ouverture de redressement judiciaire, jugement nommanbt un organe, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:enumeration value="Jugement d'homologation de l'accord"/>
|
||||
<xs:enumeration value="Jugement de résolution de l'accord homologué"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Liste des créances nées après le jugement d'ouverture d'une procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances"/>
|
||||
<xs:enumeration value="Jugement de clôture de la procédure de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde et le redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement modifiant la date de cessation des paiements"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement arrêtant un plan de cession"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement de plan de redressement"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de redressement"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de redressement et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'extension de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de cession"/>
|
||||
<xs:enumeration value="Dépôt de l'état de collocation"/>
|
||||
<xs:enumeration value="Jugement de clôture pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Jugement de clôture pour insuffisance d'actif et autorisant la reprise des poursuites individuelles"/>
|
||||
<xs:enumeration value="Jugement autorisant la reprise des poursuites individuelles des créanciers"/>
|
||||
<xs:enumeration value="Jugement de reprise de la procédure de liquidation judiciaire"/>
|
||||
<xs:enumeration value="Dépôt du projet de répartition"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances et du projet de répartition"/>
|
||||
<xs:enumeration value="Autres avis de dépôt"/>
|
||||
<xs:enumeration value="Ordonnance statuant sur les contestations du projet de répartition"/>
|
||||
<xs:enumeration value="Arrêt de la cour d'appel infirmant une décision soumise à publicité"/>
|
||||
<xs:enumeration value="Arrêts divers"/>
|
||||
<xs:enumeration value="Jugement de désignation des organes de la procédure"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de continuation"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de cession"/>
|
||||
<xs:enumeration value="Autre jugement et ordonnance"/>
|
||||
<xs:enumeration value="Dépôt de l'état des créances Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement accordant un délai pour déposer la liste des créances"/>
|
||||
<xs:enumeration value="Jugement d'interdiction de gérer Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de faillite personnelle Loi de 1985"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour extinction du passif"/>
|
||||
<xs:enumeration value="Jugement de clôture de la liquidation des biens pour insuffisance d'actif"/>
|
||||
<xs:enumeration value="Rétractation de jugement d'ouverture sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de redressement judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Rétractation de prononcé de liquidation judiciaire sur tierce opposition"/>
|
||||
<xs:enumeration value="Autre jugement d'ouverture"/>
|
||||
<xs:enumeration value="Autre jugement prononçant"/>
|
||||
<xs:enumeration value="Autre arrêt de la Cour d'Appel"/>
|
||||
<xs:enumeration value="Autre jugement de clôture"/>
|
||||
<xs:enumeration value="Autre jugement de liquidation des biens"/>
|
||||
<xs:enumeration value="Autre rétractation sur tierce opposition"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement de conversion en redressement judiciaire de la procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement de conversion en liquidation judiciaire de la procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Clôture de la procédure à défaut d'arrêté du plan dans le délai"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde financière accélérée"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde financière accélérée et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde accélérée et le redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement d'ouverture d'une procédure de sauvegarde accélérée"/>
|
||||
<xs:enumeration value="Jugement d'extension d'une procédure de sauvegarde accélérée"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde accélérée et la liquidation judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la résolution du plan de sauvegarde accélérée et redressement judiciaire"/>
|
||||
<xs:enumeration value="Jugement prononçant la clôture de la procédure de rétablissement professionnel"/>
|
||||
<xs:enumeration value="Jugement arrêtant le plan de sauvegarde accélérée"/>
|
||||
<xs:enumeration value="Jugement modifiant le plan de sauvegarde accélérée"/>
|
||||
<xs:enumeration value="Jugement mettant fin à la procédure de sauvegarde accélérée"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="date" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="complementJugement" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément du jugement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,830 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by djo (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction de l'Information Légale et Administrative) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V05 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- V06 du 04/04/08 : Dans les éléments precedentProprietairePM, precedentProprietairePP, -->
|
||||
<!-- precedentExploitantPP et precedentExploitantPM, les éléments numeroImmatriculation et nonInscrit sont devenus optionnels -->
|
||||
<!-- V07 du 17/04/08 : ajout champs dateEffet -->
|
||||
<!-- V09 du 07/10/09 : Longueur maximum de 1000 caractère pour l'élément nomVoie dans Adresse au lieu de 50 -->
|
||||
<!-- V10 du 15/04/10 : Changement du numéro de département de la Mayotte qui devient 976 -->
|
||||
<!-- 24/05/13 : Augmentation de la longueur max de NomDenomination_Type à 1000 pour harmoniser avec la schéma d'entrée -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-A_IMMAT">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Immatriculations, Ventes et Créations pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nationnalite" type="Alpha_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="etablissement" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="origineFonds" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Origine du fonds
|
||||
Ex : Fonds principal acquis par achat au prix stipulé de 28 940 euros, Cette société se constitue, Moitié indivise dépendante d'un fonds complémentaire acquise par apport au montant évalué à 55 000 euros, Création, Fonds acquis par achat, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="qualiteEtablissement" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social, Etablissement principal, Etablissemennt complémentaire, ..., Fonds complémentaire, Fonds secondaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" type="AdresseFrance_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentProprietairePM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentProprietairePP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="acte">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieCreation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="immatriculation">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieImmatriculation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="vente">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieVente" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="journal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Journal d'annonces légales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="titre" type="AlphaNum_Type"/>
|
||||
<xs:element name="date" type="Date_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice maxOccurs="2">
|
||||
<xs:element name="opposition" type="AlphaNum_Type"/>
|
||||
<xs:element name="declarationCreance" type="AlphaNum_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-6]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="10"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000" fixed="false"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,815 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V05 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- V06 du 04/04/08 : Dans les éléments precedentProprietairePM, precedentProprietairePP, -->
|
||||
<!-- precedentExploitantPP et precedentExploitantPM, les éléments numeroImmatriculation et nonInscrit sont devenus optionnels -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-A_IMMAT">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Immatriculations, Ventes et Créations pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nationnalite" type="Alpha_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="etablissement" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="origineFonds" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Origine du fonds
|
||||
Ex : Fonds principal acquis par achat au prix stipulé de 28 940 euros, Cette société se constitue, Moitié indivise dépendante d'un fonds complémentaire acquise par apport au montant évalué à 55 000 euros, Création, Fonds acquis par achat, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="qualiteEtablissement" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social, Etablissement principal, Etablissemennt complémentaire, ..., Fonds complémentaire, Fonds secondaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" type="AdresseFrance_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentProprietairePM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentProprietairePP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="acte">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieCreation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="immatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieImmatriculation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="vente">
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieVente" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="journal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Journal d'annonces légales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="titre" type="AlphaNum_Type"/>
|
||||
<xs:element name="date" type="Date_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice maxOccurs="2">
|
||||
<xs:element name="opposition" type="AlphaNum_Type"/>
|
||||
<xs:element name="declarationCreance" type="AlphaNum_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="10"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,827 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V05 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- V06 du 04/04/08 : Dans les éléments precedentProprietairePM, precedentProprietairePP, -->
|
||||
<!-- precedentExploitantPP et precedentExploitantPM, les éléments numeroImmatriculation et nonInscrit sont devenus optionnels -->
|
||||
<!-- V07 du 17/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-A_IMMAT">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Immatriculations, Ventes et Créations pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nationnalite" type="Alpha_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="etablissement" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="origineFonds" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Origine du fonds
|
||||
Ex : Fonds principal acquis par achat au prix stipulé de 28 940 euros, Cette société se constitue, Moitié indivise dépendante d'un fonds complémentaire acquise par apport au montant évalué à 55 000 euros, Création, Fonds acquis par achat, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="qualiteEtablissement" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social, Etablissement principal, Etablissemennt complémentaire, ..., Fonds complémentaire, Fonds secondaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" type="AdresseFrance_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentProprietairePM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentProprietairePP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="acte">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieCreation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="immatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieImmatriculation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="vente">
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieVente" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="journal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Journal d'annonces légales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="titre" type="AlphaNum_Type"/>
|
||||
<xs:element name="date" type="Date_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice maxOccurs="2">
|
||||
<xs:element name="opposition" type="AlphaNum_Type"/>
|
||||
<xs:element name="declarationCreance" type="AlphaNum_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="10"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,827 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by djo (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V05 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- V06 du 04/04/08 : Dans les éléments precedentProprietairePM, precedentProprietairePP, -->
|
||||
<!-- precedentExploitantPP et precedentExploitantPM, les éléments numeroImmatriculation et nonInscrit sont devenus optionnels -->
|
||||
<!-- V07 du 17/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-A_IMMAT">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Immatriculations, Ventes et Créations pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nationnalite" type="Alpha_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="etablissement" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="origineFonds" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Origine du fonds
|
||||
Ex : Fonds principal acquis par achat au prix stipulé de 28 940 euros, Cette société se constitue, Moitié indivise dépendante d'un fonds complémentaire acquise par apport au montant évalué à 55 000 euros, Création, Fonds acquis par achat, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="qualiteEtablissement" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social, Etablissement principal, Etablissemennt complémentaire, ..., Fonds complémentaire, Fonds secondaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" type="AdresseFrance_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentProprietairePM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentProprietairePP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="acte">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieCreation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="immatriculation">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieImmatriculation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="vente">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieVente" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="journal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Journal d'annonces légales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="titre" type="AlphaNum_Type"/>
|
||||
<xs:element name="date" type="Date_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice maxOccurs="2">
|
||||
<xs:element name="opposition" type="AlphaNum_Type"/>
|
||||
<xs:element name="declarationCreance" type="AlphaNum_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="10"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,828 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by djo (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V05 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- V06 du 04/04/08 : Dans les éléments precedentProprietairePM, precedentProprietairePP, -->
|
||||
<!-- precedentExploitantPP et precedentExploitantPM, les éléments numeroImmatriculation et nonInscrit sont devenus optionnels -->
|
||||
<!-- V07 du 17/04/08 : ajout champs dateEffet -->
|
||||
<!-- V09 du 07/10/09 : Longueur maximum de 1000 caractère pour l'élément nomVoie dans Adresse au lieu de 50 -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-A_IMMAT">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Immatriculations, Ventes et Créations pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nationnalite" type="Alpha_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="etablissement" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="origineFonds" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Origine du fonds
|
||||
Ex : Fonds principal acquis par achat au prix stipulé de 28 940 euros, Cette société se constitue, Moitié indivise dépendante d'un fonds complémentaire acquise par apport au montant évalué à 55 000 euros, Création, Fonds acquis par achat, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="qualiteEtablissement" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social, Etablissement principal, Etablissemennt complémentaire, ..., Fonds complémentaire, Fonds secondaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" type="AdresseFrance_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentProprietairePM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentProprietairePP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="acte">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieCreation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="immatriculation">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieImmatriculation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="vente">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieVente" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="journal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Journal d'annonces légales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="titre" type="AlphaNum_Type"/>
|
||||
<xs:element name="date" type="Date_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice maxOccurs="2">
|
||||
<xs:element name="opposition" type="AlphaNum_Type"/>
|
||||
<xs:element name="declarationCreance" type="AlphaNum_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="10"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000" fixed="false"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,829 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by djo (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction de l'Information Légale et Administrative) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V05 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- V06 du 04/04/08 : Dans les éléments precedentProprietairePM, precedentProprietairePP, -->
|
||||
<!-- precedentExploitantPP et precedentExploitantPM, les éléments numeroImmatriculation et nonInscrit sont devenus optionnels -->
|
||||
<!-- V07 du 17/04/08 : ajout champs dateEffet -->
|
||||
<!-- V09 du 07/10/09 : Longueur maximum de 1000 caractère pour l'élément nomVoie dans Adresse au lieu de 50 -->
|
||||
<!-- V10 du 15/04/10 : Changement du numéro de département de la Mayotte qui devient 976 -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-A_IMMAT">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Immatriculations, Ventes et Créations pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence maxOccurs="unbounded">
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="denomination" type="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nationnalite" type="Alpha_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="etablissement" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="origineFonds" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Origine du fonds
|
||||
Ex : Fonds principal acquis par achat au prix stipulé de 28 940 euros, Cette société se constitue, Moitié indivise dépendante d'un fonds complémentaire acquise par apport au montant évalué à 55 000 euros, Création, Fonds acquis par achat, ...</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="qualiteEtablissement" type="Alpha_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social, Etablissement principal, Etablissemennt complémentaire, ..., Fonds complémentaire, Fonds secondaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="enseigne" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" type="AdresseFrance_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentProprietairePM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentProprietairePP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination" type="NomDenomination_Type"/>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Héritier, indivisaire</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="acte">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="creation">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieCreation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="immatriculation">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieImmatriculation" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="vente">
|
||||
<xs:complexType mixed="true">
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:element name="dateImmatriculation" type="Date_Type" minOccurs="0"/>
|
||||
<xs:element name="categorieVente" type="AlphaNum_Type"/>
|
||||
<xs:element name="dateEffet" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="journal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Journal d'annonces légales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="titre" type="AlphaNum_Type"/>
|
||||
<xs:element name="date" type="Date_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice maxOccurs="2">
|
||||
<xs:element name="opposition" type="AlphaNum_Type"/>
|
||||
<xs:element name="declarationCreance" type="AlphaNum_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-6]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="10"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000" fixed="false"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,794 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction de l'Information Légale et Administrative) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V04 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V05 du 11/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V08 du 23/01/09 : modification longueur maximum (d 200 à 1000) pour l'élément denomination -->
|
||||
<!-- *********************************************************************************************************************** -->
|
||||
<!--
|
||||
V09 du 30/04/09 : Ajout élément commentaire dans radiationAuRCS -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!--
|
||||
V10 du 11/09/09 : Choix rendu optionnel après les éléments ModificationsGenerales et radiationAuRCS afin de pouvoir trier les radiations et les modifications-->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!--
|
||||
V11 du 15/04/10 : Prise en compte du nouveau numéro de département de la Mayotte (976) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-B_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="1000" fixed="true"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="siegeSocial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementPrincipal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Etablissement principal de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="modificationsGenerales">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateEffet" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationAuRCS">
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:choice>
|
||||
<xs:element name="radiationPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationActivitePP" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de cessation d'activité pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Morales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="commentaire" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Commentaire pour les radiations</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-6]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,762 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by djo (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V04 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-B_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="siegeSocial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementPrincipal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Etablissement principal de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="modificationsGenerales">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationAuRCS">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="radiationPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationActivitePP" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de cessation d'activité pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Morales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,770 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V04 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V05 du 11/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-B_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="siegeSocial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementPrincipal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Etablissement principal de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="modificationsGenerales">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateEffet" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationAuRCS">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="radiationPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationActivitePP" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de cessation d'activité pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Morales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,772 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V04 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V05 du 11/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V06 du 09/05/08 : suppression restriction longueur sur denomination -->
|
||||
<!-- ********************************************************************************************************************************************************************************** --><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-B_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="siegeSocial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementPrincipal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Etablissement principal de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="modificationsGenerales">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateEffet" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationAuRCS">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="radiationPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationActivitePP" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de cessation d'activité pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Morales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,770 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by djo (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V04 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V05 du 11/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-B_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="siegeSocial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementPrincipal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Etablissement principal de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="modificationsGenerales">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateEffet" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationAuRCS">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="radiationPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationActivitePP" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de cessation d'activité pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Morales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,773 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V04 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V05 du 11/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V08 du 23/01/09 : modification longueur maximum (d 200 à 1000) pour l'élément denomination -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-B_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="1000" fixed="true"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="siegeSocial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementPrincipal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Etablissement principal de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="modificationsGenerales">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateEffet" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationAuRCS">
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="radiationPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationActivitePP" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de cessation d'activité pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Morales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,788 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V04 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V05 du 11/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V08 du 23/01/09 : modification longueur maximum (d 200 à 1000) pour l'élément denomination -->
|
||||
<!-- *********************************************************************************************************************** -->
|
||||
<!--
|
||||
V09 du 30/04/09 : Ajout élément commentaire dans radiationAuRCS -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-B_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="1000" fixed="true"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="siegeSocial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementPrincipal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Etablissement principal de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="modificationsGenerales">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateEffet" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationAuRCS">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="radiationPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationActivitePP" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de cessation d'activité pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Morales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="commentaire" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Commentaire pour les radiations</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,791 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction Journaux Officiels) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V04 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V05 du 11/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V08 du 23/01/09 : modification longueur maximum (d 200 à 1000) pour l'élément denomination -->
|
||||
<!-- *********************************************************************************************************************** -->
|
||||
<!--
|
||||
V09 du 30/04/09 : Ajout élément commentaire dans radiationAuRCS -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!--
|
||||
V10 du 11/09/09 : Choix rendu optionnel après les éléments ModificationsGenerales et radiationAuRCS afin de pouvoir trier les radiations et les modifications-->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-B_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="1000" fixed="true"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="siegeSocial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementPrincipal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Etablissement principal de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="modificationsGenerales">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateEffet" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationAuRCS">
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:choice>
|
||||
<xs:element name="radiationPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationActivitePP" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de cessation d'activité pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Morales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="commentaire" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Commentaire pour les radiations</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-5]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
@ -1,794 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- edited with XMLSpy v2007 sp1 (http://www.altova.com) by SSI/CTI (JOURNAUX OFFICIELS) -->
|
||||
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by journal-officiel (Direction de l'Information Légale et Administrative) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- Version V01 du 14/01/08 -->
|
||||
<!-- V04 du 12/03/08 : ajout norme ISO 4217 pour Devise_Type -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V05 du 11/04/08 : ajout champs dateEffet -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!-- -->
|
||||
<!-- V08 du 23/01/09 : modification longueur maximum (d 200 à 1000) pour l'élément denomination -->
|
||||
<!-- *********************************************************************************************************************** -->
|
||||
<!--
|
||||
V09 du 30/04/09 : Ajout élément commentaire dans radiationAuRCS -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!--
|
||||
V10 du 11/09/09 : Choix rendu optionnel après les éléments ModificationsGenerales et radiationAuRCS afin de pouvoir trier les radiations et les modifications-->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<!--
|
||||
V11 du 15/04/10 : Prise en compte du nouveau numéro de département de la Mayotte (976) -->
|
||||
<!-- ********************************************************************************************************************************************************************************** -->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:iso4217="urn:un:unece:uncefact:codelist:standard:5:4217:2001" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
||||
<xs:import namespace="urn:un:unece:uncefact:codelist:standard:5:4217:2001" schemaLocation="ISO_CurrencyCode_2001.xsd"/>
|
||||
<xs:element name="RCS-B_REDIFF">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Composant Annonce Modifications générales et Radiation pour les Reffuseurs</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="parution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numero de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="listeAvis">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="avis" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="annonce">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="annulation">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="0"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nojo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro d'identification J.O.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:length value="15"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="numeroDepartement" type="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° de département du Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="tribunal" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Greffe qui a procédé à l'avis -</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:sequence>
|
||||
<xs:element name="personnes">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="personne" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:choice>
|
||||
<xs:element name="personneMorale">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Dénomination</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="1000" fixed="true"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="formeJuridique" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Forme juridique (Ex : Société Anonyme, SARL, EURL,...)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="capital" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCapital">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Montant du capital</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:fractionDigits value="2"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="devise" type="Devise_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Devise (conforme à la norme ISO 4217)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:element name="capitalVariable">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Capital variable</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom commercial</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="administration" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>nouvelle situation,ex: Gérants : Dumoulin Bernard</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="sigle" type="Sigle_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Sigle</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnePhysique">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de famille (naissance)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Prénom</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'usage</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pseudonyme" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomCommercial" type="AlphaNum_Type" minOccurs="0"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentificationRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="11"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
<xs:element name="activite" type="AlphaNum_Type" minOccurs="0"/>
|
||||
<xs:element name="adresse" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse en France de la société </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="siegeSocial" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Siège social de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
<xs:element name="etranger" type="AdresseEtranger_Type"/>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementPrincipal" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Etablissement principal de la société</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="france" type="AdresseFrance_Type"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="modificationsGenerales">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="precedentExploitantPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="denomination">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="NomDenomination_Type">
|
||||
<xs:maxLength value="200"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="precedentExploitantPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Precedent exploitant pour une personne physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nature" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="prenom">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomUsage" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:choice minOccurs="0">
|
||||
<xs:element name="numeroImmatriculation" type="NumeroImmatriculation_Type"/>
|
||||
<xs:element name="nonInscrit" type="Alpha_Type"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="descriptif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Descriptif de la modification</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateCommencementActivite" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de début d'activité</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateEffet" type="Date_Type" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date d'effet utilisée pour les greffes dépendants du Ministère de la Justice</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationAuRCS">
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs="0">
|
||||
<xs:choice>
|
||||
<xs:element name="radiationPP">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationActivitePP" type="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de cessation d'activité pour les Personnes Physiques</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="radiationPM">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Radiation pour les Personnes Morales</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="commentaire" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Commentaire pour les radiations</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="parutionAvisPrecedent" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Information sur l'avis à rectifier</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="Alpha_Type"/>
|
||||
<xs:element name="numeroParution" type="Parution_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateParution" type="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Date de la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="numeroAnnonce" type="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de l'avis dans la parution précédente</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<!-- date -->
|
||||
<xs:simpleType name="Date_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type simple format date YYYY-MM-DD</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:date">
|
||||
<xs:pattern value="....-..-.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="DateHeure_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>format YYYY-MM-DDTHH:MM:SS</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:dateTime">
|
||||
<xs:pattern value="....-..-..T..:..:.."/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- string -->
|
||||
<xs:simpleType name="Alpha_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type A : tous les caractères, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="AlphaNum_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type AN : tous les caractères, tous les chiffres, toutes les pontuations, tous les symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- number -->
|
||||
<xs:simpleType name="Num_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type N : tous les chiffres</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- technique -->
|
||||
<xs:simpleType name="Version_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>VXX (XX=num de version)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:length value="3"/>
|
||||
<xs:pattern value="V\d{2}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<!-- fonctionnel -->
|
||||
<xs:simpleType name="NomDenomination_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomCommercial_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="70"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Sigle_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>type anySimpleType</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Activite_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de AlphaNum_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type"/>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="5"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Departement_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code département</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="2"/>
|
||||
<xs:maxLength value="3"/>
|
||||
<xs:pattern value="2A|2B|[0-2]{1}[1-9]{1}|10|[3-8]{1}\d{1}|[9]{1}[0-5]{1}|(97[1-6]{1})|98[4-8]{1}|99"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NumeroGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>code Greffe</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:minLength value="4"/>
|
||||
<xs:maxLength value="6"/>
|
||||
<xs:pattern value="\d{4,5}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>dérivé de Alpha_Type</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="60"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPP_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="A"/>
|
||||
<xs:enumeration value="F"/>
|
||||
<xs:enumeration value="AC"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="StatutRCSPM_Type">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="B"/>
|
||||
<xs:enumeration value="C"/>
|
||||
<xs:enumeration value="D"/>
|
||||
<xs:enumeration value="F"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Parution_Type">
|
||||
<xs:restriction base="Num_Type">
|
||||
<xs:length value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="Devise_Type">
|
||||
<xs:restriction base="iso4217:CurrencyCodeContentType"/>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="AdresseEtranger_Type">
|
||||
<xs:sequence>
|
||||
<xs:element name="adresse">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom d'adresse à l'étranger</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="pays" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du pays</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="AdresseFrance_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation/>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numéro de la voie
|
||||
Ex : 4</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="typeVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de la voie
|
||||
Ex : rue</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomVoie" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom de la voie
|
||||
Ex : d'Enfer</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="complGeographique" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Complément gépgraphique
|
||||
Ex : Résidence Bel-Air</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="1000"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="BP" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Boîte postale
|
||||
Ex : BP 14192</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="8"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="localite" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Localité
|
||||
Ex : Saint-Chéron</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codePostal" type="CodePostal_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Code Postal
|
||||
Ex : 51290</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ville">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ville/Bureau distributeur
|
||||
Ex : Saint-Rémy-en-Bouzemont-Saint-Genest-et-Isson</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="AlphaNum_Type">
|
||||
<xs:minLength value="1"/>
|
||||
<xs:maxLength value="50"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="NumeroImmatriculation_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>NNN NNN NNN RCS XXXXXX avec NNN NNN NNN N° d'identification et XXXXXXX Greffe d'immatriculation du dossier (Ex : 324 568 789 RCS Paris)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroIdentification">
|
||||
<xs:annotation>
|
||||
<xs:documentation>N° d'identification au format NNN NNN NNN</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="11"/>
|
||||
<xs:pattern value="\d{3} \d{3} \d{3}"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeRCS">
|
||||
<xs:annotation>
|
||||
<xs:documentation>valeur fixée à "RCS"</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="Alpha_Type">
|
||||
<xs:length value="3"/>
|
||||
<xs:enumeration value="RCS"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="nomGreffeImmat" type="NomGreffe_Type">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Greffe d'immatriculation du dossier </xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
10384
batch/bodacc/CPV.xsd
10384
batch/bodacc/CPV.xsd
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,578 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!--Created with Liquid XML Studio Developer Edition 9.0.11.3078 (http://www.liquid-technologies.com)-->
|
||||
<!--
|
||||
OCTDE_EXPORT_JAL XSD - Schéma d'export des annonces JAL au format XML.
|
||||
Copyright OCTDE - v3.4 - 11/03/2015
|
||||
|
||||
L'ensemble des tables de codes associées aux balises code* sont disponibles dans le fichier : OCTDE_Tables_Codes.xls
|
||||
Les fichiers JAL en XML livrés sont nommés selon le masque : "Annonces_YYYYMMDD.xml"
|
||||
Les fichiers PDF livrés sont nommés selon le masque : "<journalID>_YYYYMMDD_<numParution>.pdf"
|
||||
Dans le cas où il n’y a pas de numParution, ce numéro devient 00.
|
||||
|
||||
-->
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<!-- Définition de types -->
|
||||
<xs:simpleType name="alphaType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Alphabétique : Caractères, ponctuations et symboles, [ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[ \p{M}\p{P}\p{S}\p{L}\p{Z}\p{C} ]*" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="alphaNumType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Alphanumérique : Caractères, chiffres, ponctuations et symboles, [ \p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C} & < >]*</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\p{M}\p{P}\p{S}\p{L}\p{N}\p{Z}\p{C}]*" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="numType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Numérique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[\d]*" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="boolType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Booléen (0 ou 1)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="[0-1]{1}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="typeType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>M : Personne Morale; P : Personne Physique</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="M" />
|
||||
<xs:enumeration value="P" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="capitalType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Type de capital : MINinmum, FIXe, VARiable ou LIBéré (en totalité)</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="MIN" />
|
||||
<xs:enumeration value="FIX" />
|
||||
<xs:enumeration value="VAR" />
|
||||
<xs:enumeration value="LIB" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="rubriqueType">
|
||||
<xs:annotation>
|
||||
<xs:documentation> Type de rubrique : CoMPTes, CREAtions, MODIFications, PROCedures COLlectives, RADiations, ventes, DIVers,CESsation </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="CMPT" />
|
||||
<xs:enumeration value="CREA" />
|
||||
<xs:enumeration value="MODIF" />
|
||||
<xs:enumeration value="PROCCOL" />
|
||||
<xs:enumeration value="RAD" />
|
||||
<xs:enumeration value="VENTE" />
|
||||
<xs:enumeration value="DIV" />
|
||||
<xs:enumeration value="CES" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="annonceType">
|
||||
<xs:annotation>
|
||||
<xs:documentation> Type d'annonce : Rectificatif, Additif, Suppression, AnnuleEtRemplace, Insertion, Creation </xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="RECTIFICATIF" />
|
||||
<xs:enumeration value="ADDITIF" />
|
||||
<xs:enumeration value="SUPPRESSION" />
|
||||
<xs:enumeration value="ANNULEETREMPLACE" />
|
||||
<xs:enumeration value="INSERTION" />
|
||||
<xs:enumeration value="CREATION" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="sirenType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9]{9}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="adresseLineType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ligne d'adresse au format RNVP selon la norme 38 caractères</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="alphaNumType">
|
||||
<xs:maxLength value="38" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="codePostalType">
|
||||
<xs:restriction base="alphaNumType">
|
||||
<xs:maxLength value="10" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="departementType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9]{2,3}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="codePaysIso2Type">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[A-Z]{2}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="formeJuridiqueType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9]{4}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="decimalType">
|
||||
<xs:restriction base="xs:decimal">
|
||||
<xs:minExclusive value="0" />
|
||||
<xs:fractionDigits value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="deviseType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[A-Z]{3}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="adminType">
|
||||
<xs:restriction base="xs:integer">
|
||||
<xs:minExclusive value="0" />
|
||||
<xs:maxInclusive value="9999" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="civiliteType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ste : Société; Dr : Docteur; M : Monsieur; Mme : Madame; Mlle : Mademoiselle; Me : Maître</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Ste" />
|
||||
<xs:enumeration value="Dr" />
|
||||
<xs:enumeration value="M" />
|
||||
<xs:enumeration value="Mme" />
|
||||
<xs:enumeration value="Mlle" />
|
||||
<xs:enumeration value="Me" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="typeActeurType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>AB : Societe Absorbante; AC : Acquereur; CD : Cedant; NE : Nouvel Exploitant; PE : Précédent Exploitant</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="roleIntervenantType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>A : Administrateur; C :Commissaire au plan; H : Huissier*; J : Juge commissaire; K : Juge commissaire suppléant; L : Liquidateur; M : Mandataire; N : Notaire*; O : Opposition*; R : Représentant des créanciers ; T : conciliaTeur; V : aVocat*; Les intervenants avec une * sont spécifiques aux annonces de ventes</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[A-Z]{1,2}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:complexType name="adresseType">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Adresses structurées. Le tag adresseTexte est utilisé quand l'adresse n'est pas disponible de façon structurée, par exemple pour les adresses à l'étranger.</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element name="numeroVoie" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="indRep" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="typeVoie" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="nomVoie" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="complGeographique" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="boitePostale" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="localite" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="codePostal" type="codePostalType" minOccurs="0" />
|
||||
<xs:element name="ville" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="departement" type="departementType" minOccurs="0" />
|
||||
<xs:element name="codePays" type="codePaysIso2Type" minOccurs="0" default="FR" />
|
||||
<xs:element name="labelPays" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="idVoie" type="numType" minOccurs="0" />
|
||||
<xs:element name="codeInseeCommune" type="numType" minOccurs="0" />
|
||||
<xs:element name="adresseTexte" type="alphaNumType" minOccurs="0" />
|
||||
<!-- <xs:element name="adresseRNVP" type="boolType" minOccurs="0" />-->
|
||||
<xs:element name="diagAdresse" type="numType" minOccurs="0" />
|
||||
<xs:element name="topRejet" type="boolType" minOccurs="0" />
|
||||
<xs:element name="topAmelia" type="boolType" minOccurs="0" />
|
||||
<xs:element name="adresse_L1" type="adresseLineType" minOccurs="0" />
|
||||
<xs:element name="adresse_L2" type="adresseLineType" minOccurs="0" />
|
||||
<xs:element name="adresse_L3" type="adresseLineType" minOccurs="0" />
|
||||
<xs:element name="adresse_L4" type="adresseLineType" minOccurs="0" />
|
||||
<xs:element name="adresse_L5" type="adresseLineType" minOccurs="0" />
|
||||
<xs:element name="adresse_L6" type="adresseLineType" minOccurs="0" />
|
||||
<xs:element name="adresse_L7" type="adresseLineType" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- Définition des éléments -->
|
||||
<xs:element name="livraisonAnnoncesLegales">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Elément racine</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="livraisonInfo" />
|
||||
<xs:element ref="annonces" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="livraisonInfo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Metadonnées de la livraison</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateLivraison" type="xs:date" />
|
||||
<xs:element name="nbItems" type="xs:integer" />
|
||||
<xs:element name="codeLivraison" type="alphaNumType" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Ce tag peut le cas échéant contenir un code permettant d'identifier la livraison fournie.</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="annonces">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Les annonces de la livraison</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="annonce" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="annonce">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Description d'une annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="annonceInfo" />
|
||||
<xs:element ref="personnes" />
|
||||
<xs:element ref="evenements" />
|
||||
<xs:element ref="acteursCession" minOccurs="0" />
|
||||
<xs:element ref="etablissementsCession" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="annonceInfo">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Metadonnées de l'annonce. Certains de ces tags sont specifiques aux Jal (ex: journalID), d'autres spécifiques au Bodacc (ex: nojo), d'autres étant communs à diverses sources</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="adID" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="origine" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="sourcePdf" type="alphaNumType" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Nom du fichier PDF contenant l'annonce OCRisée avec lien vers la page de l'annonce si multipage (exemple: myfile.pdf#page=4)</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="nomPublication" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="journalID" type="numType" minOccurs="0" />
|
||||
<xs:element name="dateParution" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="numParution" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="tribunal" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="texte" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="rubrique" type="rubriqueType" minOccurs="0" />
|
||||
<xs:element name="typeAnnonce" type="annonceType" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personnes">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Les personnes d'une annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="personne" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="personne">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Infos associées à la personne concernée</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="identite" minOccurs="0" />
|
||||
<xs:element ref="dirigeants" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="identite">
|
||||
<xs:annotation>
|
||||
<xs:documentation>identité d'une personne Physique ou Morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="pseudonyme" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="civilite" type="civiliteType" minOccurs="0" />
|
||||
<xs:element name="prenom" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="nomUsage" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="dateNaissance" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="lieuNaissance" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="sigle" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="type" type="typeType" minOccurs="0" />
|
||||
<xs:element name="siren" type="sirenType" minOccurs="0" />
|
||||
<xs:element name="sirenValide" type="boolType" minOccurs="0" />
|
||||
<xs:element name="codeFormeJuridique" type="formeJuridiqueType" minOccurs="0" />
|
||||
<xs:element name="capital" type="decimalType" minOccurs="0" />
|
||||
<xs:element name="capitalType" type="capitalType" minOccurs="0" />
|
||||
<xs:element name="devise" type="deviseType" minOccurs="0" default="EUR" />
|
||||
<xs:element name="capitalNbParts" type="numType" minOccurs="0" />
|
||||
<xs:element name="duree" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:integer">
|
||||
<xs:minInclusive value="0" />
|
||||
<xs:maxInclusive value="99" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissements" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="etablissement" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissement">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Description d'un établissement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="enseigne" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="activite" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="adresse" type="adresseType" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="dirigeants" nillable="true">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Les dirigeants d'une entreprise</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="dirigeant" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="dirigeant">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Description d'un dirigeant</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="civilite" type="civiliteType" minOccurs="0" />
|
||||
<xs:element name="nom" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="nomUsage" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="prenom" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="siren" type="sirenType" minOccurs="0" />
|
||||
<xs:element name="sirenValide" type="boolType" minOccurs="0" />
|
||||
<xs:element name="codeFonction" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9]{3}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="codeMouvement" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9]{2}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateMissionDebut" type="xs:date" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Date d'effet de début de mission d'un dirigeant (notamment pour les CAC)
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="dateMissionFin" type="xs:date" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Date d'effet passée ou à venir de la fin de
|
||||
mission d'un dirigeant (notamment pour les
|
||||
CAC)
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" type="adresseType" minOccurs="0" />
|
||||
<xs:element name="dateNaissance" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="lieuNaissance" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="intervenant">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Zonage des informations liées à chaque mandataire ou autre intervenant de l'annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="civilite" type="civiliteType" minOccurs="0" />
|
||||
<xs:element name="nom" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="prenom" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="roleIntervenant" type="roleIntervenantType" minOccurs="0" />
|
||||
<xs:element name="adresse" type="adresseType" minOccurs="0" />
|
||||
<xs:element name="finMission" type="boolType" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Pour cet intervenant, il s'agit d'une fin de mission</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="intervenants">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Les intervenants d'une procédure collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="intervenant" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="evenements">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Les évènements d'une annonce</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="evenement" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="evenement">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Description d'un evenement</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="codeEvenement" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="[0-9]{4}" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="dateDecision" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="dateEffet" type="xs:date" minOccurs="0" />
|
||||
<xs:element ref="procedureCollective" minOccurs="0" />
|
||||
<xs:element ref="rectificatif" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="procedureCollective" nillable="true">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Description d'une Procédure Collective</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="dateCessationPaiements" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="dateFinPlanObs" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="dureePlanObs" type="xs:string" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Pour les annonces de plans ou les annonces avec périodes d'observation, selon les annonces, la durée du plan ou de la période d'observation est communiqué (36 mois, 8 ans, etc...) ou alors la dateFinPlanObs</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element ref="intervenants" minOccurs="0" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="rectificatif">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Description d'un rectificatif ou annulation</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nomPublication" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="dateParution" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="numParution" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="page" type="numType" minOccurs="0" />
|
||||
<xs:element name="texteRectificatif" type="xs:string" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="acteursCession" nillable="true">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Les acteurs d'une cession</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="acteurCession" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="acteurCession" nillable="true">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="typeActeur" type="typeActeurType" />
|
||||
<xs:element name="identiteActeur">
|
||||
<xs:annotation>
|
||||
<xs:documentation>identité d'une personne Physique ou Morale</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="nom" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="pseudonyme" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="civilite" type="civiliteType" minOccurs="0" />
|
||||
<xs:element name="prenom" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="nomUsage" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="dateNaissance" type="xs:date" minOccurs="0" />
|
||||
<xs:element name="lieuNaissance" type="xs:string" minOccurs="0" />
|
||||
<xs:element name="sigle" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="type" type="typeType" minOccurs="0" />
|
||||
<xs:element name="siren" type="sirenType" minOccurs="0" />
|
||||
<xs:element name="sirenValide" type="boolType" minOccurs="0" />
|
||||
<xs:element name="codeFormeJuridique" type="formeJuridiqueType" minOccurs="0" />
|
||||
<xs:element name="capital" type="decimalType" minOccurs="0" />
|
||||
<xs:element name="capitalType" type="capitalType" minOccurs="0" />
|
||||
<xs:element name="devise" type="deviseType" minOccurs="0" default="EUR" />
|
||||
<xs:element name="capitalNbParts" type="numType" minOccurs="0" />
|
||||
<xs:element name="duree" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:integer">
|
||||
<xs:minInclusive value="0" />
|
||||
<xs:maxInclusive value="99" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="adresse" type="adresseType" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element ref="cessionInfo" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="cessionInfo" nillable="true">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="montantCession" type="decimalType" minOccurs="0" />
|
||||
<xs:element name="deviseMontantCession" type="deviseType" minOccurs="0" />
|
||||
<xs:element name="natureCession" type="alphaNumType" minOccurs="0" />
|
||||
<xs:element name="dureeCession" type="numType" minOccurs="0" />
|
||||
<xs:element name="nbParts" type="numType" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="etablissementsCession" nillable="true">
|
||||
<xs:annotation>
|
||||
<xs:documentation>Les établissements concernés par une cession</xs:documentation>
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element ref="etablissement" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
File diff suppressed because it is too large
Load Diff
@ -1,34 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'bodacc/classMBodacc.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
|
||||
$iDb=new WDB();
|
||||
|
||||
$tabCapital=file('/root/capital.txt');
|
||||
$itot=count($tabCapital);
|
||||
foreach ($tabCapital as $i=>$ligne) {
|
||||
$tabLigne=explode(';', $ligne);
|
||||
//"7500";"EUR";"2";"483246450"
|
||||
$capital_montant=str_replace('"', '', $tabLigne[0]);
|
||||
$capital_devise =str_replace('"', '', $tabLigne[1]);
|
||||
$id =str_replace('"', '', $tabLigne[2]);
|
||||
$siren =str_replace('"', '', $tabLigne[3]);
|
||||
|
||||
$tmp=$iDb->update('bodacc_detail', array( 'Capital'=>$capital_montant,
|
||||
'CapitalDev'=>$capital_devise,
|
||||
'dateUpdate'=>''), "id=$id AND siren=$siren LIMIT 1");
|
||||
if (!$tmp)
|
||||
echo "ERR id=$id\tsiren=$siren\tcapital=$capital_devise $capital_montant\n";
|
||||
// else
|
||||
// echo "OK id=$id\tsiren=$siren\tcapital=$capital_devise $capital_montant\n";
|
||||
|
||||
if ($i%50000==1)
|
||||
echo date('H:i:s d/m/Y')." - $i lignes / $itot\n";
|
||||
|
||||
// die();
|
||||
}
|
||||
|
||||
?>
|
@ -1,314 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBilans.php');
|
||||
include_once(FWK_PATH.'mail/sendMail.php');
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Calcul des ratios de toute la base entreprise S&D.
|
||||
|
||||
Options :
|
||||
-t Calculer tous les ratios (*)
|
||||
-i:XXX Reprendre à la ligne XXX
|
||||
-c Mettre à jour le cache
|
||||
-d:SSAAMMJJhhiiss Forcer la date de dernière MAJ à ...
|
||||
-m:SSAA Recalculer tous les ratios de l'année SSAA
|
||||
-r:XXX,YYY,... Limiter le calcul au ratios suivant : séparateur virgule
|
||||
|
||||
(*) Option par défaut si aucun argument n'est passé.
|
||||
";/* -e:X Calculer pour les X derniers exercices (3 par défaut)
|
||||
-f Calculer les scores financiers
|
||||
*/
|
||||
$iDeb=0;
|
||||
$updateCache=$millesime=$ratio=$modeVerbose=false;
|
||||
$tabRatiosToCalc=array();
|
||||
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (strtolower(substr($argv[$i],1,1))) {
|
||||
case 't':
|
||||
break;
|
||||
case 'i':
|
||||
$iDeb=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'd':
|
||||
$dateDeb=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'm':
|
||||
$millesime=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'r':
|
||||
$ratio=true;
|
||||
$tabRatiosToCalc=explode(',',substr($argv[$i],3));
|
||||
break;
|
||||
case 'v':
|
||||
$modeVerbose=true;
|
||||
break;
|
||||
case 'c':
|
||||
$updateCache=true;
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . ' inconnue !'.EOL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//$iDbI=new WDB('insee');
|
||||
$iDb=new WDB('jo');
|
||||
$iDb2=new WDB('jo');
|
||||
$iInsee=new MInsee();
|
||||
|
||||
if ($updateCache) {
|
||||
include_once(INCLUDE_PATH.'scores/classMRatios.php');
|
||||
if (genereCacheRatios())
|
||||
echo date('Y/m/d - H:i:s') ." - Le cache des ratios a été généré avec succès !".EOL;
|
||||
else
|
||||
echo date('Y/m/d - H:i:s') ." - Erreur lors de la génération du cache des ratios !".EOL;
|
||||
die();
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT du programme de calcul des ratios...".EOL;
|
||||
|
||||
$tabLast=$iDb->select( 'ratios_formules',
|
||||
'max(dateUpdate) AS lastUpdate, max(dateInsert) AS lastInsert',
|
||||
'1');
|
||||
$lastUpdate=$tabLast[0]['lastInsert'];
|
||||
if ($tabLast[0]['lastUpdate']>$lastUpdate) $lastUpdate=$tabLast[0]['lastUpdate'];
|
||||
|
||||
/** On vérifie la présence du cache de calcul des ratios **/
|
||||
if (!file_exists(INCLUDE_PATH.'tmp/configMRatios.php'))
|
||||
die(date('Y/m/d - H:i:s') ." - ERREUR FATALE : Le cache des calculs de ratio n'existe pas !".EOL);
|
||||
/** On vérifie qu'il n'y a pas de nouvelles formules à mettre dans le cache de calcul des ratios **/
|
||||
elseif (strtr($lastUpdate, array(':'=>'','-'=>'', ' '=>''))>date('YmdHis',filectime(INCLUDE_PATH.'tmp/configMRatios.php'))) {
|
||||
sendMail('production@scores-decisions.com', 'ylenaour@scores-decisions.com', "ERREUR FATALE, le cache ratio n'est pas à jour !", date('Y/m/d - H:i:s') ." - ERREUR FATALE : Le cache des calculs de ratio n'est pas à jour (nouvelles formules ?). Relancer à l'option -c !");
|
||||
die(date('Y/m/d - H:i:s') ." - ERREUR FATALE : Le cache des calculs de ratio n'est pas à jour (nouvelles formules ?). Relancer à l'option -c !".EOL);
|
||||
}
|
||||
/** On vérifie que le programme de MAJ du cache n'a pas été modifié **/
|
||||
elseif (date('YmdHis',filectime(INCLUDE_PATH.'scores/classMRatios.php'))>date('YmdHis',filectime(INCLUDE_PATH.'tmp/configMRatios.php'))) // Le fichier de cache est déprécié
|
||||
die(date('Y/m/d - H:i:s') ." - ERREUR FATALE : Le cache des calculs de ratio n'est pas à jour (programme modifié). Relancer à l'option -c !".EOL);
|
||||
|
||||
include_once(INCLUDE_PATH.'tmp/configMRatios.php');
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - Formules de calcul des ratios déjà en cache.".EOL;
|
||||
|
||||
/** Recherche de la dernière mise à jour des ratios secteurs **/
|
||||
$tabLast=$iDb->select( 'ratios_secteurs',
|
||||
'max(dateUpdate) AS lastUpdate, max(dateInsert) AS lastInsert',
|
||||
'1');
|
||||
$lastUpdate=$tabLast[0]['lastInsert'];
|
||||
if ($tabLast[0]['lastUpdate']>$lastUpdate) $lastUpdate=$tabLast[0]['lastUpdate'];
|
||||
if ($dateDeb>20000101123000) $lastUpdate=$dateDeb;
|
||||
$lastDateUpdate=strtr($lastUpdate,array(' '=>'',':'=>'','-'=>''));
|
||||
|
||||
echo(date('Y/m/d - H:i:s') ." - La dernière mise à jour des ratios secteurs date du $lastUpdate...".EOL);
|
||||
|
||||
$nbRows=$iDb->select( 'ratios_tmp', 'siren, lastUpdate', "1", false, MYSQL_ASSOC, true);
|
||||
if ($nbRows>0) {
|
||||
$modeSuite=true;
|
||||
echo date('Y/m/d - H:i:s') ." - Il reste $nbRows entreprises pour lesquels il faut mettre à jour les ratios secteurs...".EOL;
|
||||
} else {
|
||||
/** On met en table temporaire les siren en cas de plantage du script **/
|
||||
$modeSuite=false;
|
||||
|
||||
if ($millesime) {
|
||||
// Liste des derniers Bilans insérés depuis le dernier calcul des ratios
|
||||
$nbRows=$iDb->select( 'bilans', 'DISTINCT siren', "siren>100 AND dateExercice BETWEEN $milles"."0101 AND $millesime"."1231 AND typeBilan IN ('N','S','',' ','A','B') ORDER BY dateInsert DESC", false, MYSQL_ASSOC, true);
|
||||
echo date('Y/m/d - H:i:s') ." - Il y a $nbRows entreprises avec des bilans millésimes $millesime pour calcul des ratios secteurs...".EOL;
|
||||
//die();
|
||||
} else {
|
||||
// Date du dernier bilan inseré
|
||||
$tabLast=$iDb->select( 'bilans',
|
||||
'MAX(dateInsert) AS lastDateInsert',
|
||||
"siren>100 AND dateInsert>='$lastUpdate' AND typeBilan IN ('N','S','',' ','A','B') ORDER BY dateInsert DESC");
|
||||
$lastDateBilan=strtr($tabLast[0]['lastDateInsert'],array(' '=>'',':'=>'','-'=>''));
|
||||
echo(date('Y/m/d - H:i:s') ." - Le dernier bilan inséré en base date du $lastDateBilan...".EOL);
|
||||
// Liste des derniers Bilans insérés depuis le dernier calcul des ratios
|
||||
$nbRows=$iDb->select( 'bilans', 'DISTINCT siren', "siren>100 AND dateInsert>='$lastUpdate' AND typeBilan IN ('N','',' ','A','B') ORDER BY dateInsert DESC", false, MYSQL_ASSOC, true);
|
||||
echo date('Y/m/d - H:i:s') ." - Il y a $nbRows entreprises avec nouveaux bilans pour calcul des ratios secteurs...".EOL;
|
||||
}
|
||||
$iDb2->query('DROP TABLE IF EXISTS ratios_tmp;');
|
||||
if (mysql_errno()>0) echo date('Y/m/d - H:i:s') .' - ERREUR SQL lors de la création de la table temporaires, n°'.mysql_errno().' : '.mysql_error().EOL;
|
||||
$strSQL="CREATE TABLE IF NOT EXISTS ratios_tmp (
|
||||
siren int(9) unsigned zerofill NOT NULL,
|
||||
lastUpdate bigint(14) unsigned zerofill NOT NULL COMMENT 'Date de dernière mise à jour de la table ratio',
|
||||
lastBilan bigint(14) unsigned zerofill NOT NULL COMMENT 'Dernier bilan enregistré dans la table bilan',
|
||||
millesime year(4) unsigned NULL DEFAULT NULL COMMENT 'Paramètre millesime si défini',
|
||||
PRIMARY KEY(siren)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='TEMP - Liste des bilans dont il faut calculer les ratios';";
|
||||
$iDb2->query($strSQL);
|
||||
if (mysql_errno()>0) echo date('Y/m/d - H:i:s') .' - ERREUR SQL lors de la création de la table temporaires, n°'.mysql_errno().' : '.mysql_error().EOL;
|
||||
while($entrep=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
if (!$millesime) $millesimeDb='NULL'; else $millesimeDb=$millesime;
|
||||
$iDb2->insert('ratios_tmp', array( 'siren' =>$entrep['siren'],
|
||||
'lastUpdate'=>$lastDateUpdate, // Date de dernière mise à jour de la table ratio
|
||||
'lastBilan' =>$lastDateBilan, // Dernier bilan enregistré dans la table bilan
|
||||
'millesime' =>$millesimeDb)); // On enregistre le paramètre millesime
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - Les éléments ont été mis en table temporaire en cas de reprise sur erreur !".EOL;
|
||||
$nbRows=$iDb->select( 'ratios_tmp', 'siren, lastUpdate, lastBilan, millesime', "1", false, MYSQL_ASSOC, true);
|
||||
}
|
||||
|
||||
$k=0; // Compteur d'entreprises
|
||||
$b=0; // Compteur total de bilans
|
||||
while($entrep=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
if ($modeSuite && $k==0) $lastDateUpdate=$entrep['lastUpdate'];
|
||||
$millesime=$entrep['millesime'];
|
||||
|
||||
$k++;
|
||||
if ($k<$iDeb) continue;
|
||||
|
||||
$siren=$entrep['siren'];
|
||||
if ($siren<100) continue;
|
||||
// else echo "$siren\n";
|
||||
$naf4=$naf5='';
|
||||
unset($mBil);
|
||||
|
||||
$mBil=new MBilans($siren);
|
||||
|
||||
/** Récupération des informations Identitaires **/
|
||||
$tabIdentite=@$iInsee->getIdentiteLight($siren);
|
||||
$naf=$tabIdentite['NafEnt'];
|
||||
$nafLib=$tabIdentite['NafEntLib'];
|
||||
$efftr=$tabIdentite['Effectif'];
|
||||
$fj=$tabIdentite['FJ'];
|
||||
|
||||
/** On Recherche le dernier Bilan mis à jour **/
|
||||
$tabBilans=$mBil->listeBilans();
|
||||
$nbBilansTot=count($tabBilans);
|
||||
$tabBilans2=array();
|
||||
foreach ($tabBilans as $mil=>$infosBilan) {
|
||||
/** On vérifie s'il n'y a pas de Bilan vide **/
|
||||
if ($infosBilan['dureeExercice']==0) {
|
||||
if ($modeVerbose) {
|
||||
print_r($infosBilan);
|
||||
echo date('Y/m/d - H:i:s') ." - Erreur : Bilans vide en base pour le siren $siren !".EOL;
|
||||
}
|
||||
$iDb2->delete('ratios_tmp', "siren=$siren");
|
||||
continue(2);
|
||||
}
|
||||
/** On ne garde que les Bilans dont la date de provenance est > à la date de dernière Mise à jour
|
||||
** car les ratios secteurs des autres bilans on déjà été calculés ! **/
|
||||
if ($millesime && $infosBilan['millesime']==$millesime)
|
||||
//echo "APRES ### $siren : $nbBilansTot bilans, $millesime = ".$infosBilan['millesime'].EOL;
|
||||
$tabBilans2[$mil]=$infosBilan;
|
||||
elseif (!$millesime && $infosBilan['dateInsert']>=$lastDateUpdate)
|
||||
$tabBilans2[$mil]=$infosBilan;
|
||||
/*else
|
||||
echo "DALLE ### $siren : $nbBilansTot bilans, $millesime = ".$infosBilan['millesime']." ### QUE DALLE !!!!".EOL;*/
|
||||
}
|
||||
|
||||
$nbBilans=count($tabBilans2);
|
||||
$tabBilan=$tabBil=array();
|
||||
if ($nbBilans==0) {
|
||||
if ($modeVerbose) {
|
||||
print_r($tabBilans2);
|
||||
echo date('Y/m/d - H:i:s') ." - Erreur : Aucun nouveau bilan en base pour le siren $siren sur les $nbBilansTot bilans !".EOL;
|
||||
print_r($tabBilans);
|
||||
}
|
||||
$iDb2->delete('ratios_tmp', "siren=$siren");
|
||||
continue;
|
||||
}
|
||||
|
||||
$tabRatios=@calculRatios($tabBilans2, $tabIdentite, false, 999);
|
||||
if (strlen($naf)>4) $naf5=$naf; else $naf4=$naf;
|
||||
|
||||
if ($tabBilan[0]['CONSOLIDE']=='A') $naf4='ASSU';
|
||||
elseif ($tabBilan[0]['CONSOLIDE']=='B') $naf4='BANQ';
|
||||
|
||||
if ($modeVerbose && ($naf4=='ASSU' || $naf4=='BANQ')) {
|
||||
//sendMail('production@scores-decisions.com', 'ylenaour@scores-decisions.com', "Calcul des ratios : Attention bilan de e", "Siren $siren, bilan $naf4".EOL.print_r($tabBilans));
|
||||
echo "Bilan '$naf4' pour le siren $siren et l'année $annee !".EOL;
|
||||
}
|
||||
|
||||
foreach ($tabFormules as $f=>$formule) {
|
||||
foreach ($tabRatios as $i=>$R) {
|
||||
$id=$formule['id'];
|
||||
// Si on demande seulement le calcul d'un ratio alors on vérifie le numéro du ratio
|
||||
if ($ratio && !in_array($id, $tabRatiosToCalc)) continue;
|
||||
|
||||
if ($f==0) $b++;
|
||||
// Si on n'est pas une banque/assurance, on ne calcul pas les ratios 700 à 799
|
||||
if ($naf4<>'ASSU' && $naf4<>'BANQ' && $id>=700 && $id<800)
|
||||
continue;
|
||||
|
||||
$annee=substr($tabBilan[$i]['DATE_CLOTURE'],0,4);
|
||||
// Si on demande seulement le calcul d'un millésime alors on vérifie la date du bilan
|
||||
if ($millesime && $annee<>$millesime) continue;
|
||||
|
||||
if ($R[$id]==='NS' || $R[$id]===false ) {
|
||||
if ($modeVebose) echo "Le ratio n°$id est non significatif (".$R[$id].") pour le siren $siren et l'année $annee !".EOL;
|
||||
continue;
|
||||
}
|
||||
|
||||
/** Si c'est un ratio EUR, on le passe en K€ **/
|
||||
if ($formule['unite']=='EUR') $mt=$R[$id]/1000;
|
||||
else $mt=$R[$id];
|
||||
|
||||
/** On vérifie les bornes MIN et MAX **/
|
||||
if ($formule['min']<>'' && $mt<$formule['min']) {
|
||||
if ($modeVerbose) echo "Ratio n°$id, borne Mini non nulle (".$formule['min'].") et le montant est inférieur : $mt<".$formule['min']." pour le siren $siren et l'année $annee".EOL;
|
||||
continue;
|
||||
} elseif ($formule['max']<>'' && $mt>$formule['max']) {
|
||||
if ($modeVerbose) echo "Ratio n°$id, borne Maxi non nulle (".$formule['max'].") et le montant est supérieur : $mt>".$formule['max']." pour le siren $siren et l'année $annee".EOL;
|
||||
continue;
|
||||
} //else
|
||||
//echo "Ratio n°$id compris entre bornes ".$formule['min']." < $mt < ".$formule['max']." pour le siren $siren et l'année $annee".EOL;
|
||||
|
||||
/** Lecture des chiffres existants dans la table ratios_secteurs **/
|
||||
$tabTmp=$iDb2->select( 'ratios_secteurs',
|
||||
'montant, nombre, id, naf4, naf5, annee',
|
||||
"id=$id AND naf4='$naf4' AND naf5='$naf5' AND annee=$annee",
|
||||
false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) {
|
||||
$mt2=$mt+$tabTmp[0]['montant'];
|
||||
$nb2=$tabTmp[0]['nombre'] + 1;
|
||||
} else {
|
||||
$mt2=$mt;
|
||||
$nb2=1;
|
||||
}
|
||||
|
||||
$tabUpdate=array( 'montant' => $mt2,
|
||||
'nombre' => $nb2,
|
||||
);
|
||||
if (!$iDb2->update('ratios_secteurs', $tabUpdate, "id=$id AND naf4='$naf4' AND naf5='$naf5' AND annee=$annee") || $iDb2->getAffectedRows()==0 ) { // getAffectedRows ajouté le 14 mai 2009
|
||||
$tabInsert=array_merge($tabUpdate, array( 'id'=>$id,
|
||||
'naf4'=>$naf4,
|
||||
'naf5'=>$naf5,
|
||||
'annee'=>$annee,
|
||||
'dateInsert'=>$lastDateBilan,
|
||||
));
|
||||
if (!$iDb2->insert('ratios_secteurs', $tabInsert) && mysql_errno()<>1062) {
|
||||
$pct=round(($k/$nbRows)*100,2);
|
||||
echo date('Y/m/d - H:i:s') ." - $k entreprises ($pct %) dont les ratios ont été calculés pour un total de $b bilans ($siren)...".EOL;
|
||||
echo date('Y/m/d - H:i:s') .' - ERREUR SQL n°'.mysql_errno().' : '.mysql_error().EOL;
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
||||
if ($k%1000==0 && $f==0 && $i==0) {
|
||||
$pct=round(($k/$nbRows)*100,2);
|
||||
echo date('Y/m/d - H:i:s') ." - $k entreprises ($pct %) dont les ratios ont été calculés pour un total de $b bilans ($siren)...".EOL;
|
||||
}
|
||||
}
|
||||
}
|
||||
$iDb2->delete('ratios_tmp', "siren=$siren");
|
||||
if (mysql_errno()>0) echo date('Y/m/d - H:i:s') .' - ERREUR SQL lors de la suppression des informations temporaires, n°'.mysql_errno().' : '.mysql_error().EOL;
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - Les ratios ont été mis à jour ; suppression des informations temporaires.".EOL;
|
||||
|
||||
$iDb2->query('DROP TABLE IF EXISTS jo.ratios_tmp;');
|
||||
|
||||
die(date('Y/m/d - H:i:s') ." - Fin du programme.".EOL);
|
||||
|
||||
?>
|
@ -1,315 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBilans.php');
|
||||
include_once(FWK_PATH.'mail/sendMail.php');
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Calcul des ratios de toute la base entreprise S&D.
|
||||
|
||||
Options :
|
||||
-t Calculer tous les ratios (*)
|
||||
-i:XXX Reprendre à la ligne XXX
|
||||
-c Mettre à jour le cache
|
||||
-d:SSAAMMJJhhiiss Forcer la date de dernière MAJ à ...
|
||||
-m:SSAA Recalculer tous les ratios de l'année SSAA
|
||||
-r:XXX,YYY,... Limiter le calcul au ratios suivant : séparateur virgule
|
||||
|
||||
(*) Option par défaut si aucun argument n'est passé.
|
||||
";/* -e:X Calculer pour les X derniers exercices (3 par défaut)
|
||||
-f Calculer les scores financiers
|
||||
*/
|
||||
$iDeb=0;
|
||||
$updateCache=$millesime=$ratio=$modeVerbose=false;
|
||||
$tabRatiosToCalc=array();
|
||||
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (strtolower(substr($argv[$i],1,1))) {
|
||||
case 't':
|
||||
break;
|
||||
case 'i':
|
||||
$iDeb=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'd':
|
||||
$dateDeb=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'm':
|
||||
$millesime=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'r':
|
||||
$ratio=true;
|
||||
$tabRatiosToCalc=explode(',',substr($argv[$i],3));
|
||||
break;
|
||||
case 'v':
|
||||
$modeVerbose=true;
|
||||
break;
|
||||
case 'c':
|
||||
$updateCache=true;
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . ' inconnue !'.EOL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//$iDbI=new WDB('insee');
|
||||
$iDb=new WDB('jo');
|
||||
$iDb2=new WDB('jo');
|
||||
$iInsee=new MInsee();
|
||||
|
||||
if ($updateCache) {
|
||||
include_once(INCLUDE_PATH.'scores/classMRatios.php');
|
||||
if (genereCacheRatios())
|
||||
echo date('Y/m/d - H:i:s') ." - Le cache des ratios a été généré avec succès !".EOL;
|
||||
else
|
||||
echo date('Y/m/d - H:i:s') ." - Erreur lors de la génération du cache des ratios !".EOL;
|
||||
die();
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT du programme de calcul des ratios...".EOL;
|
||||
|
||||
$tabLast=$iDb->select( 'ratios_formules',
|
||||
'max(dateUpdate) AS lastUpdate, max(dateInsert) AS lastInsert',
|
||||
'1');
|
||||
$lastUpdate=$tabLast[0]['lastInsert'];
|
||||
if ($tabLast[0]['lastUpdate']>$lastUpdate) $lastUpdate=$tabLast[0]['lastUpdate'];
|
||||
|
||||
/** On vérifie la présence du cache de calcul des ratios **/
|
||||
if (!file_exists(INCLUDE_PATH.'tmp/configMRatios.php'))
|
||||
die(date('Y/m/d - H:i:s') ." - ERREUR FATALE : Le cache des calculs de ratio n'existe pas !".EOL);
|
||||
/** On vérifie qu'il n'y a pas de nouvelles formules à mettre dans le cache de calcul des ratios **/
|
||||
elseif (strtr($lastUpdate, array(':'=>'','-'=>'', ' '=>''))>date('YmdHis',filectime(INCLUDE_PATH.'tmp/configMRatios.php'))) {
|
||||
sendMail('production@scores-decisions.com', 'ylenaour@scores-decisions.com', "ERREUR FATALE, le cache ratio n'est pas à jour !", date('Y/m/d - H:i:s') ." - ERREUR FATALE : Le cache des calculs de ratio n'est pas à jour (nouvelles formules ?). Relancer à l'option -c !");
|
||||
die(date('Y/m/d - H:i:s') ." - ERREUR FATALE : Le cache des calculs de ratio n'est pas à jour (nouvelles formules ?). Relancer à l'option -c !".EOL);
|
||||
}
|
||||
/** On vérifie que le programme de MAJ du cache n'a pas été modifié **/
|
||||
elseif (date('YmdHis',filectime(INCLUDE_PATH.'scores/classMRatios.php'))>date('YmdHis',filectime(INCLUDE_PATH.'tmp/configMRatios.php'))) // Le fichier de cache est déprécié
|
||||
die(date('Y/m/d - H:i:s') ." - ERREUR FATALE : Le cache des calculs de ratio n'est pas à jour (programme modifié). Relancer à l'option -c !".EOL);
|
||||
|
||||
include_once(INCLUDE_PATH.'tmp/configMRatios.php');
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - Formules de calcul des ratios déjà en cache.".EOL;
|
||||
|
||||
/** Recherche de la dernière mise à jour des ratios secteurs **/
|
||||
$tabLast=$iDb->select( 'ratios_secteurs',
|
||||
'max(dateUpdate) AS lastUpdate, max(dateInsert) AS lastInsert',
|
||||
'1');
|
||||
$lastUpdate=$tabLast[0]['lastInsert'];
|
||||
if ($tabLast[0]['lastUpdate']>$lastUpdate) $lastUpdate=$tabLast[0]['lastUpdate'];
|
||||
if ($dateDeb>20000101123000) $lastUpdate=$dateDeb;
|
||||
$lastDateUpdate=strtr($lastUpdate,array(' '=>'',':'=>'','-'=>''));
|
||||
|
||||
echo(date('Y/m/d - H:i:s') ." - La dernière mise à jour des ratios secteurs date du $lastUpdate...".EOL);
|
||||
|
||||
$nbRows=$iDb->select( 'ratios_tmp', 'siren, lastUpdate', "1", false, MYSQL_ASSOC, true);
|
||||
if ($nbRows>0) {
|
||||
$modeSuite=true;
|
||||
echo date('Y/m/d - H:i:s') ." - Il reste $nbRows entreprises pour lesquels il faut mettre à jour les ratios secteurs...".EOL;
|
||||
} else {
|
||||
/** On met en table temporaire les siren en cas de plantage du script **/
|
||||
$modeSuite=false;
|
||||
|
||||
if ($millesime) {
|
||||
// Liste des derniers Bilans insérés depuis le dernier calcul des ratios
|
||||
$nbRows=$iDb->select( 'bilans', 'DISTINCT siren', "siren>100 AND dateExercice BETWEEN $milles"."0101 AND $millesime"."1231 AND typeBilan IN ('N','S','',' ','A','B') ORDER BY dateInsert DESC", false, MYSQL_ASSOC, true);
|
||||
echo date('Y/m/d - H:i:s') ." - Il y a $nbRows entreprises avec des bilans millésimes $millesime pour calcul des ratios secteurs...".EOL;
|
||||
//die();
|
||||
} else {
|
||||
// Date du dernier bilan inseré
|
||||
$tabLast=$iDb->select( 'bilans',
|
||||
'MAX(dateInsert) AS lastDateInsert',
|
||||
"siren>100 AND dateInsert>='$lastUpdate' AND typeBilan IN ('N','S','',' ','A','B') ORDER BY dateInsert DESC");
|
||||
$lastDateBilan=strtr($tabLast[0]['lastDateInsert'],array(' '=>'',':'=>'','-'=>''));
|
||||
echo(date('Y/m/d - H:i:s') ." - Le dernier bilan inséré en base date du $lastDateBilan...".EOL);
|
||||
// Liste des derniers Bilans insérés depuis le dernier calcul des ratios
|
||||
$nbRows=$iDb->select( 'bilans', 'DISTINCT siren', "siren>100 AND dateInsert>='$lastUpdate' AND typeBilan IN ('N','',' ','A','B') ORDER BY dateInsert DESC", false, MYSQL_ASSOC, true);
|
||||
echo date('Y/m/d - H:i:s') ." - Il y a $nbRows entreprises avec nouveaux bilans pour calcul des ratios secteurs...".EOL;
|
||||
}
|
||||
$iDb2->query('DROP TABLE IF EXISTS ratios_tmp;');
|
||||
if (mysql_errno()>0) echo date('Y/m/d - H:i:s') .' - ERREUR SQL lors de la création de la table temporaires, n°'.mysql_errno().' : '.mysql_error().EOL;
|
||||
$strSQL="CREATE TABLE IF NOT EXISTS ratios_tmp (
|
||||
siren int(9) unsigned zerofill NOT NULL,
|
||||
lastUpdate bigint(14) unsigned zerofill NOT NULL COMMENT 'Date de dernière mise à jour de la table ratio',
|
||||
lastBilan bigint(14) unsigned zerofill NOT NULL COMMENT 'Dernier bilan enregistré dans la table bilan',
|
||||
millesime year(4) unsigned NULL DEFAULT NULL COMMENT 'Paramètre millesime si défini',
|
||||
PRIMARY KEY(siren)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='TABLE TEMPORAIRE - Liste des bilans dont il faut calculer les ratios';";
|
||||
$iDb2->query($strSQL);
|
||||
if (mysql_errno()>0) echo date('Y/m/d - H:i:s') .' - ERREUR SQL lors de la création de la table temporaires, n°'.mysql_errno().' : '.mysql_error().EOL;
|
||||
while($entrep=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
if (!$millesime) $millesimeDb='NULL'; else $millesimeDb=$millesime;
|
||||
$iDb2->insert('ratios_tmp', array( 'siren' =>$entrep['siren'],
|
||||
'lastUpdate'=>$lastDateUpdate, // Date de dernière mise à jour de la table ratio
|
||||
'lastBilan' =>$lastDateBilan, // Dernier bilan enregistré dans la table bilan
|
||||
'millesime' =>$millesimeDb)); // On enregistre le paramètre millesime
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - Les éléments ont été mis en table temporaire en cas de reprise sur erreur !".EOL;
|
||||
$nbRows=$iDb->select( 'ratios_tmp', 'siren, lastUpdate, lastBilan, millesime', "1", false, MYSQL_ASSOC, true);
|
||||
}
|
||||
|
||||
$k=0; // Compteur d'entreprises
|
||||
$b=0; // Compteur total de bilans
|
||||
while($entrep=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
if ($modeSuite && $k==0) $lastDateUpdate=$entrep['lastUpdate'];
|
||||
$millesime=$entrep['millesime'];
|
||||
|
||||
$k++;
|
||||
if ($k<$iDeb) continue;
|
||||
|
||||
$siren=$entrep['siren'];
|
||||
if ($siren<100) continue;
|
||||
// else echo "$siren\n";
|
||||
$naf4=$naf5='';
|
||||
unset($mBil);
|
||||
|
||||
$mBil=new MBilans($siren);
|
||||
|
||||
/** Récupération des informations Identitaires **/
|
||||
$tabIdentite=@$iInsee->getIdentiteLight($siren);
|
||||
$naf=$tabIdentite['NafEnt'];
|
||||
$nafLib=$tabIdentite['NafEntLib'];
|
||||
$efftr=$tabIdentite['Effectif'];
|
||||
$fj=$tabIdentite['FJ'];
|
||||
|
||||
/** On Recherche le dernier Bilan mis à jour **/
|
||||
$tabBilans=$mBil->listeBilans();
|
||||
$nbBilansTot=count($tabBilans);
|
||||
$tabBilans2=array();
|
||||
foreach ($tabBilans as $mil=>$infosBilan) {
|
||||
/** On vérifie s'il n'y a pas de Bilan vide **/
|
||||
if ($infosBilan['dureeExercice']==0) {
|
||||
if ($modeVerbose) {
|
||||
print_r($infosBilan);
|
||||
echo date('Y/m/d - H:i:s') ." - Erreur : Bilans vide en base pour le siren $siren !".EOL;
|
||||
}
|
||||
$iDb2->delete('ratios_tmp', "siren=$siren");
|
||||
continue(2);
|
||||
}
|
||||
/** On ne garde que les Bilans dont la date de provenance est > à la date de dernière Mise à jour
|
||||
** car les ratios secteurs des autres bilans on déjà été calculés ! **/
|
||||
if ($millesime && $infosBilan['millesime']==$millesime) {
|
||||
//echo "APRES ### $siren : $nbBilansTot bilans, $millesime = ".$infosBilan['millesime'].EOL;
|
||||
$tabBilans2[$mil]=$infosBilan;
|
||||
}
|
||||
elseif (!$millesime && $infosBilan['dateInsert']>=$lastDateUpdate)
|
||||
$tabBilans2[$mil]=$infosBilan;
|
||||
/*else
|
||||
echo "DALLE ### $siren : $nbBilansTot bilans, $millesime = ".$infosBilan['millesime']." ### QUE DALLE !!!!".EOL;*/
|
||||
}
|
||||
|
||||
$nbBilans=count($tabBilans2);
|
||||
$tabBilan=$tabBil=array();
|
||||
if ($nbBilans==0) {
|
||||
if ($modeVerbose) {
|
||||
print_r($tabBilans2);
|
||||
echo date('Y/m/d - H:i:s') ." - Erreur : Aucun nouveau bilan en base pour le siren $siren sur les $nbBilansTot bilans !".EOL;
|
||||
print_r($tabBilans);
|
||||
}
|
||||
$iDb2->delete('ratios_tmp', "siren=$siren");
|
||||
continue;
|
||||
}
|
||||
|
||||
$tabRatios=@calculRatios($tabBilans2, $tabIdentite, false, 999);
|
||||
if (strlen($naf)>4) $naf5=$naf; else $naf4=$naf;
|
||||
|
||||
if ($tabBilan[0]['CONSOLIDE']=='A') $naf4='ASSU';
|
||||
elseif ($tabBilan[0]['CONSOLIDE']=='B') $naf4='BANQ';
|
||||
|
||||
if ($modeVerbose && ($naf4=='ASSU' || $naf4=='BANQ')) {
|
||||
//sendMail('production@scores-decisions.com', 'ylenaour@scores-decisions.com', "Calcul des ratios : Attention bilan de e", "Siren $siren, bilan $naf4".EOL.print_r($tabBilans));
|
||||
echo "Bilan '$naf4' pour le siren $siren et l'année $annee !".EOL;
|
||||
}
|
||||
|
||||
foreach ($tabFormules as $f=>$formule) {
|
||||
foreach ($tabRatios as $i=>$R) {
|
||||
$id=$formule['id'];
|
||||
// Si on demande seulement le calcul d'un ratio alors on vérifie le numéro du ratio
|
||||
if ($ratio && !in_array($id, $tabRatiosToCalc)) continue;
|
||||
|
||||
if ($f==0) $b++;
|
||||
// Si on n'est pas une banque/assurance, on ne calcul pas les ratios 700 à 799
|
||||
if ($naf4<>'ASSU' && $naf4<>'BANQ' && $id>=700 && $id<800)
|
||||
continue;
|
||||
|
||||
$annee=substr($tabBilan[$i]['DATE_CLOTURE'],0,4);
|
||||
// Si on demande seulement le calcul d'un millésime alors on vérifie la date du bilan
|
||||
if ($millesime && $annee<>$millesime) continue;
|
||||
|
||||
if ($R[$id]==='NS' || $R[$id]===false ) {
|
||||
if ($modeVebose) echo "Le ratio n°$id est non significatif (".$R[$id].") pour le siren $siren et l'année $annee !".EOL;
|
||||
continue;
|
||||
}
|
||||
|
||||
/** Si c'est un ratio EUR, on le passe en K€ **/
|
||||
if ($formule['unite']=='EUR') $mt=$R[$id]/1000;
|
||||
else $mt=$R[$id];
|
||||
|
||||
/** On vérifie les bornes MIN et MAX **/
|
||||
if ($formule['min']<>'' && $mt<$formule['min']) {
|
||||
if ($modeVerbose) echo "Ratio n°$id, borne Mini non nulle (".$formule['min'].") et le montant est inférieur : $mt<".$formule['min']." pour le siren $siren et l'année $annee".EOL;
|
||||
continue;
|
||||
} elseif ($formule['max']<>'' && $mt>$formule['max']) {
|
||||
if ($modeVerbose) echo "Ratio n°$id, borne Maxi non nulle (".$formule['max'].") et le montant est supérieur : $mt>".$formule['max']." pour le siren $siren et l'année $annee".EOL;
|
||||
continue;
|
||||
} //else
|
||||
//echo "Ratio n°$id compris entre bornes ".$formule['min']." < $mt < ".$formule['max']." pour le siren $siren et l'année $annee".EOL;
|
||||
|
||||
/** Lecture des chiffres existants dans la table ratios_secteurs **/
|
||||
$tabTmp=$iDb2->select( 'ratios_secteurs',
|
||||
'montant, nombre, id, naf4, naf5, annee',
|
||||
"id=$id AND naf4='$naf4' AND naf5='$naf5' AND annee=$annee",
|
||||
false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) {
|
||||
$mt2=$mt+$tabTmp[0]['montant'];
|
||||
$nb2=$tabTmp[0]['nombre'] + 1;
|
||||
} else {
|
||||
$mt2=$mt;
|
||||
$nb2=1;
|
||||
}
|
||||
|
||||
$tabUpdate=array( 'montant' => $mt2,
|
||||
'nombre' => $nb2,
|
||||
);
|
||||
if (!$iDb2->update('ratios_secteurs', $tabUpdate, "id=$id AND naf4='$naf4' AND naf5='$naf5' AND annee=$annee") || $iDb2->getAffectedRows()==0 ) { // getAffectedRows ajouté le 14 mai 2009
|
||||
$tabInsert=array_merge($tabUpdate, array( 'id'=>$id,
|
||||
'naf4'=>$naf4,
|
||||
'naf5'=>$naf5,
|
||||
'annee'=>$annee,
|
||||
'dateInsert'=>$lastDateBilan,
|
||||
));
|
||||
if (!$iDb2->insert('ratios_secteurs', $tabInsert) && mysql_errno()<>1062) {
|
||||
$pct=round(($k/$nbRows)*100,2);
|
||||
echo date('Y/m/d - H:i:s') ." - $k entreprises ($pct %) dont les ratios ont été calculés pour un total de $b bilans ($siren)...".EOL;
|
||||
echo date('Y/m/d - H:i:s') .' - ERREUR SQL n°'.mysql_errno().' : '.mysql_error().EOL;
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
||||
if ($k%1000==0 && $f==0 && $i==0) {
|
||||
$pct=round(($k/$nbRows)*100,2);
|
||||
echo date('Y/m/d - H:i:s') ." - $k entreprises ($pct %) dont les ratios ont été calculés pour un total de $b bilans ($siren)...".EOL;
|
||||
}
|
||||
}
|
||||
}
|
||||
$iDb2->delete('ratios_tmp', "siren=$siren");
|
||||
if (mysql_errno()>0) echo date('Y/m/d - H:i:s') .' - ERREUR SQL lors de la suppression des informations temporaires, n°'.mysql_errno().' : '.mysql_error().EOL;
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - Les ratios ont été mis à jour ; suppression des informations temporaires.".EOL;
|
||||
|
||||
$iDb2->query('DROP TABLE IF EXISTS jo.ratios_tmp;');
|
||||
|
||||
die(date('Y/m/d - H:i:s') ." - Fin du programme.".EOL);
|
||||
|
||||
?>
|
@ -1,112 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBilans.php');
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Calcul des ratios de toute la base entreprise S&D.
|
||||
|
||||
Options :
|
||||
-t Calculer tous les ratios (*)
|
||||
-i:XXX Reprendre à la ligne XXX
|
||||
-c Mettre à jour le cache
|
||||
|
||||
(*) Option par défaut si aucun argument n'est passé.
|
||||
";/* -e:X Calculer pour les X derniers exercices (3 par défaut)
|
||||
-f Calculer les scores financiers
|
||||
*/
|
||||
$iDeb=0;
|
||||
$updateCache=false;
|
||||
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (strtolower(substr($argv[$i],1,1))) {
|
||||
case 't':
|
||||
break;
|
||||
case 'i':
|
||||
$iDeb=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'c':
|
||||
$updateCache=true;
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . ' inconnue !'.EOL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//$iDbI=new WDB('insee');
|
||||
$iDb=new WDB('jo');
|
||||
$iDb2=new WDB('jo');
|
||||
$iInsee=new MInsee();
|
||||
$limit=1000000;
|
||||
$iFin=504;//2/*504*/;
|
||||
|
||||
$tabFormule=$tabSecteursMt=$tabSecteursNb=array();
|
||||
|
||||
$tabFormules=$iDb->select( 'ratios_formules',
|
||||
'id, libelle, formule, unite, commentaires, deleted, borneMin, borneMax',
|
||||
'deleted=0');
|
||||
foreach ($tabFormules as $i=>$formule) {
|
||||
$id=$formule['id']*1;
|
||||
//$tabFormule['f'.$id]['libelle']=$formule['libelle'];
|
||||
$tabFormule['f'.$id]['unite']=$formule['unite'];
|
||||
$tabFormule['f'.$id]['min']=$formule['borneMin'];
|
||||
$tabFormule['f'.$id]['max']=$formule['borneMax'];
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - Formules mises en mémoire ...".EOL;
|
||||
//print_r($tabFormule);die();
|
||||
|
||||
for ($iDeb=0; $iDeb<=$iFin*$limit; $iDeb+=$limit) {
|
||||
$nbRows=$iDb->select( 'ratios_test2', 'siren, id, naf4, naf5, millesime, montant', "1 LIMIT $iDeb,$limit", false, MYSQL_ASSOC, true);
|
||||
$iDebAff=$iDeb/$limit;
|
||||
echo date('Y/m/d - H:i:s') ." - Tranche de ratios n°$iDebAff/$iFin...".EOL;
|
||||
while($entrep=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
if ($tabFormule['f'.$entrep['id']]['unite']=='EUR') $mt=$entrep['montant']/1000;
|
||||
else $mt=$entrep['montant'];
|
||||
if ($tabFormule['f'.$entrep['id']]['min']!==NULL && $mt<$tabFormule['f'.$entrep['id']]['min']) {
|
||||
//echo 'Borne Mini non nulle ('.$tabFormule['f'.$entrep['id']]['min'].") et le montant est inférieur : $mt<".$tabFormule['f'.$entrep['id']]['min']."!\n";
|
||||
continue;
|
||||
} elseif ($tabFormule['f'.$entrep['id']]['max']!==NULL && $mt>$tabFormule['f'.$entrep['id']]['max']) {
|
||||
//echo 'Borne Maxi non nulle ('.$tabFormule['f'.$entrep['id']]['max'].") et le montant est supéreiur : $mt>".$tabFormule['f'.$entrep['id']]['max']."!\n";
|
||||
continue;
|
||||
} /*else
|
||||
echo 'Ratio compris entre bornes '.$tabFormule['f'.$entrep['id']]['min']." < $mt < ".$tabFormule['f'.$entrep['id']]['max'].".\n";
|
||||
*/
|
||||
$tabSecteursMt[$entrep['id'].'-'.$entrep['naf4'].'-'.$entrep['naf5'].'-'.$entrep['millesime']]+=$mt;
|
||||
$tabSecteursNb[$entrep['id'].'-'.$entrep['naf4'].'-'.$entrep['naf5'].'-'.$entrep['millesime']]++;
|
||||
}
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - Insertion en base des ".count($tabSecteursMt)." ratios secteurs...".EOL;
|
||||
$dateInsert=date('YmdHis');
|
||||
foreach ($tabSecteursMt as $cleSecteur=>$mt) {
|
||||
$tmp=explode('-', $cleSecteur);
|
||||
|
||||
$tabInsert=array( 'id' => $tmp[0],
|
||||
'naf4' => $tmp[1],
|
||||
'naf5' => $tmp[2],
|
||||
'annee' => $tmp[3],
|
||||
'montant' => $mt,
|
||||
'nombre' => $tabSecteursNb[$cleSecteur],
|
||||
'dateInsert'=> $dateInsert,
|
||||
);
|
||||
if (!$iDb->insert('ratios_secteurs', $tabInsert)) {
|
||||
echo date('Y/m/d - H:i:s') ." - Erreur MySQL N°".mysql_errno().' : '.mysql_error().EOL;
|
||||
print_r($tabInsert);
|
||||
}
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - Fin de l'insertion en base des ratios.".EOL;
|
||||
|
||||
die();
|
||||
?>
|
@ -1,151 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMSirene.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBilans.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBourse.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMLiens.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMFinancier.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMSolvabilite.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(INCLUDE_PATH.'tmp/configMRatios.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMScores.php');
|
||||
include_once(FWK_PATH.'mail/sendMail.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMRegression.php');
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " <option>
|
||||
Calcul des redevances INSEE pour un mois donné.
|
||||
|
||||
Options :
|
||||
-v Mode debug (Verbosité au maximum)
|
||||
-m:SSAAMM Forcer le mois de calcul des redevances à SSAAMM (sinon mois précedent)
|
||||
-c:XXX Limiter au client XXX
|
||||
-t Table de test
|
||||
|
||||
";
|
||||
$tableRdv='inseeRdv';
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
|
||||
//$iDb=new WDB('jo');
|
||||
$iDb=new WDB('sdv1');
|
||||
$iDb2=new WDB('sdv1');
|
||||
$tabUser=array();
|
||||
|
||||
$modeDebug=$idClient=false;
|
||||
$dateMAJ=date('Ymt',mktime(0,0,0,date('m')-1,date('d'),date('Y')));
|
||||
$strMailInfo='';
|
||||
|
||||
for ($i=1,$j=0; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 'v': $modeDebug=true; break;
|
||||
case 'c': $idClient = substr($argv[$i],3)*1; break;
|
||||
case 'm': $dateMAJ = date('Ymt',mktime(0,0,0,substr($argv[$i],7,2),1,substr($argv[$i],3,4))); break;
|
||||
case 't': $tableRdv='inseeRdv2'; break;
|
||||
case '-':
|
||||
case '?': die($strInfoScript); break;
|
||||
default: die('Option '. $argv[$i] . " inconnue !\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$moisEnCours=substr($dateMAJ,0,6);
|
||||
$dateDEB=substr($moisEnCours,0,6).'01';
|
||||
|
||||
/** Liste des clients **/
|
||||
if ($idClient) $strClient=" AND id=".$idClient;
|
||||
else $strClient='';
|
||||
$tabTmp=$iDb->select('clients', 'id, nom', "1 $strClient", false, MYSQL_ASSOC);
|
||||
$tabClient=array();
|
||||
foreach ($tabTmp as $tabTmp2) {
|
||||
$tabClient[$tabTmp2['id']]=$tabTmp2['nom'];
|
||||
}
|
||||
$nbClients=count($tabClient);
|
||||
|
||||
/** Liste des utilisateurs **/
|
||||
if ($idClient) $strClient=" AND idClient=".$idClient;
|
||||
else $strClient='';
|
||||
$tabTmp=$iDb->select('utilisateurs', "login, idClient", "1 $strClient", false, MYSQL_ASSOC);
|
||||
$tabUser=array();
|
||||
foreach ($tabTmp as $tabTmp2) {
|
||||
$tabUser['_'.$tabTmp2['login']]=$tabTmp2['idClient'];
|
||||
}
|
||||
$nbUsers=count($tabUser);
|
||||
|
||||
/** Calcul des redevances en niveau 1 : Navéa (Extranet/WS) **/
|
||||
$iClient=0;
|
||||
foreach ($tabClient as $idClient=>$nomClient) {
|
||||
$iClient++;
|
||||
echo date('Y/m/d H:i:s')." - Client $iClient/$nbClients - Calcul des redevances type 1 pour '".$tabClient[$idClient]. "' en $moisEnCours : ";
|
||||
$tabLogs=$iDb->select( 'logs',
|
||||
'siren, nic',
|
||||
"idClient=$idClient AND page='identite' AND test=0 AND actifInsee=1 AND source=2 AND dateHeure BETWEEN $dateDEB AND $dateMAJ GROUP BY siren, nic", false, MYSQL_ASSOC);
|
||||
$nbSiret=count($tabLogs);
|
||||
echo "$nbSiret siret".EOL;
|
||||
|
||||
$tabInsert=array('idClient'=>$idClient,
|
||||
'nomClient'=>$tabClient[$idClient],
|
||||
'mois'=>$moisEnCours,
|
||||
'produit'=>1,
|
||||
'nbSiret'=>$nbSiret,
|
||||
);
|
||||
if (!$iDb2->insert($tableRdv, $tabInsert, false))
|
||||
$iDb2->update($tableRdv, $tabInsert, "idClient=$idClient AND mois=$moisEnCours AND produit=1", false);
|
||||
}
|
||||
|
||||
/** Calcul des redevances en niveau 2 : Odéa (Ciblage, sortie prévue en 2012) **/
|
||||
|
||||
/** Calcul des redevances en niveau 3 : Sirenages Clients et enrichissement (Depuis Aout 2010) **/
|
||||
$iClient=0;
|
||||
foreach ($tabClient as $idClient=>$nomClient) {
|
||||
$iClient++;
|
||||
echo date('Y/m/d H:i:s')." - Client $iClient/$nbClients - Calcul des redevances type 3 pour '".$tabClient[$idClient]. "' en $moisEnCours : ";
|
||||
$tabLogs=$iDb->select( 'jo.sirenage_clients',
|
||||
'siren, nic',
|
||||
"idClient=$idClient AND siren>1000 AND nic>9 AND dateUpdate BETWEEN $dateDEB AND $dateMAJ GROUP BY siren, nic", false, MYSQL_ASSOC);
|
||||
$nbSiret=count($tabLogs);
|
||||
echo "$nbSiret siret".EOL;
|
||||
|
||||
$tabInsert=array('idClient'=>$idClient,
|
||||
'nomClient'=>$tabClient[$idClient],
|
||||
'mois'=>$moisEnCours,
|
||||
'produit'=>3,
|
||||
'nbSiret'=>$nbSiret,
|
||||
);
|
||||
if (!$iDb2->insert($tableRdv, $tabInsert, false))
|
||||
$iDb2->update($tableRdv, $tabInsert, "idClient=$idClient AND mois=$moisEnCours AND produit=3", false);
|
||||
}
|
||||
|
||||
/** Calcul des redevances en niveau 4 : Surveillances Insee (Depuis Janvier 2011) **/
|
||||
$iClient=0;
|
||||
foreach ($tabClient as $idClient=>$nomClient) {
|
||||
$iClient++;
|
||||
echo date('Y/m/d H:i:s')." - Client $iClient/$nbClients - Calcul des redevances type 4 pour '".$tabClient[$idClient]. "' en $moisEnCours : ";
|
||||
$tabLogs=$iDb->select( 'jo.surveillances_site s, sdv1.utilisateurs u, sdv1.clients c',
|
||||
's.siren, s.nic',
|
||||
"s.siren>1000 AND s.source='insee' AND s.login=u.login AND u.idClient=$idClient AND u.idClient=c.id and c.test='Non' AND u.typeCompte='PROD' AND s.dateAjout BETWEEN $dateDEB AND $dateMAJ GROUP BY s.siren, s.nic", false, MYSQL_ASSOC);
|
||||
$nbSiret=count($tabLogs);
|
||||
echo "$nbSiret siret".EOL;
|
||||
|
||||
$tabInsert=array('idClient'=>$idClient,
|
||||
'nomClient'=>$tabClient[$idClient],
|
||||
'mois'=>$moisEnCours,
|
||||
'produit'=>4,
|
||||
'nbSiret'=>$nbSiret,
|
||||
);
|
||||
if (!$iDb2->insert($tableRdv, $tabInsert, false))
|
||||
$iDb2->update($tableRdv, $tabInsert, "idClient=$idClient AND mois=$moisEnCours AND produit=4", false);
|
||||
}
|
||||
|
||||
/** Calcul des redevances en niveau 5 : INEXISTANT **/
|
||||
|
||||
die();
|
||||
|
||||
?>
|
@ -1,151 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMSirene.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBilans.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBourse.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMLiens.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMFinancier.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMSolvabilite.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(INCLUDE_PATH.'tmp/configMRatios.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMScores.php');
|
||||
include_once(FWK_PATH.'mail/sendMail.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMRegression.php');
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " <option>
|
||||
Calcul des redevances INSEE pour un mois donné.
|
||||
|
||||
Options :
|
||||
-v Mode debug (Verbosité au maximum)
|
||||
-m:SSAAMM Forcer le mois de calcul des redevances à SSAAMM (sinon mois précedent)
|
||||
-c:XXX Limiter au client XXX
|
||||
-t Table de test
|
||||
|
||||
";
|
||||
$tableRdv='inseeRdv';
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
|
||||
//$iDb=new WDB('jo');
|
||||
$iDb=new WDB('sdv1');
|
||||
$iDb2=new WDB('sdv1');
|
||||
$tabUser=array();
|
||||
|
||||
$modeDebug=$idClient=false;
|
||||
$dateMAJ=date('Ymt',mktime(0,0,0,date('m')-1,date('d'),date('Y')));
|
||||
$strMailInfo='';
|
||||
|
||||
for ($i=1,$j=0; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 'v': $modeDebug=true; break;
|
||||
case 'c': $idClient = substr($argv[$i],3)*1; break;
|
||||
case 'm': $dateMAJ = date('Ymt',mktime(0,0,0,substr($argv[$i],7,2),1,substr($argv[$i],3,4))); break;
|
||||
case 't': $tableRdv='inseeRdv2'; break;
|
||||
case '-':
|
||||
case '?': die($strInfoScript); break;
|
||||
default: die('Option '. $argv[$i] . " inconnue !\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$moisEnCours=substr($dateMAJ,0,6);
|
||||
$dateDEB=substr($moisEnCours,0,6).'01';
|
||||
|
||||
/** Liste des clients **/
|
||||
if ($idClient) $strClient=" AND id=".$idClient;
|
||||
else $strClient='';
|
||||
$tabTmp=$iDb->select('clients', 'id, nom', "1 $strClient", false, MYSQL_ASSOC);
|
||||
$tabClient=array();
|
||||
foreach ($tabTmp as $tabTmp2) {
|
||||
$tabClient[$tabTmp2['id']]=$tabTmp2['nom'];
|
||||
}
|
||||
$nbClients=count($tabClient);
|
||||
|
||||
/** Liste des utilisateurs **/
|
||||
if ($idClient) $strClient=" AND idClient=".$idClient;
|
||||
else $strClient='';
|
||||
$tabTmp=$iDb->select('utilisateurs', "login, idClient", "1 $strClient", false, MYSQL_ASSOC);
|
||||
$tabUser=array();
|
||||
foreach ($tabTmp as $tabTmp2) {
|
||||
$tabUser['_'.$tabTmp2['login']]=$tabTmp2['idClient'];
|
||||
}
|
||||
$nbUsers=count($tabUser);
|
||||
|
||||
/** Calcul des redevances en niveau 1 : Navéa (Extranet/WS) **/
|
||||
$iClient=0;
|
||||
foreach ($tabClient as $idClient=>$nomClient) {
|
||||
$iClient++;
|
||||
echo date('Y/m/d H:i:s')." - Client $iClient/$nbClients - Calcul des redevances type 1 pour '".$tabClient[$idClient]. "' en $moisEnCours : ";
|
||||
$tabLogs=$iDb->select( 'logs',
|
||||
'siren, nic/*, date(dateHeure) AS jour*/',
|
||||
"idClient=$idClient AND page='identite' AND test=0 AND actifInsee IN(0,1) AND source=2 AND dateHeure BETWEEN $dateDEB AND $dateMAJ GROUP BY siren, nic/*, jour*/", false, MYSQL_ASSOC);
|
||||
$nbSiret=count($tabLogs);
|
||||
echo "$nbSiret siret".EOL;
|
||||
|
||||
$tabInsert=array('idClient'=>$idClient,
|
||||
'nomClient'=>$tabClient[$idClient],
|
||||
'mois'=>$moisEnCours,
|
||||
'produit'=>1,
|
||||
'nbSiret'=>$nbSiret,
|
||||
);
|
||||
if (!$iDb2->insert($tableRdv, $tabInsert, false))
|
||||
$iDb2->update($tableRdv, $tabInsert, "idClient=$idClient AND mois=$moisEnCours AND produit=1", false);
|
||||
}
|
||||
|
||||
/** Calcul des redevances en niveau 2 : Odéa (Ciblage, sortie prévue en 2012) **/
|
||||
|
||||
/** Calcul des redevances en niveau 3 : Sirenages Clients et enrichissement (Depuis Aout 2010) **/
|
||||
$iClient=0;
|
||||
foreach ($tabClient as $idClient=>$nomClient) {
|
||||
$iClient++;
|
||||
echo date('Y/m/d H:i:s')." - Client $iClient/$nbClients - Calcul des redevances type 3 pour '".$tabClient[$idClient]. "' en $moisEnCours : ";
|
||||
$tabLogs=$iDb->select( 'jo.sirenage_clients',
|
||||
'siren, nic, date(dateHeure) AS jour',
|
||||
"idClient=$idClient AND siren>1000 AND nic>9 AND dateUpdate BETWEEN $dateDEB AND $dateMAJ GROUP BY siren, nic, jour", false, MYSQL_ASSOC);
|
||||
$nbSiret=count($tabLogs);
|
||||
echo "$nbSiret siret".EOL;
|
||||
|
||||
$tabInsert=array('idClient'=>$idClient,
|
||||
'nomClient'=>$tabClient[$idClient],
|
||||
'mois'=>$moisEnCours,
|
||||
'produit'=>3,
|
||||
'nbSiret'=>$nbSiret,
|
||||
);
|
||||
if (!$iDb2->insert($tableRdv, $tabInsert, false))
|
||||
$iDb2->update($tableRdv, $tabInsert, "idClient=$idClient AND mois=$moisEnCours AND produit=3", false);
|
||||
}
|
||||
|
||||
/** Calcul des redevances en niveau 4 : Surveillances Insee (Depuis Janvier 2011) **/
|
||||
$iClient=0;
|
||||
foreach ($tabClient as $idClient=>$nomClient) {
|
||||
$iClient++;
|
||||
echo date('Y/m/d H:i:s')." - Client $iClient/$nbClients - Calcul des redevances type 4 pour '".$tabClient[$idClient]. "' en $moisEnCours : ";
|
||||
$tabLogs=$iDb->select( 'jo.surveillances_site s, sdv1.utilisateurs u, sdv1.clients c',
|
||||
's.siren, s.nic, s.dateAjout',
|
||||
"s.siren>1000 AND s.source='insee' AND s.login=u.login AND u.idClient=$idClient AND u.idClient=c.id and c.test='Non' AND u.typeCompte='PROD' AND s.dateAjout BETWEEN $dateDEB AND $dateMAJ GROUP BY s.siren, s.nic, s.dateAjout", false, MYSQL_ASSOC);
|
||||
$nbSiret=count($tabLogs);
|
||||
echo "$nbSiret siret".EOL;
|
||||
|
||||
$tabInsert=array('idClient'=>$idClient,
|
||||
'nomClient'=>$tabClient[$idClient],
|
||||
'mois'=>$moisEnCours,
|
||||
'produit'=>4,
|
||||
'nbSiret'=>$nbSiret,
|
||||
);
|
||||
if (!$iDb2->insert($tableRdv, $tabInsert, false))
|
||||
$iDb2->update($tableRdv, $tabInsert, "idClient=$idClient AND mois=$moisEnCours AND produit=4", false);
|
||||
}
|
||||
|
||||
/** Calcul des redevances en niveau 5 : INEXISTANT **/
|
||||
|
||||
die();
|
||||
|
||||
?>
|
@ -1,341 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/ws/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
$tDeb=microtime(true);
|
||||
|
||||
$dateJour=date('Y-m-d');
|
||||
|
||||
function wsLog($service, $siret='', $ref='') {
|
||||
/* if (strlen($siret)==14) {
|
||||
$siren=substr($siret,0,9);
|
||||
$nic=substr($siret,9,5);
|
||||
} elseif (strlen($siret)==9) {
|
||||
$siren=$siret;
|
||||
$nic='';
|
||||
}
|
||||
|
||||
global $iDbCrm, $tabInfoUser;
|
||||
$tabInsert=array( 'login'=>$tabInfoUser['login'],
|
||||
'page'=>$service,
|
||||
'siren'=>$siren,
|
||||
'nic'=>$nic,
|
||||
'params'=>$ref);
|
||||
$rep=$iDbCrm->insert('logs', $tabInsert);
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMSirene.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBilans.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBourse.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMLiens.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMFinancier.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMSolvabilite.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMTva.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMMap.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(INCLUDE_PATH.'tmp/configMRatios.php');
|
||||
include_once(INCLUDE_PATH.'scores/classMScores.php');
|
||||
include_once(FWK_PATH.'mail/sendMail.php');
|
||||
|
||||
|
||||
$nbExercices=2;
|
||||
$sqlEncours=$modeDebug=$periAncien=$listeDeclencheur=$forceDeclencheur=false;
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Scorer toute la base entreprise S&D.
|
||||
|
||||
Options :
|
||||
-t Calculer tous les scores (*)
|
||||
-v Mode bavard ou debug
|
||||
-r Recalculer tous les scores avec indiscore>0 et un encours à 0 !
|
||||
-a Calculer tous les anciens ou nouveaux scores
|
||||
-l Lister les déclencheurs existants pour le recalcul des scores
|
||||
-d:XXX Lancer le calcul des scores pour le déclencheur XXX
|
||||
|
||||
(*) Option par défaut si aucun argument n'est passé.
|
||||
";/* -e:X Calculer pour les X derniers exercices (3 par défaut)
|
||||
-f Calculer les scores financiers
|
||||
*/
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (strtolower(substr($argv[$i],1,1))) {
|
||||
case 'a':
|
||||
$periAncien=true;
|
||||
break;
|
||||
case 't':
|
||||
break;
|
||||
case 'l':
|
||||
$listeDeclencheur=true;
|
||||
break;
|
||||
case 'd':
|
||||
$forceDeclencheur=strtolower(substr($argv[$i],3));
|
||||
break;
|
||||
case 'r':
|
||||
$sqlEncours=true;
|
||||
break;
|
||||
case 'v':
|
||||
$modeDebug=true;
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . ' inconnue !'.EOL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT du programme de calcul des scores en surveillance...".EOL;
|
||||
|
||||
$iDb=new WDB();
|
||||
$iDb2=new WDB();
|
||||
$iDbHisto=new WDB('historiques');
|
||||
$iInsee=new MInsee();
|
||||
|
||||
// $iWs=new WsEntreprise();
|
||||
|
||||
//$tabScore=@$iWs->getIndiScore(552144503, 0, false);
|
||||
//$tabScore=@$iWs->getIndiScore(27020395, 0, false);
|
||||
//print_r($tabScore);die();
|
||||
if (!$listeDeclencheur && !$forceDeclencheur) {
|
||||
echo date('Y/m/d - H:i:s') ." - Mise en surveillance Scores de l'ensemble des demandes de scoring...".EOL;
|
||||
$query="INSERT IGNORE INTO scores_surveillance(siren)
|
||||
SELECT DISTINCT siren FROM sdv1.`logs`
|
||||
WHERE dateHeure> (SELECT max(dateUpdate) FROM scores_surveillance)
|
||||
AND page IN ('indiscore','scorecsf') AND siren>100 ";
|
||||
$res=$iDb->query($query);
|
||||
|
||||
$query="INSERT IGNORE INTO scores_surveillance(siren)
|
||||
SELECT DISTINCT siren FROM jo.surveillances_site
|
||||
WHERE source='score' AND siren>=100000 AND siren NOT IN
|
||||
(SELECT siren FROM scores_surveillance) ";
|
||||
$res=$iDb->query($query);
|
||||
}
|
||||
|
||||
$strSelect="s.siren, s.actif, s.procol, s.indiScore, s.indiScore20, s.encours, s.indiScoreDate, scoreSolv, scoreConf, scoreDir, scoreZ, scoreCH, scoreAfdcc1, scoreAfdcc2, scoreAfdcc2note, scoreAltman, scoreAltmanCote, scoreCCF, situFi, infoNote, noteStruct, noteFin, tendance, nbModifs, s.dateUpdate, s.cs, s.csMoisMaj, s.csMoisFin";
|
||||
|
||||
$tabQueries=array(
|
||||
/* Bilans Asso déposé(s) */
|
||||
'bilansasso'=> "SELECT $strSelect, 'bilansasso' as source FROM scores_surveillance s, asso_bilans b WHERE b.siren>1000 AND s.siren=b.siren AND b.dateInsert>s.dateUpdate AND s.procol NOT IN('P') GROUP BY siren",
|
||||
//asso_bilans', 'dateCloture, dateCloture*1 as dateClotureNum', "siren=$siren ORDER BY DESC LIMIT 0,5", true, MYSQL_ASSOC);
|
||||
/* Privileges Infogreffe */
|
||||
'privileges'=> "SELECT $strSelect, 'privileges' AS source FROM scores_surveillance s, greffes_privileges p WHERE p.siren>1000 AND s.siren = p.siren AND (p.dateInsert>s.dateUpdate OR p.dateUpdate>s.dateUpdate) AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* Privileges Facto */
|
||||
'privileges2'=> "SELECT $strSelect, 'privileges2' AS source FROM jo.scores_surveillance s, sdv1.ge_cs2 p WHERE p.siren>1000 AND s.siren = p.siren AND (p.dateInsert>=s.dateUpdate OR p.dateConf>=s.dateUpdate) AND p.cs='P' AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* IMPAYES Facto */
|
||||
'impayes'=> "SELECT $strSelect, 'impayes' AS source FROM jo.scores_surveillance s, sdv1.ge_cs2 p WHERE p.siren>1000 AND s.siren = p.siren AND (p.dateInsert>=s.dateUpdate OR p.dateConf>=s.dateUpdate) AND p.cs='I' AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* Ajout d'un nouveau score */
|
||||
'ajout'=> "SELECT $strSelect, 'ajout' AS source FROM scores_surveillance s WHERE s.siren>1000 AND ((DATEDIFF(NOW(),s.indiScoreDate) IS NULL AND s.dateUpdate<DATE(NOW()) OR s.indiScoreDate=0)) GROUP BY siren",
|
||||
/* IndiScores demandés ce jour */
|
||||
'jour'=> "SELECT $strSelect, 'jour' AS source FROM scores_surveillance s, sdv1.`logs` l WHERE l.siren>1000 AND s.siren=l.siren AND l.page='indiscore' AND l.dateHeure>s.dateUpdate AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* Dirigeants */
|
||||
'dirigeants'=> "SELECT $strSelect, 'dirigeants' AS source FROM scores_surveillance s, rncs_dirigeants d WHERE d.siren>1000 AND s.siren = d.siren AND (d.dateInsert>s.dateUpdate OR d.dateUpdate>s.dateUpdate) AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* Evenements INSEE */
|
||||
'insee'=> "SELECT $strSelect, 'insee' as source FROM jo.scores_surveillance s, insee.insee_even i WHERE i.insSIREN>1000 AND s.siren=i.insSIREN AND i.dateInsert>s.dateUpdate AND s.procol NOT IN('P') AND /*i.insEVE IN ('400','410','420','425') AND*/ i.insSIEGE=1 GROUP BY siren",
|
||||
/* Entreprises RNCS */
|
||||
'rncs'=> "SELECT $strSelect, 'rncs' as source FROM scores_surveillance s, rncs_entrep r WHERE s.siren>1000 AND s.siren=r.siren AND (r.dateInsert>s.dateUpdate OR r.dateUpdate>s.dateUpdate) AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* Bodacc */
|
||||
'bodacc'=> "SELECT $strSelect, 'bodacc' as source FROM scores_surveillance s, bodacc_detail b WHERE b.siren>1000 AND s.siren=b.siren AND( b.dateInsert>s.dateUpdate OR b.dateUpdate>s.dateUpdate) AND s.procol NOT IN('P') AND b.Rubrique NOT IN('creations') GROUP BY siren",
|
||||
/* Collecte */
|
||||
'collecte'=> "SELECT $strSelect, 'collecte' as source FROM scores_surveillance s, annonces b WHERE b.siren>1000 AND s.siren=b.siren AND b.dateInsert>s.dateUpdate AND s.procol NOT IN('P') /*AND b.typeEven NOT IN(3200)*/ GROUP BY siren",
|
||||
/* Bilans en base */
|
||||
'bilans1'=> "SELECT $strSelect, 'bilans1' as source FROM scores_surveillance s, bilans b WHERE b.siren>1000 AND s.siren=b.siren AND b.dateInsert>s.dateUpdate AND (DATEDIFF(b.dateExercice,s.dateBilan)>1 OR DATEDIFF(b.dateExercice,s.dateBilan) IS NULL) AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* Défaut divers Facto (D:Défaut, 24:Groupe en diff, 31:Cessation Annoncée, 50:Terrorisme)*/
|
||||
'defaut'=> "SELECT $strSelect, 'defaut' AS source FROM jo.scores_surveillance s, sdv1.ge_cs2 p WHERE p.siren>1000 AND s.siren = p.siren AND (p.dateInsert>=s.dateUpdate OR p.dateConf>=s.dateUpdate) AND p.cs IN ('D','24','31','50') AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* RAS Facto */
|
||||
'regulier'=> "SELECT $strSelect, 'regulier' AS source FROM jo.scores_surveillance s, sdv1.ge_cs2 p WHERE p.siren>1000 AND s.siren = p.siren AND (p.dateInsert>=s.dateUpdate OR p.dateConf>=s.dateUpdate) AND p.cs='00' AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* Scores trop anciens */
|
||||
'ancien'=> "SELECT $strSelect, 'ancien' AS source FROM scores_surveillance s WHERE s.siren>1000 AND (DATEDIFF(NOW(),s.indiScoreDate)>365 /*OR DATEDIFF(NOW(),s.indiScoreDate) IS NULL*/) AND s.procol NOT IN('P') AND s.dateUpdate<DATE(NOW()) GROUP BY siren",
|
||||
/* RAS Facto */
|
||||
'regulier'=> "SELECT $strSelect, 'regulier' AS source FROM jo.scores_surveillance s, sdv1.ge_cs2 p WHERE p.siren>1000 AND s.siren = p.siren AND (p.dateInsert>=s.dateUpdate OR p.dateConf>=s.dateUpdate) AND p.cs='00' AND s.procol NOT IN('P') GROUP BY siren",
|
||||
|
||||
/** @todo A revoir
|
||||
**/
|
||||
/* Bilans déposés */
|
||||
// 'bilans2'=>"SELECT s.siren, s.actif, s.procol, s.indiScore, s.indiScore20, s.encours, s.indiScoreDate, scoreSolv, scoreConf, scoreDir, scoreZ, scoreCH, scoreAfdcc1, scoreAfdcc2, scoreAfdcc2note, scoreAltman, scoreAltmanCote, scoreCCF, situFi, infoNote, noteStruct, noteFin, tendance, nbModifs, 'bilans2' as source, s.dateUpdate FROM scores_surveillance s, bilans_deposes b WHERE b.siren>1000 AND s.siren=b.siren AND b.dateInsert>s.dateUpdate AND s.procol NOT IN('P') GROUP BY siren",
|
||||
/* Liens fianciers */
|
||||
// 'liens'=>"SELECT s.siren, s.actif, s.procol, s.indiScore, s.indiScore20, s.encours, s.indiScoreDate, scoreSolv, scoreConf, scoreDir, scoreZ, scoreCH, scoreAfdcc1, scoreAfdcc2, scoreAfdcc2note, scoreAltman, scoreAltmanCote, scoreCCF, situFi, infoNote, noteStruct, noteFin, tendance, nbModifs, 'liens' as source, s.dateUpdate FROM scores_surveillance s, liens l WHERE l.siren>1000 AND (s.siren=l.Siren1 OR s.siren=l.Siren2) AND (l.dateInsert>s.dateUpdate OR l.dateUpdate>s.dateUpdate) AND s.procol NOT IN('P') GROUP BY siren",
|
||||
);
|
||||
|
||||
/*$query="SELECT s.siren, s.indiScore, s.indiScore20, s.encours, s.indiScoreDate, scoreSolv, scoreConf, scoreDir, scoreZ, scoreCH, scoreAfdcc1, scoreAfdcc2, scoreAfdcc2note, scoreAltman, scoreAltmanCote, scoreCCF, situFi, infoNote, noteStruct, noteFin, tendance, 'bodacc' as source, s.dateUpdate FROM scores_surveillance s";
|
||||
$query="SELECT s.siren, s.actif, s.procol, s.indiScore, s.indiScore20, s.encours, s.indiScoreDate, scoreSolv, scoreConf, scoreDir, scoreZ, scoreCH, scoreAfdcc1, scoreAfdcc2, scoreAfdcc2note, scoreAltman, scoreAltmanCote, scoreCCF, situFi, infoNote, noteStruct, noteFin, tendance, nbModifs, 'modifenc' as source, s.dateUpdate, c.cs FROM jo.scores_surveillance s WHERE s.siren>1000 AND s.actif=1 AND s.procol NOT IN('A','D','P') AND s.indiScore>0 AND s.indiScore20=0 ORDER BY s.siren ASC";
|
||||
$query="SELECT s.siren, s.actif, s.procol, s.indiScore, s.indiScore20, s.encours, s.indiScoreDate, scoreSolv, scoreConf, scoreDir, scoreZ, scoreCH, scoreAfdcc1, scoreAfdcc2, scoreAfdcc2note, scoreAltman, scoreAltmanCote, scoreCCF, situFi, infoNote, noteStruct, noteFin, tendance, nbModifs, 'collecte' as source, s.dateUpdate FROM scores_surveillance s, annonces b WHERE b.siren>1000 AND s.siren=b.siren AND b.dateInsert>s.dateUpdate AND s.procol NOT IN('P') AND b.typeEven NOT IN(3200) GROUP BY siren";
|
||||
if($periAncien)
|
||||
$query="/* Nouveaux scores OU Scores trop anciens *
|
||||
SELECT s.siren, s.actif, s.procol, s.indiScore, s.indiScore20, s.encours, s.indiScoreDate, scoreSolv, scoreConf, scoreDir, scoreZ, scoreCH, scoreAfdcc1, scoreAfdcc2, scoreAfdcc2note, scoreAltman, scoreAltmanCote, scoreCCF, situFi, infoNote, noteStruct, noteFin, tendance, nbModifs, 'ancien' AS source, s.dateUpdate FROM scores_surveillance s WHERE s.siren>1000 AND (DATEDIFF(now(),s.indiScoreDate)>365 OR DATEDIFF(now(),s.indiScoreDate) IS NULL) AND s.procol NOT IN('P') GROUP BY siren";
|
||||
*/
|
||||
if ($listeDeclencheur) {
|
||||
foreach($tabQueries as $key=>$querie)
|
||||
echo "\t- $key".EOL;
|
||||
die();
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - Recherche des scores susceptibles d'avoir changés par déclencheur...".EOL;
|
||||
|
||||
$nbScoresSans=$nbScoresModif=$nbScoresNouv=$nbScoresProcol=$iRow=$nbRowsTot=0;
|
||||
|
||||
foreach ($tabQueries as $declencheur=>$query) {
|
||||
if ($forceDeclencheur && $declencheur<>$forceDeclencheur) continue;
|
||||
echo date('Y/m/d - H:i:s') ." - Recherche par le déclencheur '$declencheur'...";
|
||||
|
||||
$res=$iDb->query($query);
|
||||
echo mysql_error().EOL;
|
||||
$nbRows=mysql_num_rows($res);
|
||||
$nbRowsTot+=$nbRows;
|
||||
@$tabNbRows[$declencheur]++;
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - Il y a $nbRows scores à recalculer par '$declencheur'...".EOL;
|
||||
//die();
|
||||
while($entrep=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
$iRow++;
|
||||
$siren=$entrep['siren']; // indiScorePre, encoursPre, indiScorePreDate','];
|
||||
if (!$iInsee->valideSiren($siren)) continue;
|
||||
$nic=0;
|
||||
|
||||
$indiScorePre = $entrep['indiScore']*1;
|
||||
$encoursPre = $entrep['encours']*1;
|
||||
$dateScore = str_replace('-','',$entrep['indiScoreDate'])*1;
|
||||
$sourceModif = $entrep['source'];
|
||||
$procol = $entrep['procol'];
|
||||
$nbModifs = ($entrep['nbModifs']*1)+1;
|
||||
if ($procol=='P') {
|
||||
$nbScoresProcol++;
|
||||
if ($modeDebug) echo date('Y/m/d - H:i:s') ." - Ligne $iRow/$nbRowsTot - Siren $siren : $indiScorePre / 100 ($encoursPre EUR) inchangé depuis $dateScore (Source=$sourceModif) car ProCol.".EOL;
|
||||
continue;
|
||||
}
|
||||
//echo date('Y/m/d - H:i:s') ." - Siren $siren : AVANT SCORE".EOL;
|
||||
$tabScore=@calculIndiScore($siren, $nic, false, 0);
|
||||
//echo date('Y/m/d - H:i:s') ." - Siren $siren : APRES SCORE".EOL;
|
||||
//print_r($tabScore);
|
||||
//die();
|
||||
$indiScore = $tabScore['Indiscore']*1;
|
||||
$naf = $tabScore['NafEnt'];
|
||||
$encours = round($tabScore['encours']);
|
||||
|
||||
/*if (!$iDb2->update('scores_surveillance', array('naf'=>$naf), "siren=$siren")) {
|
||||
die('prout');
|
||||
}
|
||||
continue;
|
||||
*/
|
||||
if ($indiScore==$indiScorePre &&
|
||||
$encours ==$encoursPre &&
|
||||
$dateScore<>0 ) {
|
||||
$nbScoresSans++;
|
||||
if ($modeDebug) echo date('Y/m/d - H:i:s') ." - Ligne $iRow/$nbRowsTot - Siren $siren : $indiScore / 100 ($encours EUR) inchangé depuis $dateScore (Source=$sourceModif).".EOL;
|
||||
$tabUpdate2=array('sourceModif'=>$sourceModif, 'nbModifs'=>$nbModifs);
|
||||
if (!$iDb2->update('scores_surveillance', $tabUpdate2, "siren=$siren")) {
|
||||
print_r($tabUpdate2);
|
||||
die("Erreur SQL sur la mise à jour de la date de dernière vérif du score pour le siren $siren");
|
||||
}
|
||||
/*print_r($tabUpdate2);
|
||||
echo 'Erreur SQL n° '.mysql_errno().' : '.mysql_error().EOL;
|
||||
*/
|
||||
} else {
|
||||
if ($dateScore==0) {
|
||||
$sourceModif='ajout';
|
||||
$nbScoresNouv++;
|
||||
}
|
||||
else {
|
||||
$nbScoresModif++;
|
||||
@$tabNbScoresModif[$declencheur]++;
|
||||
}
|
||||
echo date('Y/m/d - H:i:s') ." - Ligne $iRow/$nbRowsTot - Siren $siren : $indiScore<>$indiScorePre OU $encours<>$encoursPre (Source=$sourceModif) !".EOL;
|
||||
$tabUpdate=array( 'siren' => $siren,
|
||||
'naf' => $naf,
|
||||
'actif' => $tabScore['Actif'],
|
||||
'procol' => $tabScore['SituationJuridique'],
|
||||
'indiScore' => $tabScore['Indiscore'],
|
||||
'indiScore20' => $tabScore['Indiscore20'],
|
||||
'encours' => $tabScore['encours'],
|
||||
'indiScoreDate' => $dateJour,
|
||||
'dateBilan' => @$tabScore['Bilans'][0]['Millesime'],
|
||||
'scoreSolv' => $tabScore['ScoreSolvabilite'],
|
||||
'scoreConf' => $tabScore['ScoreConfor'],
|
||||
'scoreDir' => $tabScore['ScoreDirigeance'],
|
||||
'scoreZ' => $tabScore['scores']['Z'],
|
||||
'scoreCH' => $tabScore['scores']['ConanH'],
|
||||
|
||||
'scoreAfdcc1' => $tabScore['scores']['Afdcc1'],
|
||||
'scoreAfdcc2' => $tabScore['scores']['Afdcc2'],
|
||||
'scoreAfdcc2note' => $tabScore['scores']['Afdcc2note'],
|
||||
'scoreAltman' => $tabScore['scores']['Altman'],
|
||||
'scoreAltmanCote' => $tabScore['scores']['AltmanCote'],
|
||||
'scoreCCF' => $tabScore['scores']['CCF'],
|
||||
|
||||
'situFi' => $tabScore['tabInfosNotations']['SituationFinanciere'],
|
||||
'infoNote' => $tabScore['tabInfosNotations']['Notation'],
|
||||
'noteStruct' => $tabScore['Note_Structure'],
|
||||
'noteFin' => $tabScore['Note_Financiere'],
|
||||
'tendance' => $tabScore['TendanceIndiscore'],
|
||||
'cs' => $tabScore['cs'],
|
||||
'csMoisMaj' => $tabScore['csMoisMaj'],
|
||||
'csMoisFin' => $tabScore['csMoisFin'],
|
||||
'adresseDom' => $tabScore['AdresseDom'],
|
||||
|
||||
'sourceModif' => $sourceModif,
|
||||
'indiScorePre' => $entrep['indiScore'],
|
||||
'indiScore20Pre' => $entrep['indiScore20'],
|
||||
'indiScoreDatePre' => $entrep['indiScoreDate'],
|
||||
'encoursPre' => $entrep['encours'],
|
||||
'scoreSolvPre' => $entrep['scoreSolv'],
|
||||
'scoreConfPre' => $entrep['scoreConf'],
|
||||
'scoreDirPre' => $entrep['scoreDir'],
|
||||
'scoreZPre' => $entrep['scoreZ'],
|
||||
'scoreCHPre' => $entrep['scoreCH'],
|
||||
'scoreAfdcc1Pre' => $entrep['scoreAfdcc1'],
|
||||
'scoreAfdcc2Pre' => $entrep['scoreAfdcc2'],
|
||||
'scoreAfdcc2notePre'=> $entrep['scoreAfdcc2note'],
|
||||
|
||||
'scoreAltmanPre' => $entrep['scoreAltman'],
|
||||
'scoreAltmanCotePre'=> $entrep['scoreAltmanCote'],
|
||||
'scoreCCFPre' => $entrep['scoreCCF'],
|
||||
|
||||
'situFiPre' => $entrep['situFi'],
|
||||
'infoNotePre' => $entrep['infoNote'],
|
||||
'noteStructPre' => $entrep['noteStruct'],
|
||||
'noteFinPre' => $entrep['noteFin'],
|
||||
'tendancePre' => $entrep['tendance'],
|
||||
'csPre' => $entrep['cs'],
|
||||
'csMoisMajPre' => $entrep['csMoisMaj'],
|
||||
'csMoisFinPre' => $entrep['csMoisFin'],
|
||||
'adresseDomPre' => $entrep['adresseDom'],
|
||||
'nbModifs' => $nbModifs,
|
||||
|
||||
);
|
||||
if (!$iDb2->update('scores_surveillance', $tabUpdate, "siren=$siren")) {
|
||||
print_r($tabUpdate);
|
||||
echo mysql_error().EOL;
|
||||
die(date ('Y/m/d - H:i:s') . " - Erreur SQL sur la mise à jour du score pour le siren $siren".EOL);
|
||||
}
|
||||
// Historisation du score
|
||||
if (!$iDbHisto->insert('scores_surveillance', $tabUpdate)) {
|
||||
print_r($tabUpdate);
|
||||
echo mysql_error().EOL;
|
||||
die(date ('Y/m/d - H:i:s') . " - Erreur SQL sur l'historisation du score pour le siren $siren".EOL);
|
||||
}
|
||||
}
|
||||
if (date('Hi')*1>=430 && date('Hi')*1<=700) break 2;
|
||||
}
|
||||
}
|
||||
$message =date ('Y/m/d - H:i:s') . " - Nombre de scores inchangés .................. $nbScoresSans / $nbRowsTot.".EOL;
|
||||
$message.=date ('Y/m/d - H:i:s') . " - Nombre de scores inchangés car procol ....... $nbScoresProcol / $nbRowsTot.".EOL;
|
||||
$message.=date ('Y/m/d - H:i:s') . " - Nombre de scores ajoutés .................... $nbScoresNouv / $nbRowsTot.".EOL;
|
||||
$message.=date ('Y/m/d - H:i:s') . " - Nombre de scores modifiées .................. $nbScoresModif / $nbRowsTot.".EOL;
|
||||
foreach($tabNbRows as $declencheur=>$nbTot) {
|
||||
$nbModifs=$tabNbScoresModif[$declencheur]*1;
|
||||
$message.=date ('Y/m/d - H:i:s') . " - Nombre de modifs par '$declencheur'\t...... $nbModifs / $nbTot.".EOL;
|
||||
}
|
||||
echo $message;
|
||||
|
||||
$duree=round(microtime(true)-$tDeb);
|
||||
sendMail('production@scores-decisions.com', 'ylenaour@scores-decisions.com', "Calculs des IndiScores ($nbRowsTot en $duree s)", $message);
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - Fin du traitement.".EOL;
|
||||
|
||||
die();
|
||||
?>
|
@ -1,474 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
define('NOW', date('YmdHis'));
|
||||
define('TODAY', substr(NOW, 0, 8));
|
||||
define('YEAR', substr(TODAY, 0, 4));
|
||||
define('MONTH', substr(TODAY, 4, 2));
|
||||
define('DAY', substr(TODAY, 6, 2));
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBilans.php');
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Mise à jour quotidienne des scores secteurs / profils entreprise S&D.
|
||||
|
||||
Options :
|
||||
-d:SSAAMMJJ Initialiser tous les scores secteurs depuis SSAAMMJJ
|
||||
-f:SSAAMMJJ Initialiser tous les scores secteurs jusqu'au SSAAMMJJ
|
||||
-p Initialiser les scores profils mensuels (à défaut, seulement le 1er du mois)
|
||||
-s Initialiser les scores secteurs mensuels (à défaut, seulement le 1er du mois)
|
||||
-v Mode bavard
|
||||
|
||||
";
|
||||
|
||||
$dateDeb=$dateFin=0;
|
||||
$initStatProfil=$initStatSecteur=$modeDebug=false;
|
||||
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (strtolower(substr($argv[$i],1,1))) {
|
||||
case 'd':
|
||||
$dateDeb=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'f':
|
||||
$dateFin=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'p':
|
||||
$initStatProfil=true;
|
||||
break;
|
||||
case 's':
|
||||
$initStatSecteur=true;
|
||||
break;
|
||||
case 'v':
|
||||
$modeDebug=true;
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . ' inconnue !'.EOL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$iDb=new WDB('jo');
|
||||
$iDb2=new WDB('jo');
|
||||
$iDbHisto=new WDB('historiques');
|
||||
|
||||
$iInsee=new MInsee();
|
||||
|
||||
|
||||
function getNaf5($naf4ou5) {
|
||||
$iDb=new WDB('insee');
|
||||
$tabTmp=$iDb->select( 'naf_conv', 'nafOut', "nafIn='$naf4ou5'");
|
||||
return $tabTmp[0]['nafOut'];
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Début du traitement.".EOL;
|
||||
|
||||
/** Recherche de la dernière date de MAJ
|
||||
**/
|
||||
if (!$dateDeb) {
|
||||
echo date ('Y/m/d - H:i:s')." - Préparation des procédures à vérifier.".EOL;
|
||||
$tabLast=$iDb->select( 'scores_secteurs',
|
||||
'max(dateUpdate) AS lastUpdate, max(dateInsert) AS lastInsert',
|
||||
'1');
|
||||
$lastUpdate=$tabLast[0]['lastInsert'];
|
||||
if ($tabLast[0]['lastUpdate']>$lastUpdate) $lastUpdate=$tabLast[0]['lastUpdate'];
|
||||
echo date('Y/m/d - H:i:s') ." - La dernière vérification des procédures date de $lastUpdate !".EOL;
|
||||
} else {
|
||||
$lastUpdate=WDate::dateT('Ymd', 'Y-m-d', $dateDeb).' 00:00:00';
|
||||
if ($dateFin) {
|
||||
$strDateFin=" AND (dateInsert<='".WDate::dateT('Ymd', 'Y-m-d', $dateFin)." 23:59:59' OR
|
||||
dateUpdate<='".WDate::dateT('Ymd', 'Y-m-d', $dateFin)." 23:59:59' ) ";
|
||||
echo date('Y/m/d - H:i:s') ." - Réinitialisation des stats secteurs du $lastUpdate au $dateFin !".EOL;
|
||||
} else {
|
||||
$strDateFin='';
|
||||
echo date('Y/m/d - H:i:s') ." - Réinitialisation des stats secteurs depuis le $lastUpdate !".EOL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/** Traitements mensuels
|
||||
**/
|
||||
if (DAY*1==1 || $initStatSecteur) {
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Préparation des stats secteurs mensuelles.".EOL;
|
||||
$fields='ape_entrep, COUNT(*) AS nbEntrep';
|
||||
$where="source=2 AND actif=1 AND siege=1 GROUP BY ape_entrep ORDER BY ape_entrep ASC";
|
||||
|
||||
/** Initialisation des scores secteurs **/
|
||||
$tabTmp=$iDb->select('etablissements_old', $fields, $where, false, MYSQL_ASSOC);
|
||||
if (mysql_errno()==1146)
|
||||
$tabTmp=$iDb->select('etablissements', $fields, $where, false, MYSQL_ASSOC);
|
||||
|
||||
$nbApe=count($tabTmp);
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbApe stats secteurs mensuelles à initialiser...".EOL;
|
||||
|
||||
$annee=YEAR;
|
||||
$mois=MONTH;
|
||||
$nbInsert=$nbUpdate=0;
|
||||
foreach ($tabTmp as $secteur) {
|
||||
$naf=$secteur['ape_entrep'];
|
||||
$tabInsert=array('naf5'=> $naf,
|
||||
'annee'=> YEAR,
|
||||
'mois'=> MONTH,
|
||||
'nbEntrep'=> $secteur['nbEntrep'],
|
||||
'dateInsert'=> NOW,
|
||||
);
|
||||
if ($iDb2->insert('scores_secteurs', $tabInsert))
|
||||
$nbInsert++;
|
||||
else {
|
||||
$iDb2->update('scores_secteurs', $tabInsert, "naf5='$naf' AND annee=$annee AND mois=$mois");
|
||||
$nbUpdate++;
|
||||
}
|
||||
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - $nbInsert secteurs initialisées et $nbUpdate mis à jour.".EOL;
|
||||
}
|
||||
|
||||
if (DAY*1==1 || $initStatProfil) {
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Préparation des stats profils mensuelles.".EOL;
|
||||
|
||||
/** Initialisation des scores profils **/
|
||||
//$nbPro=$iDb->select('insee.identite', 'APE_ENT, IF(ADR_DEP=97 OR ADR_DEP=98, SUBSTRING(ADR_CP,1,3), ADR_DEP) AS dep, SUBSTRING(CJ,1,2) as FJur, ROUND(if(DCRET>DCREN,DCRET/10000,DCREN/10000)) as anneeCrea, TEFF_ENT, TCA, count(*) as nbEntrep',
|
||||
$nbPro=$iDb->select('insee.identite', 'APE_ENT, IF(ADR_DEP=97 OR ADR_DEP=98, SUBSTRING(ADR_CP,1,3), ADR_DEP) AS dep, CJ as FJur, ROUND(if(DCRET>DCREN,DCRET/10000,DCREN/10000)) as anneeCrea, TEFF_ENT, TCA, count(*) as nbEntrep',
|
||||
"SIEGE=1 AND ACTIF=1 GROUP BY APE_ENT, dep, FJur, anneeCrea, TCA", false, MYSQL_ASSOC, true);
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbPro stats profils mensuelles à initialiser...".EOL;
|
||||
$annee=YEAR;
|
||||
$mois=MONTH;
|
||||
$nbInsert=$nbUpdate=0;
|
||||
while ($secteur=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
//foreach ($tabTmp as $secteur) {
|
||||
$naf=$secteur['APE_ENT'];
|
||||
$dep=$secteur['dep'];
|
||||
$fj=$secteur['FJur'];
|
||||
$anneeCrea=$secteur['anneeCrea'];
|
||||
$trEff=$secteur['TEFF_ENT'];
|
||||
$trCA=$secteur['TCA'];
|
||||
$tabInsert=array('annee'=> YEAR,
|
||||
'mois'=> MONTH,
|
||||
'naf5'=> $naf,
|
||||
'depSiege'=> $dep,
|
||||
'formeJur'=> $fj,
|
||||
'anneeCrea'=> $anneeCrea,
|
||||
'trEffectif'=> $trEff,
|
||||
'trCA'=> $trCA,
|
||||
'nbEntrep'=> $secteur['nbEntrep'],
|
||||
'dateInsert'=> NOW,
|
||||
);
|
||||
if ($iDb2->insert('scores_profils', $tabInsert))
|
||||
$nbInsert++;
|
||||
else {
|
||||
$iDb2->update('scores_profils', $tabInsert, "annee=$annee AND mois=$mois AND naf5='$naf' AND depSiege=$dep AND formeJur=$fj AND anneeCrea=$anneeCrea AND trEffectif='$trEff' AND trCA=$trCA");
|
||||
$nbUpdate++;
|
||||
}
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - $nbInsert profils initialisées et $nbUpdate mis à jour.".EOL;
|
||||
}
|
||||
|
||||
|
||||
if (!$initStatProfil && !$initStatSecteur) {
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Préparation des stats secteurs et profils pour les interdictions quotidiennes.".EOL;
|
||||
$nbInsertSecteur=$nbUpdateSecteur=$nbInsertProfil=$nbUpdateProfil=0;
|
||||
|
||||
/** Mise à jour des Jugements FP IG **/
|
||||
$nbAnnonces=$iDb->select(
|
||||
'bodacc_detail',
|
||||
'siren, sirenValide, typeEven, dateJugement, Bodacc_Date_Parution AS dateSource, dateInsert, dateUpdate',
|
||||
"siren>1000 AND (dateInsert>'$lastUpdate' OR dateUpdate>'$lastUpdate') $strDateFin
|
||||
AND dateJugement>='2005-01-01' AND
|
||||
(typeEven LIKE '%1600%' OR typeEven LIKE '%1601%' OR typeEven LIKE '%1610%' OR typeEven LIKE '%1611%')
|
||||
ORDER BY dateSource ASC;",
|
||||
false, MYSQL_ASSOC, true);
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbAnnonces annonces d'interdictions à vérifier...".EOL;
|
||||
while ($annonce=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
$siren=$annonce['siren'];
|
||||
$typeEven=$annonce['typeEven'];
|
||||
$dateJuge=$annonce['dateJugement'];
|
||||
$dateInsert=$annonce['dateInsert'];
|
||||
/** Initialisation des scores secteurs **/
|
||||
$tabTmp=explode('-', $dateJuge);
|
||||
$annee=$tabTmp[0];
|
||||
$mois=$tabTmp[1];
|
||||
$tabIdentite=$iInsee->getIdentiteEntreprise($siren, 0, 0, false, false);
|
||||
$naf=$tabIdentite['NafEnt'];
|
||||
if (strlen($naf)<5) $naf=getNaf5($naf);
|
||||
|
||||
$fj=$tabIdentite['FJ'];
|
||||
$dep=$tabIdentite['Dept'];
|
||||
if ($dep>96 && $dep<99) $dep=''.$dep.substr($tabIdentite['codeCommune'],0,1);
|
||||
$anneeCrea=$tabIdentite['DateCreaEn'];
|
||||
if ($anneeCrea>$tabIdentite['DateCreaEt']) $anneeCrea=$tabIdentite['DateCreaEt'];
|
||||
$trEff=$tabIdentite['EffEnTr'];
|
||||
$trCA=$tabIdentite['TrancheCA'];
|
||||
|
||||
/** Mise à jour des scores secteurs **/
|
||||
if ($modeDebug) echo "IGFP $siren\t$typeEven\t$dateJuge\t$dateInsert ";
|
||||
$tabTmp=$iDb2->select( 'scores_secteurs',
|
||||
'nbInter, nbEntrep, annee, mois',
|
||||
"naf5='$naf' AND annee=$annee AND mois=$mois",
|
||||
false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) $nbInter=$tabTmp[0]['nbInter'] + 1;
|
||||
else $nbInter=1;
|
||||
|
||||
$tabUpdate=array('nbInter'=> $nbInter);
|
||||
$retTmp=$iDb2->update('scores_secteurs', $tabUpdate, "naf5='$naf' AND annee=$annee AND mois=$mois");
|
||||
if (!$retTmp || $iDb2->getAffectedRows()==0) {
|
||||
$tabInsert=array_merge($tabUpdate, array( 'naf5'=>$naf,
|
||||
'annee'=>$annee,
|
||||
'mois'=>$mois,
|
||||
'dateInsert'=>date('YmdHis'),
|
||||
));
|
||||
$iDb2->insert('scores_secteurs', $tabInsert);
|
||||
if ($modeDebug) echo "SECTEURS:INSERT=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbInsertSecteur++;
|
||||
} else {
|
||||
if ($modeDebug) echo "SECTEURS:UPDATE=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbUpdateSecteur++;
|
||||
}
|
||||
if ($modeDebug) echo EOL;
|
||||
|
||||
/** Mise à jour des scores profils **/
|
||||
if ($modeDebug) echo "IGFP $siren\t$typeEven\t$dateJuge\t$dateInsert ";
|
||||
$tabTmp=$iDb2->select( 'scores_profils',
|
||||
'nbInter, nbEntrep, annee, mois',
|
||||
"annee=$annee AND mois=$mois AND naf5='$naf' AND depSiege=$dep AND formeJur=$fj AND anneeCrea=$anneeCrea AND trEffectif='$trEff' AND trCA=$trCA",
|
||||
false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) $nbInter=$tabTmp[0]['nbInter'] + 1;
|
||||
else $nbInter=1;
|
||||
|
||||
$tabUpdate=array('nbInter'=> $nbInter);
|
||||
$retTmp=$iDb2->update('scores_profils', $tabUpdate, "annee=$annee AND mois=$mois AND naf5='$naf' AND depSiege=$dep AND formeJur=$fj AND anneeCrea=$anneeCrea AND trEffectif='$trEff' AND trCA=$trCA");
|
||||
if (!$retTmp || $iDb2->getAffectedRows()==0) {
|
||||
$tabInsert=array_merge($tabUpdate, array( 'annee'=>$annee,
|
||||
'mois'=>$mois,
|
||||
'naf5'=>$naf,
|
||||
'depSiege'=>$dep,
|
||||
'formeJur'=>$fj,
|
||||
'anneeCrea'=>$anneeCrea,
|
||||
'trEffectif'=>$trEff,
|
||||
'trCA'=>$trCA,
|
||||
'dateInsert'=>date('YmdHis'),
|
||||
));
|
||||
$iDb2->insert('scores_profils', $tabInsert);
|
||||
if ($modeDebug) echo "PROFILS:INSERT=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbInsertProfil++;
|
||||
} else {
|
||||
if ($modeDebug) echo "PROFILS:UPDATE=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbUpdateProfil++;
|
||||
}
|
||||
if ($modeDebug) echo EOL;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Interdictions : $nbAnnonces annonces vérifiées.".EOL;
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Stats Secteurs : $nbInsertSecteur ajouts et $nbUpdateSecteur MAJ.".EOL;
|
||||
echo date ('Y/m/d - H:i:s')." - Stats Profils : $nbInsertProfil ajouts et $nbUpdateProfil MAJ.".EOL;
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Fin des stats secteurs et profils pour les interdictions quotidiennes.".EOL;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Préparation des stats secteurs et profils pour les Procédures quotidiennes.".EOL;
|
||||
$nbDejaProcol=$nbNouvProcol=$nbInsertSecteur=$nbUpdateSecteur=$nbInsertProfil=$nbUpdateProfil=0;
|
||||
|
||||
/** Initialisation des scores secteurs **/
|
||||
$query="(SELECT siren, sirenValide, typeEven, dateJugement, Bodacc_Date_Parution AS dateSource, dateInsert FROM bodacc_detail WHERE siren>1000 AND dateInsert>'$lastUpdate' $strDateFin AND dateJugement>='2005-01-01' AND ( typeEven LIKE '%1100%' OR typeEven LIKE '%1101%' OR typeEven LIKE '%1200%' OR typeEven LIKE '%1201%' OR typeEven LIKE '%1202%' OR typeEven LIKE '%1207%' OR typeEven LIKE '%1209%' OR typeEven LIKE '%1210%' OR typeEven LIKE '%1211%' OR typeEven LIKE '%1212%' OR typeEven LIKE '%1214%' OR typeEven LIKE '%1216%' OR typeEven LIKE '%1300%' OR typeEven LIKE '%1301%' OR typeEven LIKE '%1302%' OR typeEven LIKE '%1303%' OR typeEven LIKE '%1304%' OR typeEven LIKE '%1305%' OR typeEven LIKE '%1306%' OR typeEven LIKE '%1307%' OR typeEven LIKE '%1308%' OR typeEven LIKE '%1309%' OR typeEven LIKE '%1310%' OR typeEven LIKE '%1311%' OR typeEven LIKE '%1312%' OR typeEven LIKE '%1313%' OR typeEven LIKE '%1410%' OR typeEven LIKE '%1415%' OR typeEven LIKE '%1416%' OR typeEven LIKE '%1417%' OR typeEven LIKE '%1418%' OR typeEven LIKE '%1419%' OR typeEven LIKE '%1507%' OR typeEven LIKE '%1515%' OR typeEven LIKE '%1540%' OR typeEven LIKE '%1541%' OR typeEven LIKE '%1542%' OR typeEven LIKE '%1543%' OR typeEven LIKE '%1544%' OR typeEven LIKE '%1545%' OR typeEven LIKE '%1546%' OR typeEven LIKE '%1550%' OR typeEven LIKE '%1600%' OR typeEven LIKE '%1601%' OR typeEven LIKE '%1602%' OR typeEven LIKE '%1603%' OR typeEven LIKE '%1604%' OR typeEven LIKE '%1610%' OR typeEven LIKE '%1611%' OR typeEven LIKE '%1999%' ))
|
||||
UNION
|
||||
(SELECT siren, sirenValide, typeEven, dateJugement, dateSource, dateInsert FROM annonces where siren>1000 AND dateInsert>'$lastUpdate' $strDateFin AND dateJugement>='2005-01-01' AND typeEven IN (1100,/*Ouverture sauvegarde*/
|
||||
1101,/*Jugement arrêtant plan de sauvegarde*/
|
||||
1200,/*Redressement Judiciaire*/
|
||||
1201,/*Conversion sauvegarde en Redressement Judiciaire*/
|
||||
1202,/*Renouvellement de la période d'observation*/
|
||||
1207,/*Règlements amiables*/
|
||||
1209,/*Règlement judiciaire*/
|
||||
1210,/*Production de titres et créances*/
|
||||
1211,/*Redressement Judiciaire par extension au(x) gérant(s)*/
|
||||
1212,/*Réforme de Liquidation Judiciaire en Redressement Judiciaire*/
|
||||
1214,/*Avis de dépôt de l'état des créances (Loi de 1985)*/
|
||||
1216,/*Autre avis de dépôt*/
|
||||
1300,/*Conversion Redressement Judiciaire en Liquidation Judiciaire*/
|
||||
1301,/*Ouverture Liquidation Judiciaire*/
|
||||
1302,/*Ouverture Liquidation Judiciaire Simplifiée*/
|
||||
1303,/*Ouverture Liquidation Judiciaire sur résolution du plan*/
|
||||
1304,/*Réouverture Liquidation Judiciaire*/
|
||||
1305,/*Liquidation Judiciaire*/
|
||||
1306,/*Liquidation Judiciaire simplifiée*/
|
||||
1307,/*Conversion sauvegarde en Liquidation Judiciaire*/
|
||||
1308,/*Fin du régime de Liquidation Judiciaire Simplifiée*/
|
||||
1309,/*Conversion Liquidation Judiciaire en Liquidation Judiciaire Simplifiée*/
|
||||
1310,/*Procédure d'insolvabilité européenne*/
|
||||
1311,/*Liquidation Judiciaire par extension au(x) gérant(s)*/
|
||||
1312,/*Liquidation Judiciaire avec continuation d'exploitation*/
|
||||
1313,/*Liquidation Judiciaire sans remise des accessoires*/
|
||||
1410,/*Suite règlement/liquidation*/
|
||||
1415,/*Prolongement du plan cession*/
|
||||
1416,/*Jugement constatant la bonne exécution du plan*/
|
||||
1417,/*Jugement d'extension de liquidation judiciaire*/
|
||||
1418,/*Jugement d'extension d'une procédure de redressement judiciaire*/
|
||||
1419,/*Jugement d'extension d'une procédure de sauvegarde*/
|
||||
1507,/*Extrait d'arrêt de la cour d'appel*/
|
||||
1515,/*Arrêt divers*/
|
||||
1540,/*Ordonnance statuant sur les contestations du projet de répartition*/
|
||||
1541,/*Rétractation de prononcé de liquidation judiciaire sur tierce opposition*/
|
||||
1542,/*Rétractation de jugement d'ouverture d'une procédure de sauvegarde sur tierce opposition*/
|
||||
1543,/*Rétractation de jugement d'ouverture d'une procédure de redressement judiciaire sur tierce opposition*/
|
||||
1544,/*Rétractation de jugement d'ouverture d'une procédure de liquidation judiciaire sur tierce opposition*/
|
||||
1545,/*Rétractation de jugement d'ouverture sur tierce opposition*/
|
||||
1546,/*Autre rétractation sur tierce opposition*/
|
||||
1550,/*Jugement d'homologation de l'accord*/
|
||||
1600,/*Faillite personnelle*/
|
||||
1601,/*Interdiction de gérer*/
|
||||
1602,/*Jugement de réhabilitation*/
|
||||
1603,/*Liquidation de biens*/
|
||||
1604,/*Banqueroute
|
||||
1605,/*Jugement autorisant la reprise des poursuites individuelles*/
|
||||
1610,/*Faillite personnelle (Loi de 1985)*/
|
||||
1611,/*Interdiction de gérer (Loi de 1985)*/
|
||||
1999 /*Autre procédure collective*/ )
|
||||
) ORDER BY dateSource ASC;";
|
||||
if ($modeDebug) echo date ('Y/m/d - H:i:s')." - $query".EOL;
|
||||
$res=$iDb->query($query);
|
||||
$nbAnnonces=mysql_num_rows($res);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbAnnonces annonces d'ouverture à vérifier...".EOL;
|
||||
$sirenPre=false;
|
||||
|
||||
while ($annonce=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
$siren=$annonce['siren'];
|
||||
if ($siren==$sirenPre) continue;
|
||||
|
||||
$typeEven=$annonce['typeEven'];
|
||||
$dateJuge=$annonce['dateJugement'];
|
||||
$dateInsert=$annonce['dateInsert'];
|
||||
/** Initialisation des scores secteurs **/
|
||||
$query="(SELECT siren, sirenValide, typeEven, dateJugement, Bodacc_Date_Parution AS dateSource, dateInsert FROM bodacc_detail WHERE siren=$siren AND (dateInsert<'$dateInsert' OR dateJugement<'$dateJuge') AND Rubrique='procol')
|
||||
UNION
|
||||
(SELECT siren, sirenValide, typeEven, dateJugement, dateSource, dateInsert FROM annonces where siren=$siren AND (dateInsert<'$dateInsert' OR dateJugement<'$dateJuge') AND typeEven BETWEEN 1100 AND 1999) ORDER BY siren;";
|
||||
//echo date ('Y/m/d - H:i:s')." - $query".EOL;
|
||||
$res2=$iDb2->query($query);
|
||||
$nbProcol=mysql_num_rows($res2);
|
||||
|
||||
if ($modeDebug) echo "ProCol $siren\t$typeEven\t$dateJuge\t$dateInsert ";
|
||||
|
||||
if ($nbProcol>0) {
|
||||
if ($modeDebug) echo "($nbProcol ProCol)".EOL;
|
||||
$nbDejaProcol++;
|
||||
} else {
|
||||
$strIdAnn=" AND e.CODEVE BETWEEN 50 AND 79 AND e.DATE>=".(YEAR-12).MONTH.DAY;
|
||||
$res2=$iDbHisto->select(
|
||||
'entrep e, texte x, tribunaux t',
|
||||
'e.ANBASE, e.NOBOD, e.CODTRI, e.JAL, e.DATE, e.CODEVE, e.SSCODE, e.DEPT, e.NOANN, e.ROLE, e.SIREN, e.E1GSIR, e.E1GNIC, x.annonceNum, x.annonceTxt, t.triNom, t.triSiret',
|
||||
"e.E1GSIR=$siren AND e.ANBASE=x.annonceNum AND e.CODTRI=t.triCode $strIdAnn AND e.DATE BETWEEN 19960101 AND 20041231 GROUP BY e.ANBASE ORDER BY e.DATE DESC", true, MYSQL_ASSOC);
|
||||
$nbProcolHisto=count($res2);
|
||||
if ($nbProcolHisto>0) {
|
||||
if ($modeDebug) echo "($nbProcolHisto ProCol histo.)".EOL;
|
||||
$nbDejaProcol++;
|
||||
} else {
|
||||
if ($modeDebug) echo "NOUVELLE PROCEDURE ";
|
||||
$nbNouvProcol++;
|
||||
// Ajouter dans la table
|
||||
$tabTmp=explode('-', $dateJuge);
|
||||
$annee=$tabTmp[0];
|
||||
// if ($annee<2007) continue;
|
||||
$mois=$tabTmp[1];
|
||||
$tabIdentite=$iInsee->getIdentiteEntreprise($siren, 0, 0, false, false);
|
||||
$naf=$tabIdentite['NafEnt'];
|
||||
if (strlen($naf)<5) $naf=getNaf5($naf);
|
||||
|
||||
$fj=$tabIdentite['FJ'];
|
||||
$dep=$tabIdentite['Dept'];
|
||||
if ($dep>96 && $dep<99) $dep=''.$dep.substr($tabIdentite['codeCommune'],0,1);
|
||||
$anneeCrea=$tabIdentite['DateCreaEn'];
|
||||
if ($anneeCrea>$tabIdentite['DateCreaEt']) $anneeCrea=$tabIdentite['DateCreaEt'];
|
||||
$trEff=$tabIdentite['EffEnTr'];
|
||||
$trCA=$tabIdentite['TrancheCA'];
|
||||
|
||||
/** Mise à jour des scores secteurs **/
|
||||
$tabTmp=$iDb2->select( 'scores_secteurs',
|
||||
'nbProcol, nbEntrep, annee, mois',
|
||||
"naf5='$naf' AND annee=$annee AND mois=$mois",
|
||||
false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) $nbProcDB=$tabTmp[0]['nbProcol'] + 1;
|
||||
else $nbProcDB=1;
|
||||
|
||||
$tabUpdate=array('nbProcol'=> $nbProcDB);
|
||||
$retTmp=$iDb2->update('scores_secteurs', $tabUpdate, "naf5='$naf' AND annee=$annee AND mois=$mois");
|
||||
if (!$retTmp || $iDb2->getAffectedRows()==0) {
|
||||
$tabInsert=array_merge($tabUpdate, array( 'naf5'=>$naf,
|
||||
'annee'=>$annee,
|
||||
'mois'=>$mois,
|
||||
'dateInsert'=>date('YmdHis'),
|
||||
));
|
||||
$iDb2->insert('scores_secteurs', $tabInsert);
|
||||
if ($modeDebug) echo "SECTEURS:INSERT=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbInsertSecteur++;
|
||||
} else {
|
||||
if ($modeDebug) echo "SECTEURS:UPDATE=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbUpdateSecteur++;
|
||||
}
|
||||
if ($modeDebug) echo EOL;
|
||||
|
||||
/** Mise à jour des scores profils **/
|
||||
if ($modeDebug) echo "ProCol $siren\t$typeEven\t$dateJuge\t$dateInsert NOUVELLE PROCEDURE ";
|
||||
|
||||
$tabTmp=$iDb2->select( 'scores_profils',
|
||||
'nbProcol, nbEntrep, annee, mois',
|
||||
"annee=$annee AND mois=$mois AND naf5='$naf' AND depSiege=$dep AND formeJur=$fj AND
|
||||
anneeCrea=$anneeCrea AND trEffectif='$trEff' AND trCA=$trCA",
|
||||
false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) $nbProcDB=$tabTmp[0]['nbProcol'] + 1;
|
||||
else $nbProcDB=1;
|
||||
|
||||
$tabUpdate=array('nbProcol'=> $nbProcDB);
|
||||
$retTmp=$iDb2->update('scores_profils', $tabUpdate, "annee=$annee AND mois=$mois AND naf5='$naf' AND
|
||||
depSiege=$dep AND formeJur=$fj AND anneeCrea=$anneeCrea AND trEffectif='$trEff' AND trCA=$trCA");
|
||||
if (!$retTmp || $iDb2->getAffectedRows()==0) {
|
||||
$tabInsert=array_merge($tabUpdate, array( 'annee'=>$annee,
|
||||
'mois'=>$mois,
|
||||
'naf5'=>$naf,
|
||||
'depSiege'=>$dep,
|
||||
'formeJur'=>$fj,
|
||||
'anneeCrea'=>$anneeCrea,
|
||||
'trEffectif'=>$trEff,
|
||||
'trCA'=>$trCA,
|
||||
'dateInsert'=>date('YmdHis'),
|
||||
));
|
||||
$iDb2->insert('scores_profils', $tabInsert);
|
||||
if ($modeDebug) echo "PROFILS:INSERT=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbInsertProfil++;
|
||||
} else {
|
||||
if ($modeDebug) echo "PROFILS:UPDATE=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbUpdateProfil++;
|
||||
}
|
||||
|
||||
if ($modeDebug) echo EOL;
|
||||
}
|
||||
}
|
||||
$sirenPre=$siren;
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Procédures Collectives : $nbNouvProcol entreprises In Bonis sur $nbAnnonces annonces ($nbDejaProcol déjà en ProCol).".EOL;
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Stats Secteurs : $nbInsertSecteur ajouts et $nbUpdateSecteur MAJ pour $nbNouvProcol nouv. ProCol ($nbAnnonces annonces vérifiées).".EOL;
|
||||
echo date ('Y/m/d - H:i:s')." - Stats Profils : $nbInsertProfil ajouts et $nbUpdateProfil MAJ pour $nbNouvProcol nouv. ProCol ($nbAnnonces annonces vérifiées).".EOL;
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Fin des stats secteurs et profils pour les Procédures quotidiennes.".EOL;
|
||||
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Fin du traitement.".EOL;
|
||||
|
||||
?>
|
@ -1,299 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
define('NOW', date('YmdHis'));
|
||||
define('TODAY', substr(NOW, 0, 8));
|
||||
define('YEAR', substr(TODAY, 0, 4));
|
||||
define('MONTH', substr(TODAY, 4, 2));
|
||||
define('DAY', substr(TODAY, 6, 2));
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMBilans.php');
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Mise à jour quotidienne des statistiques de ventes de fonds de commerce
|
||||
|
||||
Options :
|
||||
-d:SSAAMMJJ Initialiser toutes les stats depuis SSAAMMJJ
|
||||
-f:SSAAMMJJ Initialiser tous les scores secteurs jusqu'au SSAAMMJJ
|
||||
-p Initialiser les scores profils mensuels (à défaut, seulement le 1er du mois)
|
||||
-s Initialiser les scores secteurs mensuels (à défaut, seulement le 1er du mois)
|
||||
-v Mode bavard
|
||||
|
||||
";
|
||||
|
||||
$dateDeb=$dateFin=0;
|
||||
$initStatProfil=$initStatSecteur=$modeDebug=false;
|
||||
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (strtolower(substr($argv[$i],1,1))) {
|
||||
case 'd':
|
||||
$dateDeb=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'f':
|
||||
$dateFin=substr($argv[$i],3)*1;
|
||||
break;
|
||||
case 'p':
|
||||
$initStatProfil=true;
|
||||
break;
|
||||
case 's':
|
||||
$initStatSecteur=true;
|
||||
break;
|
||||
case 'v':
|
||||
$modeDebug=true;
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . ' inconnue !'.EOL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$iDb=new WDB('jo');
|
||||
$iDb2=new WDB('jo');
|
||||
$iDbHisto=new WDB('historiques');
|
||||
|
||||
$iInsee=new MInsee();
|
||||
|
||||
|
||||
function getNaf5($naf4ou5) {
|
||||
$iDb=new WDB('insee');
|
||||
$tabTmp=$iDb->select( 'naf_conv', 'nafOut', "nafIn='$naf4ou5'");
|
||||
return $tabTmp[0]['nafOut'];
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Début du traitement.".EOL;
|
||||
|
||||
/** Recherche de la dernière date de MAJ
|
||||
**/
|
||||
if (!$dateDeb) {
|
||||
echo date ('Y/m/d - H:i:s')." - Préparation des statistiques à réaliser.".EOL;
|
||||
$tabLast=$iDb->select( 'stats_ventes',
|
||||
'max(dateInsert) AS lastInsert',
|
||||
'1');
|
||||
$lastUpdate=$tabLast[0]['lastInsert'];
|
||||
if ($tabLast[0]['lastUpdate']>$lastUpdate) $lastUpdate=$tabLast[0]['lastUpdate'];
|
||||
echo date('Y/m/d - H:i:s') ." - La dernière mise à jour des stats date de $lastUpdate !".EOL;
|
||||
} else {
|
||||
$lastUpdate=WDate::dateT('Ymd', 'Y-m-d', $dateDeb).' 00:00:00';
|
||||
if ($dateFin) {
|
||||
$strDateFin=" AND (dateInsert<='".WDate::dateT('Ymd', 'Y-m-d', $dateFin)." 23:59:59' OR
|
||||
dateUpdate<='".WDate::dateT('Ymd', 'Y-m-d', $dateFin)." 23:59:59' ) ";
|
||||
echo date('Y/m/d - H:i:s') ." - Réinitialisation des stats du $lastUpdate au $dateFin !".EOL;
|
||||
} else {
|
||||
$strDateFin='';
|
||||
echo date('Y/m/d - H:i:s') ." - Réinitialisation des stats depuis le $lastUpdate !".EOL;
|
||||
}
|
||||
}
|
||||
|
||||
//if (!$initStatProfil && !$initStatSecteur) {
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Préparation des stats les ventes quotidiennes.".EOL;
|
||||
//$nbDejaProcol=$nbNouvProcol=$nbInsertSecteur=$nbUpdateSecteur=$nbInsertProfil=$nbUpdateProfil=0;
|
||||
|
||||
/** Initialisation des scores secteurs **/
|
||||
$query="
|
||||
(SELECT siren, sirenValide, nic, nicValide, typeEven, IF(dateDebutActivite<>0,dateDebutActivite,IF(dateEffet<>0,dateEffet,IF(publicationDate<>0,publicationDate,0))) AS dateJugement, Bodacc_Date_Parution AS dateSource, dateInsert,
|
||||
typeEven, raisonSociale, adresse, codePostal, ville, Tribunal_Code AS tribunal, VenteMt AS montant, bienAcqui AS complement, 'bodacc' AS source
|
||||
FROM bodacc_detail
|
||||
WHERE siren>1000 AND dateInsert>'$lastUpdate' $strDateFin AND (
|
||||
typeEven LIKE '%5500%' /* Entreprise réalisant la vente */
|
||||
OR typeEven LIKE '%5501%' /* Entreprise réalisant la vente : Ancien propriétaire et ancien exploitant */
|
||||
OR typeEven LIKE '%5502%' /* Entreprise réalisant la vente : Ancien propriétaire en indivision */
|
||||
OR typeEven LIKE '%5503%' /* Entreprise réalisant la vente : Ancien propriétaire */
|
||||
OR typeEven LIKE '%5510%' /* Entreprise réalisant la vente : Co-propriétaire */
|
||||
OR typeEven LIKE '%5600%' /* Entreprise Précédent exploitant */
|
||||
OR typeEven LIKE '%5650%' /* Entreprise indemnisée */
|
||||
OR typeEven LIKE '%5900%' /* Autre achat, apport, attribution */
|
||||
OR typeEven LIKE '%5999%' /* Ventes/Cessions */ ) )
|
||||
UNION
|
||||
(SELECT siren, sirenValide, 00000 AS nic, 0 AS nicValide, typeEven, dateJugement, dateSource, dateInsert,
|
||||
CONCAT(typeEven,';',strEven) as codeEven, raisonSociale, adresse, codePostal, ville, tribunal, montant, complement, 'collecte' AS source
|
||||
FROM annonces
|
||||
WHERE siren>1000 AND dateInsert>'$lastUpdate' $strDateFin AND (typeEven BETWEEN 5500 AND 5650 OR strEven LIKE '%5500%' /* Entreprise réalisant la vente */
|
||||
OR strEven LIKE '%5501%' /* Entreprise réalisant la vente : Ancien propriétaire et ancien exploitant */
|
||||
OR strEven LIKE '%5502%' /* Entreprise réalisant la vente : Ancien propriétaire en indivision */
|
||||
OR strEven LIKE '%5503%' /* Entreprise réalisant la vente : Ancien propriétaire */
|
||||
OR strEven LIKE '%5510%' /* Entreprise réalisant la vente : Co-propriétaire */
|
||||
OR strEven LIKE '%5600%' /* Entreprise Précédent exploitant */
|
||||
OR strEven LIKE '%5650%' /* Entreprise indemnisée */)
|
||||
)
|
||||
ORDER BY dateSource ASC;";
|
||||
if ($modeDebug) echo date ('Y/m/d - H:i:s')." - $query".EOL;
|
||||
$res=$iDb->query($query);
|
||||
$nbAnnonces=mysql_num_rows($res);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbAnnonces annonces de ventes à vérifier...".EOL;
|
||||
$sirenPre=false;
|
||||
|
||||
while ($annonce=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
print_r($annonce);
|
||||
// die();
|
||||
$siren=$annonce['siren'];
|
||||
$nic=$annonce['nic'];
|
||||
$source=$annonce['source'];
|
||||
$cp=$annonce['codePostal'];
|
||||
$ville=strtoupper($annonce['ville']);
|
||||
$dep=substr($annonce['codePostal'],0,2)*1;
|
||||
if ($dep>96) $dep=substr($annonce['codePostal'],0,3)*1;
|
||||
$nbSrc[$source]++;
|
||||
|
||||
if ($nic==0) {
|
||||
if ($source=='collecte') {
|
||||
if (preg_match('/tablissement concern.*\((\d{5,5})\)(.*)$/Ui', $annonce['complement'], $matches)) {
|
||||
if (preg_match('/\((\d{5,5})\)/Ui',$matches[2])) die('Plusieurs établissements vendus !');
|
||||
$nic=$matches[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($nic*1==0){
|
||||
//$tabIdentite=$iInsee->getIdentiteEntreprise($siren, 0, 0, false, false);
|
||||
$tabEtabs=$iInsee->getEtablissements($siren, '', 0, 200, 200, $dep);
|
||||
foreach ($tabEtabs['reponses'] as $iRep=>$etab) {
|
||||
if ($cp<>$etab['CP'] && $ville<>strtoupper($etab['Ville']))
|
||||
continue;
|
||||
$nic=$etab['Nic'];
|
||||
if ($tabEtabs['nbReponses']==1) break;
|
||||
/*if (
|
||||
$levAdr=levenstein($etab['Adresse'], $annonce['adresse']);
|
||||
[Adresse2] => 116 A 118
|
||||
[CP] => 94000
|
||||
[Ville] => CRETEIL
|
||||
);*/
|
||||
}
|
||||
if ($nic*1==0) $nbNic0++;//die(print_r($tabEtabs));
|
||||
}
|
||||
//if ($siren==$sirenPre) continue;
|
||||
/*
|
||||
$typeEven=$annonce['typeEven'];
|
||||
$dateEven=$annonce['dateJugement'];
|
||||
$dateInsert=$annonce['dateInsert'];
|
||||
/** Initialisation des scores secteurs **
|
||||
$query="(SELECT siren, sirenValide, typeEven, dateJugement, Bodacc_Date_Parution AS dateSource, dateInsert FROM bodacc_detail WHERE siren=$siren AND (dateInsert<'$dateInsert' OR dateJugement<'$dateJuge') AND Rubrique='procol')
|
||||
UNION
|
||||
(SELECT siren, sirenValide, typeEven, dateJugement, dateSource, dateInsert FROM annonces where siren=$siren AND (dateInsert<'$dateInsert' OR dateJugement<'$dateJuge') AND typeEven BETWEEN 1100 AND 1999) ORDER BY siren;";
|
||||
//echo date ('Y/m/d - H:i:s')." - $query".EOL;
|
||||
$res2=$iDb2->query($query);
|
||||
$nbProcol=mysql_num_rows($res2);
|
||||
|
||||
if ($modeDebug) echo "Vente $siren\t$typeEven\t$dateJuge\t$dateInsert ";
|
||||
|
||||
if ($nbProcol>0) {
|
||||
if ($modeDebug) echo "($nbProcol ProCol)".EOL;
|
||||
$nbDejaProcol++;
|
||||
} else {
|
||||
$strIdAnn=" AND e.CODEVE BETWEEN 50 AND 79 AND e.DATE>=".(YEAR-12).MONTH.DAY;
|
||||
$res2=$iDbHisto->select(
|
||||
'entrep e, texte x, tribunaux t',
|
||||
'e.ANBASE, e.NOBOD, e.CODTRI, e.JAL, e.DATE, e.CODEVE, e.SSCODE, e.DEPT, e.NOANN, e.ROLE, e.SIREN, e.E1GSIR, e.E1GNIC, x.annonceNum, x.annonceTxt, t.triNom, t.triSiret',
|
||||
"e.E1GSIR=$siren AND e.ANBASE=x.annonceNum AND e.CODTRI=t.triCode $strIdAnn AND e.DATE BETWEEN 19960101 AND 20041231 GROUP BY e.ANBASE ORDER BY e.DATE DESC", true, MYSQL_ASSOC);
|
||||
$nbProcolHisto=count($res2);
|
||||
if ($nbProcolHisto>0) {
|
||||
if ($modeDebug) echo "($nbProcolHisto ProCol histo.)".EOL;
|
||||
$nbDejaProcol++;
|
||||
} else {
|
||||
if ($modeDebug) echo "NOUVELLE PROCEDURE ";
|
||||
$nbNouvProcol++;
|
||||
// Ajouter dans la table
|
||||
$tabTmp=explode('-', $dateJuge);
|
||||
$annee=$tabTmp[0];
|
||||
// if ($annee<2007) continue;
|
||||
$mois=$tabTmp[1];
|
||||
$tabIdentite=$iInsee->getIdentiteEntreprise($siren, 0, 0, false, false);
|
||||
$naf=$tabIdentite['NafEnt'];
|
||||
if (strlen($naf)<5) $naf=getNaf5($naf);
|
||||
|
||||
$fj=$tabIdentite['FJ'];
|
||||
$dep=$tabIdentite['Dept'];
|
||||
if ($dep>96 && $dep<99) $dep=''.$dep.substr($tabIdentite['codeCommune'],0,1);
|
||||
$anneeCrea=$tabIdentite['DateCreaEn'];
|
||||
if ($anneeCrea>$tabIdentite['DateCreaEt']) $anneeCrea=$tabIdentite['DateCreaEt'];
|
||||
$trEff=$tabIdentite['EffEnTr'];
|
||||
$trCA=$tabIdentite['TrancheCA'];
|
||||
|
||||
/** Mise à jour des scores secteurs **
|
||||
$tabTmp=$iDb2->select( 'scores_secteurs',
|
||||
'nbProcol, nbEntrep, annee, mois',
|
||||
"naf5='$naf' AND annee=$annee AND mois=$mois",
|
||||
false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) $nbProcDB=$tabTmp[0]['nbProcol'] + 1;
|
||||
else $nbProcDB=1;
|
||||
|
||||
$tabUpdate=array('nbProcol'=> $nbProcDB);
|
||||
$retTmp=$iDb2->update('scores_secteurs', $tabUpdate, "naf5='$naf' AND annee=$annee AND mois=$mois");
|
||||
if (!$retTmp || $iDb2->getAffectedRows()==0) {
|
||||
$tabInsert=array_merge($tabUpdate, array( 'naf5'=>$naf,
|
||||
'annee'=>$annee,
|
||||
'mois'=>$mois,
|
||||
'dateInsert'=>date('YmdHis'),
|
||||
));
|
||||
$iDb2->insert('scores_secteurs', $tabInsert);
|
||||
if ($modeDebug) echo "SECTEURS:INSERT=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbInsertSecteur++;
|
||||
} else {
|
||||
if ($modeDebug) echo "SECTEURS:UPDATE=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbUpdateSecteur++;
|
||||
}
|
||||
if ($modeDebug) echo EOL;
|
||||
|
||||
/** Mise à jour des scores profils **
|
||||
if ($modeDebug) echo "ProCol $siren\t$typeEven\t$dateJuge\t$dateInsert NOUVELLE PROCEDURE ";
|
||||
|
||||
$tabTmp=$iDb2->select( 'scores_profils',
|
||||
'nbProcol, nbEntrep, annee, mois',
|
||||
"annee=$annee AND mois=$mois AND naf5='$naf' AND depSiege=$dep AND formeJur=$fj AND
|
||||
anneeCrea=$anneeCrea AND trEffectif='$trEff' AND trCA=$trCA",
|
||||
false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) $nbProcDB=$tabTmp[0]['nbProcol'] + 1;
|
||||
else $nbProcDB=1;
|
||||
|
||||
$tabUpdate=array('nbProcol'=> $nbProcDB);
|
||||
$retTmp=$iDb2->update('scores_profils', $tabUpdate, "annee=$annee AND mois=$mois AND naf5='$naf' AND
|
||||
depSiege=$dep AND formeJur=$fj AND anneeCrea=$anneeCrea AND trEffectif='$trEff' AND trCA=$trCA");
|
||||
if (!$retTmp || $iDb2->getAffectedRows()==0) {
|
||||
$tabInsert=array_merge($tabUpdate, array( 'annee'=>$annee,
|
||||
'mois'=>$mois,
|
||||
'naf5'=>$naf,
|
||||
'depSiege'=>$dep,
|
||||
'formeJur'=>$fj,
|
||||
'anneeCrea'=>$anneeCrea,
|
||||
'trEffectif'=>$trEff,
|
||||
'trCA'=>$trCA,
|
||||
'dateInsert'=>date('YmdHis'),
|
||||
));
|
||||
$iDb2->insert('scores_profils', $tabInsert);
|
||||
if ($modeDebug) echo "PROFILS:INSERT=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbInsertProfil++;
|
||||
} else {
|
||||
if ($modeDebug) echo "PROFILS:UPDATE=>$nbProcDB ($naf/$annee-$mois)";
|
||||
$nbUpdateProfil++;
|
||||
}
|
||||
|
||||
if ($modeDebug) echo EOL;
|
||||
}
|
||||
}*/
|
||||
$sirenPre=$siren;
|
||||
}
|
||||
print_r($nbSrc);
|
||||
die("$nbNic0 nic non trouvés sur $nbAnnonces".EOL);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Procédures Collectives : $nbNouvProcol entreprises In Bonis sur $nbAnnonces annonces ($nbDejaProcol déjà en ProCol).".EOL;
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Stats Secteurs : $nbInsertSecteur ajouts et $nbUpdateSecteur MAJ pour $nbNouvProcol nouv. ProCol ($nbAnnonces annonces vérifiées).".EOL;
|
||||
echo date ('Y/m/d - H:i:s')." - Stats Profils : $nbInsertProfil ajouts et $nbUpdateProfil MAJ pour $nbNouvProcol nouv. ProCol ($nbAnnonces annonces vérifiées).".EOL;
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Fin des stats secteurs et profils pour les Procédures quotidiennes.".EOL;
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Fin du traitement.".EOL;
|
||||
|
||||
?>
|
@ -1,238 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
|
||||
|
||||
/** @todo Si MAJ en annule et remplace prévoir les manips SQL suivantes :
|
||||
** Création d'une table insee.tmp sans aucun index
|
||||
** A la fin du chargement construire les index
|
||||
** Si pas d'erreur :
|
||||
** 1. detruire insee
|
||||
** 2. Renommer insee.tmp en insee
|
||||
**/
|
||||
|
||||
set_time_limit(0);
|
||||
$heureDebut=TIME_LISIBLE;
|
||||
$dateJour=DATE;
|
||||
$dateJourFormat=substr(DATETIME,0,4).'-'.substr(DATETIME,4,2).'-'.substr(DATETIME,6,2);
|
||||
$j=0;
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
if ($_SERVER['argc']==1) die('Usage : '.basename($argv[0]). " [OPTION]... FICHIER
|
||||
Charger un fichier CSV dans une base de données avec création de la table qui aura le nom du fichier chargé..
|
||||
|
||||
Options disponibles:
|
||||
|
||||
|
||||
Les arguments obligatoires pour les options de formes longues le sont aussi
|
||||
pour les options de formes courtes.
|
||||
-s=CHAR séparateur de champs (virgule, point-virgule*, /t=tabulation, etc...)
|
||||
-c=CHAR caractère encadrant les zones alphanumériques (inopérationnel)
|
||||
|
||||
(*): Valeurs par défaut !
|
||||
");
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 's': $separator=substr($argv[$i],3); break;
|
||||
case 'c': $chaine=substr($argv[$i],3); break;
|
||||
default: die('Option '. $argv[$i] . " inconnue !".EOL);
|
||||
}
|
||||
} else {
|
||||
$fichier_csv[$j]=$argv[$i];
|
||||
$j++;
|
||||
}
|
||||
}
|
||||
|
||||
$db_name='jo';
|
||||
|
||||
$iDb=new WDB($db_name);
|
||||
|
||||
if ($separator=='/t') {
|
||||
$separator="\t";
|
||||
echo "séparateur = tabulation\n";
|
||||
} elseif (!isset($separator) || $separator=='') {
|
||||
$separator=';';
|
||||
echo "séparateur = '$separator'\n";
|
||||
}
|
||||
else
|
||||
echo "séparateur = '$separator'\n";
|
||||
|
||||
// Mise à jour de la table PARAM
|
||||
// -----------------------------
|
||||
// 2 - pour la date et l'heure d'exécution du traitement en cours
|
||||
|
||||
/* $tabDataToUpdate=array('VALEUR'=>DATETIME,
|
||||
'CLE'=>'INSEE_MAJ_ENCOURS');
|
||||
$iparam->setParamValeur($tabDataToUpdate);
|
||||
*/
|
||||
echo date ('Y/m/d - H:i:s') . " - Début du traitement".EOL;
|
||||
flush();
|
||||
|
||||
for ($nbFichiers=0; isset($fichier_csv[$nbFichiers]); $nbFichiers++)
|
||||
{
|
||||
$fp=fopen($fichier_csv[$nbFichiers], 'r');
|
||||
if (!$fp) {
|
||||
echo date ('Y/m/d - H:i:s')." - Impossible d'ouvrir le fichier : ".$fichier_csv[$nbFichiers]." !".EOL;
|
||||
/* $tabDataToUpdate=array( 'NUM'=>$numScript,
|
||||
'DATE_JOUR'=>$dateJour,
|
||||
'HEURE_DEBUT'=>$heureDebut,
|
||||
'HEURE_FIN'=>$heureFin,
|
||||
'CODE_RETOUR'=>0,
|
||||
'NB_MAIL'=>1,
|
||||
'RESUME_EXEC'=>"Impossible d'ouvrir le fichier n°$nbFichiers à traiter : $nomFichier.");*/
|
||||
echo date ('Y/m/d - H:i:s') . " - Fin du traitement".EOL;
|
||||
exit();
|
||||
}
|
||||
|
||||
$nbLignes=0;
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Début du traitement du fichier ". $fichier_csv[$nbFichiers] ."...".EOL;
|
||||
flush();
|
||||
|
||||
while (($data = fgetcsv($fp, 3000, $separator)) !== FALSE)
|
||||
{
|
||||
//echo "\nLigne #$nbLignes:\n";
|
||||
$nomIn=addslashes(trim($data[0]));
|
||||
$nom=trim(addslashes(substr($nomIn,0,5)));
|
||||
//$prenom='';
|
||||
$prenom=addslashes(trim($data[1]));
|
||||
//////$tabTmp=explode('/',$data[2]);
|
||||
$tabTmp=explode('/',$data[2]);
|
||||
$dateNaiss=$tabTmp[2].'-'.$tabTmp[1].'-'.$tabTmp[0];
|
||||
$nbLignes++;
|
||||
|
||||
$tabTmp=$iDb->select('insee_dc',
|
||||
"nom, prenom, sexe, dateNaiss, comInsee, comLib, pays, dateDeces, comInsee2, dateInsert,
|
||||
MATCH(nom) AGAINST ('$nom') AS ScoreNom, MATCH(prenom) AGAINST ('$prenom') AS ScorePrenom
|
||||
/* MATCH(nom, prenom) AGAINST ('$nomIn') AS ScoreNomPrenom */ ",
|
||||
"1 AND MATCH(nom) AGAINST ('$nom') AND MATCH(prenom) AGAINST ('$prenom')
|
||||
/* AND MATCH(nom,prenom) AGAINST ('$nomIn')
|
||||
AND dateNaiss='$dateNaiss' */
|
||||
AND nom LIKE '$nom%'
|
||||
ORDER BY ScoreNom DESC, ScorePrenom DESC
|
||||
", true);
|
||||
|
||||
if (isset($tabTmp[0])) {
|
||||
if (count($tabTmp)==1) $codeRet=1;
|
||||
else $codeRet=2;
|
||||
foreach ($tabTmp as $i=> $res) {
|
||||
echo "$ref;$nomIn;$prenom;$dateNaiss;$codeRet;". $res['nom'].';'.
|
||||
$res['prenom'].';'.
|
||||
$res['dateNaiss'].';'.
|
||||
$res['comInsee'].';'.
|
||||
$res['comLib'].';'.
|
||||
$res['sexe'].';'.
|
||||
$res['pays'].';'.
|
||||
$res['dateDeces'].';'.
|
||||
$res['comInsee2'].';'.
|
||||
$res['dateInsert'].';'.EOL;
|
||||
}
|
||||
} else {
|
||||
echo "$ref;$nomIn;$prenom;$dateNaiss;0;".EOL;
|
||||
}
|
||||
|
||||
/*
|
||||
if ($nbLignes==1)
|
||||
{ // L'entête contient la structure du fichier
|
||||
// On compte le nombre de colonnes du fichier
|
||||
$nbColonnes=count($data);
|
||||
$sql="CREATE TABLE IF NOT EXISTS `$nom_table` (";
|
||||
for($i=0; $i<$nbColonnes; $i++) {
|
||||
$sql.='`'.$data[$i].'` LONGTEXT,';
|
||||
$tabTailles[$i]=0;
|
||||
$champ[$i]=$data[$i];
|
||||
}
|
||||
$sql=substr($sql,0,strlen($sql)-1); // Retrait de la dernière virgule
|
||||
//$sql.="NOM LONGTEXT, PRENOM LONGTEXT, NUSAGE LONGTEXT) TYPE = MYISAM COMMENT = '$comment'";
|
||||
$sql.=") TYPE = MYISAM COMMENT = '$comment'";
|
||||
//echo $sql;
|
||||
if ($iDb->query($sql))
|
||||
echo date ('Y/m/d - H:i:s')." - Création de la table $nom_table OK...".EOL;
|
||||
else {
|
||||
echo $iDb->getLastError().EOL;
|
||||
die(date ('Y/m/d - H:i:s')." - Impossible de créer la table $nom_table !".EOL."Requête SQL = $sql".EOL);
|
||||
}
|
||||
flush();
|
||||
continue;
|
||||
}
|
||||
die();
|
||||
$tabDataToInsert=array();
|
||||
|
||||
for($i=0; $i<$nbColonnes; $i++) {
|
||||
if ($i==1) {
|
||||
$tabM=explode(' ', $data[$i]);
|
||||
if (strlen($tabM[0])<=2) {
|
||||
$nom=$tabM[0].' '.$tabM[1];
|
||||
// unset($tabM[0]);
|
||||
unset($tabM[1]);
|
||||
}
|
||||
else $nom=$tabM[0];
|
||||
unset($tabM[0]);
|
||||
$tabM=preg_split('/( NEE | NE )/i', implode(' ', $tabM));
|
||||
$prenom=$tabM[0];
|
||||
$usage=$tabM[1];
|
||||
$tabDataToInsert=array_merge($tabDataToInsert, array('NOM'=>$nom, 'PRENOM'=>$prenom, 'NUSAGE'=>$usage));
|
||||
} else
|
||||
$tabDataToInsert=array_merge($tabDataToInsert, array($champ[$i]=>$data[$i]));
|
||||
if (strlen($data[$i])>$tabTailles[$i])
|
||||
$tabTailles[$i]=strlen($data[$i]);
|
||||
}
|
||||
|
||||
//print_r($tabDataToInsert);
|
||||
$ret=$iDb->insert($nom_table, $tabDataToInsert);
|
||||
if ($ret!=1) {
|
||||
echo date ('Y/m/d - H:i:s') . " - ERREUR à l'insertion de la ligne n°$i : ". implode(';', $data) ." !".EOL;
|
||||
flush();
|
||||
}
|
||||
unset($tabDataToInsert);*/
|
||||
}
|
||||
fclose ($fp);
|
||||
die();
|
||||
// On réduit la taille des colonnes au max de chaque champ
|
||||
for($i=0; $i<$nbColonnes; $i++)
|
||||
{
|
||||
//$tabTailles[$i]=strlen($data[$i]);
|
||||
if ($tabTailles[$i]<256) {
|
||||
$sql="ALTER TABLE `$nom_table` CHANGE `".$champ[$i]."` `".$champ[$i]."` VARCHAR(".$tabTailles[$i].") NULL DEFAULT NULL ";
|
||||
echo $sql;
|
||||
if ($iDb->query($sql))
|
||||
echo date ('Y/m/d - H:i:s')." - Taille du champ $i (". $champ[$i] .") passée à ". $tabTailles[$i] ."...".EOL;
|
||||
else
|
||||
echo date ('Y/m/d - H:i:s')." - Impossible de modifier la taille du champ $i (". $champ[$i] .") à ". $tabTailles[$i] ." !".EOL;
|
||||
flush();}
|
||||
}
|
||||
echo 'Tailles max / champ:'.EOL;
|
||||
print_r($tabTailles);
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Fin du traitement.".EOL;
|
||||
die();
|
||||
function ecrireFichier($fichier,$texte){
|
||||
$fp = fopen($fichier, "a");
|
||||
fwrite($fp, $texte."\r\n");
|
||||
fclose ($fp);
|
||||
}
|
||||
|
||||
function valideSiret($SIRET) {
|
||||
if (!is_numeric($SIRET))
|
||||
return false;
|
||||
|
||||
$somme=0;
|
||||
for ($i=0; $i<=12; $i+=2) { // Traitement PAIR
|
||||
$var_tmp=(string)(2*((integer)substr($SIRET,$i,1)));
|
||||
$som_tmp=0;
|
||||
for($j=0;$j<strlen($var_tmp);$j++)
|
||||
$som_tmp+=(integer)substr($var_tmp,$j,1);
|
||||
$somme+=$som_tmp;
|
||||
}
|
||||
for ($i=1; $i<=13; $i+=2) // Traitement IMPAIR
|
||||
$somme+=(integer)substr($SIRET,$i,1);
|
||||
|
||||
if ((integer)($somme/10)!=($somme/10))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
?>
|
@ -1,63 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
/* $tabDossiers=file('/mnt/samba/public/listeCet.txt');
|
||||
$str=file_get_contents('/mnt/samba/public/SaisieCetelem_debug.old.log');
|
||||
//$i=>$ligne
|
||||
foreach ($tabDossiers as $i=>$ligne) {
|
||||
$ligne=trim($ligne);
|
||||
if (preg_match_all('/(.*) - CREDDEL : (.*)'.$ligne.'(.*)retour Cetelem =(.*)/i', $str, $matches)) {
|
||||
//if (preg_match_all('/(.*)'.$ligne.'(.*)/i', $str, $matches)) {
|
||||
//print_r($matches);
|
||||
$nbEssais=count($matches[1]);
|
||||
$lastEssai=end($matches[1]);
|
||||
$nomPrenom=end($matches[3]);
|
||||
$message=end($matches[4]);
|
||||
|
||||
echo "$i;$ligne;OK;$nbEssais;$lastEssai;$nomPrenom;$message\n";
|
||||
//die();
|
||||
}
|
||||
else
|
||||
echo "$i;$ligne;KO\n";
|
||||
}
|
||||
*/
|
||||
|
||||
$iDb=new WDB('insee');
|
||||
|
||||
$tabDossiers=file('./siretBasculesInconnus.csv');
|
||||
echo date ('Y/m/d - H:i:s')." - Chargement des siret...".EOL;
|
||||
foreach ($tabDossiers as $i=>$ligne) {
|
||||
$tabTmp=explode(';', $ligne);
|
||||
$siren=$tabTmp[0];
|
||||
$tabSirenTmp[]=$siren;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Chargement de $i siret...".EOL;
|
||||
|
||||
$tabSiren=array_unique($tabSirenTmp);
|
||||
$nb=count($tabSiren);
|
||||
echo date ('Y/m/d - H:i:s')." - Dédoublonnage des siret : $nb siret".EOL;
|
||||
sort($tabSiren);
|
||||
echo date ('Y/m/d - H:i:s')." - Trie des siret OK.".EOL;
|
||||
|
||||
foreach ($tabSiren as $i=>$siren) {
|
||||
$ret=$iDb->select('identite', 'count(*) as nbEtab, NOM, NOM2, SIGLE, DCREN, CJ, CIVILITE, PROCOL, PROCOL_TYPE, PROCOL_DATE, CAPITAL, EFF_ENT, NUMRC, DIR_FCT, DIR_IDEN, DIR_DATEN, DIR_LIEUN, CAPITAL_DATE, CAPITAL_DEV, TEFF_ENT, TCA, TCAEXP', "SIREN=$siren AND NOM<>'' GROUP BY SIREN", false, MYSQL_ASSOC);
|
||||
$entrep=$ret[0];
|
||||
if ($entrep['nbEtab']>0) {
|
||||
echo "$i/$nb : $siren;".$entrep['nbEtab'].';'.$entrep['NOM']."\n";
|
||||
$tabUpdate=$entrep;
|
||||
unset($tabUpdate['nbEtab']);
|
||||
//print_r($tabUpdate);
|
||||
//die();
|
||||
$retUpdate=$iDb->update('identite', $tabUpdate, "SIREN=$siren AND NOM=''");
|
||||
// die($retUpdate);
|
||||
} else {
|
||||
$fp=fopen('siren_a_recuperer.txt', 'a');
|
||||
fwrite($fp, "$siren\n");
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
|
||||
die();
|
||||
|
||||
?>
|
@ -1,85 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
function wsLog($service, $siret='', $ref='') {
|
||||
/* if (strlen($siret)==14) {
|
||||
$siren=substr($siret,0,9);
|
||||
$nic=substr($siret,9,5);
|
||||
} elseif (strlen($siret)==9) {
|
||||
$siren=$siret;
|
||||
$nic='';
|
||||
}
|
||||
|
||||
global $iDbCrm, $tabInfoUser;
|
||||
$tabInsert=array( 'login'=>$tabInfoUser['login'],
|
||||
'page'=>$service,
|
||||
'siren'=>$siren,
|
||||
'nic'=>$nic,
|
||||
'params'=>$ref);
|
||||
$rep=$iDbCrm->insert('logs', $tabInsert);
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
error_reporting(E_ALL & ~E_NOTICE);
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once('/var/www/html/ws/WsEntreprise.php');
|
||||
|
||||
$nbExercices=1;
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Scorer toute la base entreprise S&D.
|
||||
|
||||
Options :
|
||||
-t Calculer tous les scores (*)
|
||||
-i:XXX Reprendre à la ligne XXX
|
||||
|
||||
(*) Option par défaut si aucun argument n'est passé.
|
||||
";/* -e:X Calculer pour les X derniers exercices (3 par défaut)
|
||||
-f Calculer les scores financiers
|
||||
*/
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 't':
|
||||
case 'T':
|
||||
break;
|
||||
case 'i':
|
||||
case 'I':
|
||||
$iDeb=substr($argv[$i],3);
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . ' inconnue !'.EOL);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$iDb=new WDB('tmp');
|
||||
|
||||
$iWs=new WsEntreprise();
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT du programme de recherche des siren manquants...".EOL;
|
||||
|
||||
$tabRows=$iDb->select( 'tmp.siren_surv', 'siren', 'siren>99999 AND siren NOT IN (SELECT siren FROM jo.etablissements) ORDER BY siren_surv.siren DESC', false, MYSQL_ASSOC);
|
||||
$nbRows=count($tabRows);
|
||||
echo date('Y/m/d - H:i:s') ." - Il y a $nbRows entreprises à scorer...".EOL;
|
||||
|
||||
foreach ($tabRows as $k=>$tabSiren) {
|
||||
if ($k<$iDeb) continue;
|
||||
|
||||
$siren=$tabSiren['siren'];
|
||||
$tabRet=@$iWs->searchSiren($siren);
|
||||
$nbReps=$tabRet['results']['nbReponses'];
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - Ligne $k, siren $siren : $nbReps entreprise trouvée...".EOL;
|
||||
randsleep(1,2);
|
||||
}
|
||||
|
||||
die();
|
||||
?>
|
3350
batch/cjBodacc.php
3350
batch/cjBodacc.php
File diff suppressed because it is too large
Load Diff
@ -1,526 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(FWK_PATH.'common/curl.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
|
||||
$iInsee=new MInsee();
|
||||
|
||||
$siren=552144503;
|
||||
|
||||
print_r($iInsee->getAnnoncesLegales($siren));
|
||||
|
||||
die();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$tabLigne=file('/root/cjBodacc.txt');
|
||||
$tabCj=array();
|
||||
|
||||
foreach ($tabLigne as $i=>$ligne) {
|
||||
if ($i<1) continue;
|
||||
$tabTmp=explode("\t", $ligne);
|
||||
$libCj=strtoupper(trim(preg_replace('/[^a-z]/i','',$tabTmp[0])));
|
||||
$nbrCj=$tabTmp[1];
|
||||
@$tabCj[$libCj]+=$nbrCj;
|
||||
}
|
||||
$nbCj=count($tabCj);
|
||||
echo "$i CJ traitées => $nbCj filtrées !".EOL;
|
||||
|
||||
foreach ($tabCj as $libCj=>$nbrCj)
|
||||
echo "'$libCj'=>0,\t// $nbrCj".EOL;
|
||||
die();
|
||||
/*include_once(INCLUDE_PATH.'partenaires/classMGreffes.php');
|
||||
include_once(FWK_PATH.'mail/sendMail.php');
|
||||
*/
|
||||
/*
|
||||
function ferie($mois,$an, $alsace = false){
|
||||
if (is_array($mois)){
|
||||
$retour = array();
|
||||
foreach ($mois as $m) {
|
||||
$r = ferie($m, $an);
|
||||
$retour[$m] = ferie($m, $an);
|
||||
}
|
||||
return $retour;
|
||||
}
|
||||
|
||||
// calcul des jours feries pour un seul mois.
|
||||
if (mktime(0,0,0,$mois, 1,$an) == -1) { return FALSE;}
|
||||
list($mois, $an) = explode("-", date("m-Y", mktime(0,0,0,$mois, 1, $an)));
|
||||
$an = intval($an);
|
||||
$mois = intval($mois);
|
||||
|
||||
// une constante
|
||||
$jour = 3600*24;
|
||||
|
||||
// les jours fixes
|
||||
$ferie["Jour de l'an"][1] = 1;
|
||||
$ferie["Armistice 39-45 "][5] = 8;
|
||||
$ferie["Toussaint"][11] = 1;
|
||||
$ferie["Armistice 14-18"][11] = 11;
|
||||
$ferie["Assomption"][8] = 15;
|
||||
$ferie["Fête du travail "][5] = 1;
|
||||
$ferie["Fête nationale"][7] = 14;
|
||||
$ferie["Noël"][12] = 25;
|
||||
if ($alsace)
|
||||
$ferie["Lendemain de Noël (Alsace seulement)"][12] = 25;
|
||||
|
||||
// quelques fetes mobiles
|
||||
$lundi_de_paques['mois'] = date( "n", easter_date($an)+1*$jour);
|
||||
$lundi_de_paques['jour'] = date( "j", easter_date($an)+1*$jour);
|
||||
$lundi_de_paques['nom'] = "Lundi de Pâques";
|
||||
|
||||
$ascencion['mois'] = date( "n", easter_date($an)+39*$jour);
|
||||
$ascencion['jour'] = date( "j", easter_date($an)+39*$jour);
|
||||
$ascencion['nom'] = "Jeudi de l'ascenscion";
|
||||
|
||||
$vendredi_saint['mois'] = date( "n", easter_date($an)-2*$jour);
|
||||
$vendredi_saint['jour'] = date( "j", easter_date($an)-2*$jour);
|
||||
$vendredi_saint['nom'] = "Vendredi Saint";
|
||||
|
||||
$lundi_de_pentecote['mois'] = date( "n", easter_date($an)+50*$jour);
|
||||
$lundi_de_pentecote['jour'] = date( "j", easter_date($an)+50*$jour);
|
||||
$lundi_de_pentecote['nom'] = "Lundi de Pentecôte";
|
||||
|
||||
|
||||
$ferie[$lundi_de_paques['nom']][$lundi_de_paques['mois']] = $lundi_de_paques['jour'];
|
||||
$ferie[$lundi_de_pentecote['nom']][$lundi_de_pentecote['mois']] = $lundi_de_pentecote['jour'];
|
||||
$ferie[$ascencion['nom']][$ascencion['mois']] = $ascencion['jour'];
|
||||
if ($alsace)
|
||||
$ferie[$vendredi_saint['nom']." (Alsace)"][$vendredi_saint['mois']]= $vendredi_saint['jour'];
|
||||
|
||||
// reponse
|
||||
$reponse = array();
|
||||
while(list($nom, $date)= each($ferie)){
|
||||
if (isset($date[$mois])){
|
||||
// une fete a date calculable
|
||||
$reponse[$date[$mois]]=$nom;
|
||||
}
|
||||
}
|
||||
ksort($reponse);
|
||||
return $reponse;
|
||||
}
|
||||
function tab_jours_feriés($an) {
|
||||
return ferie(range(1,12),$an);
|
||||
}
|
||||
|
||||
|
||||
$année = date("Y");
|
||||
$tabFeriers = tab_jours_feriés($année);
|
||||
print_r($tabFeriers);
|
||||
die();
|
||||
|
||||
echo "<br>";
|
||||
while (list($mois, $tab) = each ($fériées)) {
|
||||
while (list($jour, $fete) = each ($tab)) {
|
||||
echo "$jour/$mois/$année => $fete \n<br>";
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
$iDb=new WDB();
|
||||
$tabRet=$iDb->select('boamp_detail' , 'id, raisonSociale, adresse, cp, ville', "1");
|
||||
foreach ($tabRet as $i=>$tabInsert) {
|
||||
$idTxtUnique=trim(strtoupper(preg_replace('/[^a-z0-9]/i', '',
|
||||
$tabInsert['raisonSociale'].$tabInsert['adresse'].
|
||||
$tabInsert['cp'].$tabInsert['ville'])));
|
||||
$id=$tabInsert['id'];
|
||||
if ($idTxtUnique<>'') {
|
||||
$iDb->update('boamp_detail',
|
||||
array( 'idTxtUnique'=>$idTxtUnique,
|
||||
'dateUpdate'=>0), "id=$id");
|
||||
//die($id);
|
||||
}
|
||||
}
|
||||
|
||||
//echo WDate::jourFerie($argv[1],1);
|
||||
|
||||
|
||||
die();
|
||||
|
||||
|
||||
$tabFormesJuridiques=array(
|
||||
"SociÉtÉ À responsabilitÉ limitÉe À capital variable" ,
|
||||
"Societe anonyme cooperative a capital variable" ,
|
||||
"Societe a responsabilite limitee" ,
|
||||
"Sarl membre de la ce ou partie À l'accord sur l'espace Économique europÉen" ,
|
||||
"Soci t par actions simplifi e" ,
|
||||
"Soci t responsabilit limit e" ,
|
||||
"Societe civile de personnes" ,
|
||||
"Societe civile particuliere" ,
|
||||
"Societe d'exercice liberal par actions simplifiee" ,
|
||||
"Societe anonyme cooperative" ,
|
||||
"Societe par actions simplifiee a associe unique" ,
|
||||
"Societe cooperative" ,
|
||||
"S a r l a capital variable" ,
|
||||
"Ste en commandite simple" ,
|
||||
"Soci t responsabilit limit e capital variable" ,
|
||||
"Groupememt d'interet economique commercial" ,
|
||||
"Societe par action simplifiee" ,
|
||||
"Societe d'exercice liberal par actions simplifiee - selas" ,
|
||||
"Entreprise unipersonnelle a responsabilite limitee" ,
|
||||
"Soci t en nom collectif" ,
|
||||
"SociÉtÉ par actions simplifiÉe unipersonnelle" ,
|
||||
"Societe civile de contruction/vente" ,
|
||||
"Societe anonyme a capital variable" ,
|
||||
"Societe cooperative de production a responsabilite limitee a capital variable" ,
|
||||
"Cooperative ouvriere de product. a resp. lim." ,
|
||||
"SociÉtÉ civile de moyens" ,
|
||||
"Affaire personnelle commerÇant" ,
|
||||
"SociÉtÉ civile professionnelle" ,
|
||||
"Societe anonyme d'economie mixte locale" ,
|
||||
"Sa a conseil d administration" ,
|
||||
"Societe cooperative agricole a capital variable" ,
|
||||
"Cooperative ouvriere de production en a.r.l." ,
|
||||
"Sarl a associe unique et a capital variable" ,
|
||||
"Societe anonyme d'h.l.m." ,
|
||||
"Cooperative agricole" ,
|
||||
"Soci t civile" ,
|
||||
"Soci t civile immobili re" ,
|
||||
"SociÉtÉ d'exercice libÉral À responsabilitÉ limitÉe" ,
|
||||
"Societe cooperative de production a responsabilite limitee" ,
|
||||
"Societe cooperative de travailleurs (anonyme)" ,
|
||||
"Soci?t? ? responsabilit? limit?e" ,
|
||||
"Cooperative ouvriere de production (anonyme)" ,
|
||||
"Sa coop de production a cap variable" ,
|
||||
"Sa À conseil d'administration" ,
|
||||
"Societe d'interet collectif agricole" ,
|
||||
"Societe civile agricole" ,
|
||||
"Societe cooperative de production anonyme a capital variable" ,
|
||||
"Sarl unipersonnelle" ,
|
||||
"Sarl cooperative" ,
|
||||
"Societe cooperative agricole" ,
|
||||
"Societe anonyme" ,
|
||||
"Societe par actions simplifiee a directoire et conseil de surveillance" ,
|
||||
"Ste coop. prod. a resp. limitee a capital personnel et variable" ,
|
||||
"Societe d'actions simplifiee a capital variable" ,
|
||||
"SociÉtÉ anonyme coopÉrative d'intÉrÊt collectif pour l'accession À la propriÉtÉ" ,
|
||||
"Groupement d'intÉrÊt Économique" ,
|
||||
"Societe d'exercice liberal a responsabilite limitee unipersonnelle%" ,
|
||||
"Societe cooperative de production" ,
|
||||
"Societe cooperative ouvriere de production anonyme a capital variable" ,
|
||||
"Sarl a capital variable" ,
|
||||
"Societe anonyme d'economie mixte" ,
|
||||
"Societe cooperative anonyme d interet collectif agricole" ,
|
||||
"Sasu sociÉtÉ par actions simplifiÉe À associÉ unique" ,
|
||||
"Societe d'investissements a capital variable (s.i.c.a.v)" ,
|
||||
"Societe cooperative de production (sarl)" ,
|
||||
"Societe d exercice liberal par actions simplifiees" ,
|
||||
"Union de cooperatives agricoles" ,
|
||||
"Societe cooperative ouvriere de production anonyme" ,
|
||||
"Soci t de droit tranger" ,
|
||||
"Societe civile professionnelle d'architectes" ,
|
||||
"Societe civile construction vente" ,
|
||||
"Soci t anonyme" ,
|
||||
"Societe a responsabilite limitee de presse" ,
|
||||
"Societe anonyme sportive professionnelle" ,
|
||||
"Societe anonyme a conseil d administration" ,
|
||||
"Cooperative d'utilisation de materiel agricole (c.u.m.a.)" ,
|
||||
"Societe civile cooperative de construction" ,
|
||||
"Sarl de presse" ,
|
||||
"Groupememt d interet economique commercial" ,
|
||||
"Sa À directoire" ,
|
||||
"Societe cooperative de production en a.r.l a capital variable" ,
|
||||
"Societe cooperative interet collectif agricole s.a." ,
|
||||
"Societe cooperative d'interet collectif anonyme" ,
|
||||
"Societe cooperative a capital et personnel variables" ,
|
||||
"SociÉtÉ coopÉrative À capital variable en la forme sarl" ,
|
||||
"Ste coop de banque a capital var." ,
|
||||
"Groupement agricole d'exploitation en commun - gaec" ,
|
||||
"SociÉtÉ civile d'exploitation agricole" ,
|
||||
"Societe cooperative a capital variable et a responsabilite limitee" ,
|
||||
"Societe anonyme cooperative de production d hlm" ,
|
||||
"Societe anonyme cooperative de commercants detaillants" ,
|
||||
"SociÉtÉ civile professionnelle de commissaires-priseurs" ,
|
||||
"Societe anonyme cooperative de banque populaire" ,
|
||||
"Cooperative de consommation en s.a" ,
|
||||
"Sa coopÉrative d'intÉrÊt collectif pour accession À la propriÉtÉ (sacicap)" ,
|
||||
"Cooperative de commercants detaillants" ,
|
||||
"Societe anonyme cooperative a capital et personnel variable" ,
|
||||
"SociÉtÉ coopÉrative de production À forme sarl." ,
|
||||
"SociÉtÉ civile immobiliÈre de construction vente" ,
|
||||
"Ano societe anonyme a directoire et conseil de surveillance" ,
|
||||
"Societe par actions simplifiee" ,
|
||||
"Societe cooperative ouvriere de production" ,
|
||||
"Societe civile d exploitation agricole a responsabilite limitee" ,
|
||||
"Exploitation agricole À responsabilitÉ limitÉe" ,
|
||||
"E.u.r.l." ,
|
||||
"Societe d'economie mixte a conseil d'administration" ,
|
||||
"Groupement europeen d'interet economique" ,
|
||||
"Societe anonyme cooperative de production d'hlm" ,
|
||||
"Groupement d int r t conomique" ,
|
||||
"Cooperative ouvriere de product a resp lim " ,
|
||||
"Soci t responsabilit limit e coop rative ouvri re de production et de cr dit" ,
|
||||
"Societe cooperative credit capital variable a.r.l." ,
|
||||
"Societe d'exercice liberal a forme anonyme _ selafa" ,
|
||||
"SociÉtÉ À responsabilitÉ limitÉe coopÉrative ouvriÈre de production et de crÉdit" ,
|
||||
"SociÉtÉ anonyme d'hlm" ,
|
||||
"Societe d interet collectif agricole" ,
|
||||
"Societe cooperative d'artisan en arl a capital variable" ,
|
||||
"SociÉtÉ d'exercice libÉral À forme anonyme" ,
|
||||
"SociÉtÉ d'investissement À capital variable" ,
|
||||
"Societe civile d exploitation agricole" ,
|
||||
"Societe en nom collectif" ,
|
||||
"Sarl cooperative ouvriere de production et de credit a capital variable" ,
|
||||
"SociÉtÉ par actions simplifiÉe À capital variable" ,
|
||||
"SociÉtÉ par actions simplifiÉe À associÉ unique et capital variable" ,
|
||||
"S a cooperative d entreprises a capital variable" ,
|
||||
"Sa a conseil d'administration" ,
|
||||
"Societe cooperative de credit" ,
|
||||
"Societe de presse" ,
|
||||
"Societe anonyme a participation ouvriere" ,
|
||||
"Groupement d interet economique commercial" ,
|
||||
"SociÉtÉ anonyme d'Économie mixte À conseil d'administration" ,
|
||||
"Ste d'exercice liberal a responsabilite limitee unipersonnel" ,
|
||||
"Societe cooperative d interet collectif a responsabilite limitee" ,
|
||||
"Sa d'economie mixte a conseil administratif" ,
|
||||
"Societe d'economie mixte a directoire" ,
|
||||
"Cette societe est une sas unipersonnelle" ,
|
||||
"Sa sportive professionnelle" ,
|
||||
"S.a.r.l. a capital personnel variable" ,
|
||||
"Societe civile professionnelle d'huissiers" ,
|
||||
"Sa cooperative ouvriere de production et de credit a conseil d administration" ,
|
||||
"Gaec a capital variable" ,
|
||||
"Groupement agricole d exploitation en commun" ,
|
||||
"Societe d'exercice liberal par actions simplifiees (selas)" ,
|
||||
"Societe civile d attribution" ,
|
||||
"Soci t par actions simplifi e associ unique" ,
|
||||
"Societe civile de construction vente" ,
|
||||
"Cooperative agricole a capital variable" ,
|
||||
"Societe cooperative de production en a.r.l. a capital variable" ,
|
||||
"Societe anonyme a capital et personnel variables" ,
|
||||
"SociÉtÉ anonyme À conseil d'administration" ,
|
||||
"Sa coop. ouvriere de production capital et personnel variables" ,
|
||||
"Union de societes cooperatives a directoire" ,
|
||||
"Societe d'exercice liber. forme anonyme" ,
|
||||
"Sarl d'intÉrÊt collectif et agricole À capital variable" ,
|
||||
"Sarl cooperative a capital variable" ,
|
||||
"Sa coop rative ouvri re de prod et cr dit conseil d adm capital variable" ,
|
||||
"Banque cooperative regie par la loi n.99-532 du 25.06.1999" ,
|
||||
"Societe anonyme au capital et personnel variable" ,
|
||||
"Soci?t? par actions simplifi?e unipersonnelle" ,
|
||||
"Sa d'int. collectif agri. a ca" ,
|
||||
"Soci t civile de moyens" ,
|
||||
"Societe a responsabilite limite de droit britanique" ,
|
||||
"Ste cooperative de banque populaire" ,
|
||||
"Societe cooperative de consommation anonyme" ,
|
||||
"Societe anonyme d hlm" ,
|
||||
"SociÉtÉ coopÉrative de travailleurs À forme sarl" ,
|
||||
"Cooperative d'interet collectif a conseil d'administration" ,
|
||||
"SociÉtÉ de placement À prÉpondÉrance immobiliÈre À capital variable" ,
|
||||
"Societe cooperative a capital variable" ,
|
||||
"Etablissement public national" ,
|
||||
"Sica anonyme a directoire et conseil de surveillance" ,
|
||||
"Eurl a capital variable" ,
|
||||
"Sarl cooperative ouvriere de production" ,
|
||||
"Sa coop. de production hlm a capital variable" ,
|
||||
"Socite civile cooperative de credit" ,
|
||||
"Societe a responsabilite limitee d'architecture" ,
|
||||
"Cooperative ouvriere de production en a r l " ,
|
||||
"Societe cooperative a responsabilite limitee a capital variable" ,
|
||||
"Sarl sous forme de eurl" ,
|
||||
"Ano societe anonyme cooperative a capital variable a directoire" ,
|
||||
"Cooperative artisanale en s.a.r.l" ,
|
||||
"SociÉtÉ civile professionnelle d'avocats" ,
|
||||
"Ste cooperative artisanale resp.lim.capital variable" ,
|
||||
"Societe anonyme capital fixe coop. de banque" ,
|
||||
"Societe cooperative de banque populaire a capital variable" ,
|
||||
"Cooperative ouvriere de production en s.a.r.l." ,
|
||||
"Societe cooperative ouvriere de production a.s.a" ,
|
||||
"SociÉtÉ coopÉrative de production À forme anonyme À capital variable" ,
|
||||
"Sa coopÉrative ouvriÈre de prod. et crÉdit À conseil d'adm. À capital variable" ,
|
||||
"Banque cooperative" ,
|
||||
"Sarl membre de la ce ou partie l accord sur l espace conomique europ en" ,
|
||||
"Sascop" ,
|
||||
"Sa cooperative de consommation a conseil d administration a capital variable" ,
|
||||
"Societe anonyme a conseil de surveillance" ,
|
||||
"Cooperative artisanale" ,
|
||||
"Cooperative maritime" ,
|
||||
"Ste d'investissements a capital variable a conseil -sicav-" ,
|
||||
"Societe civile en construction vente (loi de 1971) titre1" ,
|
||||
"Societe cooperative artisanale a resp. limitee et a capital variable" ,
|
||||
"SociÉtÉ anonyme coopÉrative de consommation À conseil d'administration" ,
|
||||
"Ville de" ,
|
||||
"Societe anonyme de presse" ,
|
||||
"Association loi 1901 Émettant des obligations" ,
|
||||
"Societe civile professionnelle de notaires" ,
|
||||
"Societe civile immobiliere d attribution" ,
|
||||
"Societe civile professionnelle de chirurgien-dentistes" ,
|
||||
"Ste cooperative d'interet collectif a responsabilite limitee a capital variable" ,
|
||||
"Arl societe a associe unique" ,
|
||||
"Soci?t? par actions simplifi?e" ,
|
||||
"SociÉtÉ coopÉrative ouvriÈre de production en la forme sarl" ,
|
||||
"Soci t responsabilit limit e coop rative capital variable" ,
|
||||
"Societe anonyme de consom a capital variable" ,
|
||||
"Entreprise unipersonnelle a responsabilite limitee (eurl) et a capital variable" ,
|
||||
"Societe cooperative de credit a capital variable" ,
|
||||
"Societe civile de placement immobilier" ,
|
||||
"Ste civile a participation ouvriere a capital variable" ,
|
||||
"Societe anonyme cooperative de banque populaire a capital variable" ,
|
||||
"Societe d'investissement a capital variable d'actionnariat salaries (sicavas)" ,
|
||||
"Cooperative a capital variable (sarl)" ,
|
||||
"Soci t en commandite simple" ,
|
||||
"Soci t d exercice lib ral responsabilit limit e" ,
|
||||
"Societe anonyme cooperative maritime a capital variable" ,
|
||||
"Societe d interet collectif agricole arl" ,
|
||||
"Societe anonyme cooperative a directoire" ,
|
||||
"Cooperative professionnelle" ,
|
||||
"S.a cooperative d'entreprises a capital variable" ,
|
||||
"SociÉtÉ ÉtrangÈre immatriculÉe au rcs" ,
|
||||
"Soci?t? ? responsabilit? limit?e ? associ? unique" ,
|
||||
"SociÉtÉ civile professionnelle d'huissiers de justice" ,
|
||||
"Soci t responsabilit limit e associ unique" ,
|
||||
"SociÉtÉ coopÉrative ouvriÈre de production en la forme sa" ,
|
||||
"Sa coop de commercants detail a ca" ,
|
||||
"StÉ de participation financiÈre de profession libÉrale À responsabilitÉ limitÉe" ,
|
||||
"Societe cooperative maritime" ,
|
||||
"Autres formes juridiques" ,
|
||||
"Societe civile immobiliere de construction / vente" ,
|
||||
"Banque coopÉrative rÉgie par la loi n°99-532 du 25 juin 1999" ,
|
||||
"SociÉtÉ coopÉrative exploitÉe sous forme de sarl" ,
|
||||
"Sarl associe unique" ,
|
||||
"Institution regie - articles l141-1 et suivants du code monetaire et financier" ,
|
||||
"Societe de droit anglais" ,
|
||||
"Societe cooperative de consommation anonyme a capital variable" ,
|
||||
"Union de cooperative" ,
|
||||
"Societe en commandite simple a capital variable" ,
|
||||
"StÉ coop de crÉdit À capital variable et À responsabilitÉ statutairement limitÉe" ,
|
||||
"Societe par actions" ,
|
||||
"Societe cooperative artisanale a responsabilite limitee" ,
|
||||
"Societe civile professionnelle de medecins" ,
|
||||
"Union de cooperatives a capital variable" ,
|
||||
"Societe anonyme d'h.l.m. a conseil" ,
|
||||
"Sarl cooperative artisanale" ,
|
||||
"Societe civile de construction" ,
|
||||
"Societe civile d exploitation viticole" ,
|
||||
"E.u.r.l a capital variable" ,
|
||||
"Entreprise unipersonnelle a responsabilite limitee et a capital variable" ,
|
||||
"Ste anonyme a directoire et conseil d'orientation & surveillance" ,
|
||||
"Sarl unipersonnelle sportive" ,
|
||||
"Scop a responsabilite limitee et a capital variable" ,
|
||||
"SociÉtÉ À responsabilitÉ limitÉe unipersonnelle À capital variable" ,
|
||||
"Sarl a capital et personnel variable" ,
|
||||
"Societe d exploitation agricole a responsabilite limitee" ,
|
||||
"Sarl - eurl a capital variable" ,
|
||||
"StÉ anonyme coopÉrative d'intÉrÊt collectif pour l'accession À la propriÉtÉ" ,
|
||||
"Ste anonyme cooperative a capital variable" ,
|
||||
"Etablissement de credit a but non lucratif" ,
|
||||
"Societe cooperative de travailleurs (sarl)" ,
|
||||
"E.a.r.l." ,
|
||||
"Societe d assurance" ,
|
||||
"Regie municipale" ,
|
||||
"Coop. de crÉdit À responsabilitÉ statutairement limitÉe et À capital variable" ,
|
||||
"Societe" ,
|
||||
"Sarl non membre de la ce ou non partie À l'accord sur l'espace Économique eur." ,
|
||||
"Cooperative a capital variable en a r l " ,
|
||||
"Societe anonyme a directoire et conseil de surveillance" ,
|
||||
"Cooperative ouvriere de production (sa)" ,
|
||||
"Societe civile d'attribution" ,
|
||||
"Societe civile de portefeuille" ,
|
||||
"SociÉtÉ anonyme coopÉrative d'intÉrÊt collectif pour accession À la propriÉtÉ" ,
|
||||
"Affaire personnelle artisan" ,
|
||||
"Scp de mandataires judiciaires À la liquidation des entreprises" ,
|
||||
"Societe civile immobiliere a capital variable" ,
|
||||
"S a r l de presse" ,
|
||||
"Sarl d'architecture" ,
|
||||
"Societe civile professionnelle de mandataires liquidateurs" ,
|
||||
"Societe anonyme cooperative de consommation" ,
|
||||
);
|
||||
|
||||
function getCodeFJ($forme_juridique) {
|
||||
$iDb=new WDB();
|
||||
$variable=false;
|
||||
$strVar='';
|
||||
if (preg_match('/capital variable/i', $forme_juridique)) {
|
||||
$fj2=addslashes(preg_replace('/capital variable/i',' ',$forme_juridique));
|
||||
$variable=true;
|
||||
$strVar='VAR';
|
||||
} else
|
||||
$fj2=addslashes($forme_juridique);
|
||||
|
||||
$tmp=$iDb->select(
|
||||
'tabFJur',
|
||||
"code, libelle, MATCH(libelle) AGAINST('$fj2') AS score",
|
||||
"code>1000 AND MATCH(libelle) AGAINST('$fj2')", false, MYSQL_ASSOC);
|
||||
echo "A RECHERCHER : '$forme_juridique'".EOL;
|
||||
foreach($tmp as $i=>$tabFj) {
|
||||
if ($i==0) {
|
||||
echo strtoupper(" $i - ".$tabFj['libelle']." ==> ".$tabFj['code']).EOL;
|
||||
$code=$tabFj['code'];
|
||||
} else
|
||||
echo " $i - ".$tabFj['libelle']." ==> ".$tabFj['code'].EOL;
|
||||
if ($i>20) break;
|
||||
}
|
||||
while(true){
|
||||
echo "Confirmez le code $code pour '$forme_juridique' ?".EOL;
|
||||
$saisie = trim(strtoupper(fgets(STDIN)));
|
||||
if (strlen($saisie)==4 && $saisie*1>1000) {
|
||||
$code=$saisie;
|
||||
break;
|
||||
/* if (!$iBodacc->addDeviseBodacc($devise, $saisie) && mysql_errno()<>1062) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR ".mysql_errno()." : Insertion des informations de chargement en base impossible :".EOL;
|
||||
echo date ('Y/m/d - H:i:s'). mysql_error();
|
||||
die();
|
||||
}
|
||||
$capital_devise=$saisie;
|
||||
break;*/
|
||||
} elseif ($saisie=='?') {
|
||||
$code=$saisie;
|
||||
break;
|
||||
} elseif (strlen($saisie)==0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return array('code'=>$code,'variable'=>$variable,'var'=>$strVar);
|
||||
}
|
||||
$fp=fopen('./libFJ.php','w+');
|
||||
$fp2=fopen('./libFJ.csv','w+');
|
||||
foreach($tabFormesJuridiques as $i=>$fj) {
|
||||
//echo "$i:$fj = "..EOL;
|
||||
$fj2=prepareString(strtoupper(trim($fj)));
|
||||
$tabCode=getCodeFJ($fj2);
|
||||
$code=$tabCode['code'];
|
||||
$var=$tabCode['variable'];
|
||||
$strVar=$tabCode['var'];
|
||||
fwrite($fp, "case '$fj2':\t\$cj=$code; \$capitalType='$strVar'; break;".EOL);
|
||||
fwrite($fp2, "$fj2\t$code\t$strVar".EOL);
|
||||
}
|
||||
|
||||
|
||||
echo simpleWhois('indiscore', 'fr', true);
|
||||
die();
|
||||
$tab = array( 'toto.com',
|
||||
'momo.com',
|
||||
'yoyo.fr',
|
||||
'65qs4df56q4qsdqsd.com',
|
||||
'koko.net',
|
||||
'zozo.net',
|
||||
'soso.net',
|
||||
'qoqo.net',
|
||||
'qs56d4qs56d4qs65d4qs564.net',
|
||||
'xoxo.net',
|
||||
'coco.com',
|
||||
'hoho.fr',
|
||||
'nono.net',
|
||||
'dodo.com',
|
||||
);
|
||||
// Récupération des résultats
|
||||
$output = false;
|
||||
// Exécution
|
||||
if($tab){
|
||||
foreach($tab as $host){
|
||||
list($domain, $tdl) = split(".", $host, 2); // le 2 permet de s'arreter après le 1er point ce qui permet d'avoir des extenssion du type .com.fr
|
||||
$output[$host] = simpleWhois($domain, $tdl);
|
||||
}
|
||||
}
|
||||
// Affichage "brut" des données traitées
|
||||
if($output){
|
||||
print_r($output);
|
||||
}
|
||||
?>
|
@ -1,192 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Sirenage automatique des annonces Bodacc pas encore sirenées.
|
||||
|
||||
Options :
|
||||
-s Sirenage semi-automatique (Ligne de prompt pour les entreprises non sirenées)
|
||||
-p Sirenage de toutes les annonces sans propositions (en vu du traitement manuel)
|
||||
-a Re-sirenage de toutes les annonces Bodacc non sirenées !
|
||||
-i:XXX Reprise à partir du numéro d'annonce XXX
|
||||
";
|
||||
$semiManuel=$sansPropo=$toutes=$index=false;
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
if ($_SERVER['argc']==1) $semiManuel=false; // Fonctionnement normal du script, càd : on sirene que en auto
|
||||
else {
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 's':
|
||||
$semiManuel=true;
|
||||
break;
|
||||
case 'p':
|
||||
$sansPropo=true;
|
||||
break;
|
||||
case 'a':
|
||||
$toutes=true;
|
||||
break;
|
||||
case 'i':
|
||||
$index=trim(substr($argv[$i],3));
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . " inconnue !\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT du programme de SIRENAGE des fichiers CLIENTS...".EOL;
|
||||
|
||||
$iDb=new WDB('tmp');
|
||||
$iInsee=new MInsee();
|
||||
$listeNonSirene=$iDb->select('mederic', 'ID_CLIENT, REF, RAISON_SOCIALE, ENSEIGNE2, SIGLE2, ADRESSE, CP, VILLE', 'SIREN=0', true);
|
||||
echo date('Y/m/d - H:i:s') ." - Nombre d'entreprises à traiter : ".count($listeNonSirene). EOL;
|
||||
foreach ($listeNonSirene as $k=>$entrep) {
|
||||
$siege='';$actif='';$deb=0;$nbRep=20;$maxRep=20;$pertinence=false;
|
||||
$avecSiren=true;
|
||||
|
||||
$tabEtabs=@$iInsee->rechercheEtab($entrep['RAISON_SOCIALE'], $entrep['ADRESSE'], $entrep['CP'], $entrep['VILLE'], $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, $avecSiren);
|
||||
if (@$tabEtabs[nbReponses]==0 && $entrep['ENSEIGNE2']<>'') {
|
||||
$tabEtabs=@$iInsee->rechercheEtab($entrep['ENSEIGNE2'], $entrep['ADRESSE'], $entrep['CP'], $entrep['VILLE'], $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, $avecSiren);
|
||||
} elseif (@$tabEtabs[nbReponses]==0 && $entrep['SIGLE2']<>'') {
|
||||
$tabEtabs=@$iInsee->rechercheEtab($entrep['SIGLE2'], $entrep['ADRESSE'], $entrep['CP'], $entrep['VILLE'], $siege, $actif, $deb, $nbRep, $maxRep, $pertinence, $avecSiren);
|
||||
}
|
||||
//print_r($tabEtabs);
|
||||
//die();
|
||||
$tabSiren=array();
|
||||
//echo "RECHERCHE DE : ". $entrep['RAISON_SOCIALE']. $entrep['ENSEIGNE2']. $entrep['SIGLE2']. $entrep['ADRESSE']. $entrep['CP']. $entrep['VILLE'].' ('.$tabEtabs['nbReponsesTotal']. " réponses)... ";
|
||||
|
||||
foreach ($tabEtabs['reponses'] as $i=>$etab) {
|
||||
$tabSiren[]=$etab['Siren'];
|
||||
/* $siret = $etab['Siret']; // 40847260300039
|
||||
$siege = $etab['Siege']; // 0
|
||||
$nom = $etab['Nom']; // SETTIER JEAN MARC
|
||||
$nom2 = $etab['Nom2']; //
|
||||
$sigle = $etab['Sigle']; //
|
||||
$sigle = $etab['Enseigne'];//
|
||||
$sigle = $etab['Adresse']; // 0059 R DE PATAY
|
||||
$sigle = $etab['CP']; // 45000
|
||||
$sigle = $etab['Ville']; // ORLEANS
|
||||
$sigle = $etab['Tel']; // 00000000
|
||||
$sigle = $etab['Fax']; // 00000000
|
||||
$sigle = $etab['FJ']; // 1500
|
||||
$sigle = $etab['FJLib']; // Profession libérale
|
||||
$siren = $etab['Siren']; // 408472603
|
||||
$nic = $etab['Nic']; // 00039
|
||||
$actif = $etab['Actif']; // 0
|
||||
*/
|
||||
}
|
||||
$tabUnique=array_unique($tabSiren);
|
||||
//echo "RECHERCHE DE : ". $entrep['RAISON_SOCIALE']. $entrep['ENSEIGNE2']. $entrep['SIGLE2']. $entrep['ADRESSE']. $entrep['CP']. $entrep['VILLE'].' ('.$tabEtabs['nbReponsesTotal']. " réponses)... ";
|
||||
if (count($tabUnique)==1) {
|
||||
echo '1;'.$entrep['REF'].';'.$tabUnique[0].';'.$etab['Nom'].';'.$entrep['RAISON_SOCIALE'].';'.$entrep['ENSEIGNE2'].';'.$entrep['SIGLE2'].';'.$entrep['ADRESSE'].';'.$entrep['CP'].';'.$entrep['VILLE'].EOL;
|
||||
} else {
|
||||
echo count($tabUnique).';'.$entrep['REF'].';000000000;;'.$etab['Nom'].';'.$entrep['RAISON_SOCIALE'].';'.$entrep['ENSEIGNE2'].';'.$entrep['SIGLE2'].';'.$entrep['ADRESSE'].';'.$entrep['CP'].';'.$entrep['VILLE'].EOL;
|
||||
}
|
||||
// die();//
|
||||
/* if (count($tabTrouve)==1) {
|
||||
$entrepT=$tabTrouve[0];
|
||||
$siren=substr($entrepT['Siret'],0,9);
|
||||
$nic=substr($entrepT['Siret'],9,5);
|
||||
echo "$siren $nic\n";
|
||||
//print_r($entrepT);die();
|
||||
/*if ($table['db']<>'jo')
|
||||
$iDb->update($table['table'], array($table['champSiren']=>$siren), "id='".$entrep['id']."'", true) or die($iDb->getLastError());
|
||||
else
|
||||
if (trim($siren)<>'') {
|
||||
$tabTmp=$iDb->select('bodacc_detail','count(*)', 'id='. $entrep['id'] ." AND siren=$siren", true);
|
||||
if ($tabTmp[0][0]<>0) { // Cette annonce est déjà ratachée au siren, on supprime donc ce lien inutile référençant le même siren
|
||||
//$iDb->delete('bodacc_detail', 'id='. $entrep['id'] .' AND siren='.$entrep['sir'], true);
|
||||
} else
|
||||
$iDb->update('bodacc_detail', array('siren'=>$siren, $table['champNic']=>$nic, $table['champSirenValide']=>3, $table['champNicValide']=>3), 'id='.$entrep['id'].' AND siren='.$entrep['sir'], true) or die($iDb->getLastError());
|
||||
// On efface l'information de la table A sirener au cas où !
|
||||
$iDb->delete('bodacc_sirenage', 'idAnn='.$entrep['id'].' AND siren='.$entrep['sir']) or die($iDb->getLastError());
|
||||
}
|
||||
} elseif (count($tabTrouve)==0) {
|
||||
echo " Pas de réponse !\n";
|
||||
$tabInsert=array( 'idAnn'=>$entrep['id'],
|
||||
'siren'=>$entrep['sir']);
|
||||
if (!$iDb->insert('bodacc_sirenage', $tabInsert))
|
||||
$iDb->update('bodacc_sirenage', array('siretProposes'=>''), 'idAnn='.$entrep['id'].' AND siren='.$entrep['sir']) or die($iDb->getLastError());
|
||||
} else { // Plusieurs siren possibles
|
||||
echo "\n";
|
||||
$siren1=substr($tabTrouve[0]['Siret'],0,9);
|
||||
$nic1=substr($tabTrouve[0]['Siret'],9,5);
|
||||
$sirenDiff=$sirenNomIdem=$sirenAdrIdem=false;
|
||||
$tabSiren=array(0=>0);
|
||||
$tabSiret=array();
|
||||
foreach ($tabTrouve as $j=>$entrepT) {
|
||||
if($j==0) echo "PROBABLES : \n";
|
||||
$siren=substr($entrepT['Siret'],0,9);
|
||||
$nic=substr($entrepT['Siret'],9,5);
|
||||
$tabSiren[]=$siren;
|
||||
$nomT=strtr($entrep['RS'], '/(),-',' ');
|
||||
$adresseT=trim(strtoupper(preg_replace("/[0-9]{1,4}(.*)( R | AV | RUE | AVENUE | BD | BOULEVARD )/i",'',strtr($entrepT['Adresse'], '/(),-',' '))));
|
||||
if (levenshtein($raisonSociale,$nomT)>2) $sirenNomIdem=$siren;
|
||||
if ($siren<>$siren1) $sirenDiff=true;
|
||||
if (levenshtein($adresse,$adresseT)<2) $sirenAdrIdem=$siren;
|
||||
$num=$j+1;
|
||||
echo "$num. $siren $nic, ". $entrepT['Nom'].', '.$entrepT['Nom2'].', '.$entrepT['Enseigne'].', '.$entrepT['Adresse'].', '.$entrepT['CP'].', '.$entrepT['Ville']."\n";
|
||||
$tabSiret[]=$entrepT['Siret'].'-'.$entrepT['Pertinence'];
|
||||
}
|
||||
|
||||
if ($sirenDiff==false) {
|
||||
// Tous les SIREN sont identiques, l'entreprise ttouvée est la bonne !
|
||||
echo "$num. Siren trouvé = $siren (tous les Sirens sont identiques) !\n";
|
||||
$iDb->update('bodacc_detail', array('siren'=>$siren, $table['champSirenValide']=>4, $table['champNicValide']=>0), 'id='.$entrep['id'].' AND siren='.$entrep['sir'], true) or die($iDb->getLastError());
|
||||
// On efface l'information de la table A sirener au cas où !
|
||||
$iDb->delete('bodacc_sirenage', 'idAnn='.$entrep['id'].' AND siren='.$entrep['sir']) or die($iDb->getLastError());
|
||||
} else {
|
||||
/** On insère en base toutes les multipropositions pour le sirenage manuel
|
||||
$tabInsert=array( 'idAnn'=>$entrep['id'],
|
||||
'siren'=>$entrep['sir'],
|
||||
'siretProposes'=>implode(';',$tabSiret));
|
||||
if ($iDb->insert('bodacc_sirenage', $tabInsert))
|
||||
$iDb->update('bodacc_sirenage', array('siretProposes'=>implode(';',$tabSiret)), 'idAnn='.$entrep['id'].' AND siren='.$entrep['sir']) or die($iDb->getLastError());
|
||||
}
|
||||
//, 'id='.$entrep['id'].' AND '. $table['champSiren'] .'='.$entrep['sir'], true) or die(mysql_error());
|
||||
|
||||
/*elseif ($sirenNomIdem!=false) {
|
||||
echo "$num. Siren trouvé = $sirenNomIdem (raisons sociales identiques) !\n";
|
||||
if ($table['db']<>'jo')
|
||||
$iDb->update($table['table'], array($table['champSiren']=>$sirenNomIdem), "id='".$entrep['id']."'", true) or die(mysql_error());
|
||||
else
|
||||
$iDb->update($table['table'], array($table['champSiren']=>$sirenNomIdem, $table['champSirenValide']=>5), 'id='.$entrep['id'], true) or die(mysql_error());
|
||||
} elseif ($sirenAdrIdem!=false) {
|
||||
echo "$num. Siren trouvé = $sirenNomIdem (adresses identiques) !\n";
|
||||
if ($table['db']<>'jo')
|
||||
$iDb->update($table['table'], array($table['champSiren']=>$sirenAdrIdem), "id='".$entrep['id']."'", true) or die(mysql_error());
|
||||
else
|
||||
$iDb->update($table['table'], array($table['champSiren']=>$sirenAdrIdem, $table['champSirenValide']=>6), 'id='.$entrep['id'], true) or die(mysql_error());
|
||||
} else
|
||||
{ //if ($semiManuel==true);
|
||||
$saisie='';
|
||||
while($semiManuel==true && $saisie=='') {
|
||||
echo "Veuillez saisir le numéro qui identifie la bonne entreprise (0 si pas de réponse) : ";
|
||||
$saisie = trim(fgets(STDIN));
|
||||
if ($saisie==0) break;
|
||||
elseif ($saisie>0 && $saisie<=$j+1) {
|
||||
$sir=$tabSiren[$saisie];
|
||||
if ($table['db']<>'jo')
|
||||
$iDb->update($table['table'], array($table['champSiren']=>$sir), "id='".$entrep['id']."'", true) or die(mysql_error());
|
||||
else
|
||||
$iDb->update($table['table'], array($table['champSiren']=>$sir, $table['champSirenValide']=>2),
|
||||
'id='.$entrep['id'], true) or die(mysql_error());
|
||||
break;
|
||||
}
|
||||
else $saisie='';
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - FIN du programme de SIRENAGE.".EOL;
|
||||
die();
|
||||
?>
|
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
DATE=`date '+%Y%m%d'`
|
||||
FILE_CSV="006_FR_${DATE}.csv"
|
||||
mysql -h192.168.3.30 -pscores jo < /var/www/batch/clients/doEtabAct.sql
|
||||
/var/www/batch/diffusionEntrep.php >> /var/www/log/diffusionEntrep.log
|
@ -1,515 +0,0 @@
|
||||
USE jo;
|
||||
|
||||
DROP TABLE IF EXISTS jo.etablissements_actmp;
|
||||
|
||||
INSERT INTO sdv1.sphinx_idx (nom, createBegin) VALUES ('jo.etablissements_act', NOW());
|
||||
|
||||
# Creation de la structure de la table
|
||||
CREATE TABLE `jo`.`etablissements_actmp` ( `id` bigint( 20 ) NOT NULL,
|
||||
`source` tinyint( 3 ) unsigned zerofill NOT NULL ,
|
||||
`source_id` bigint( 20 ) unsigned NOT NULL ,
|
||||
`triCode` varchar( 6 ) NOT NULL ,
|
||||
`autre_id` varchar( 15 ) NOT NULL ,
|
||||
`siren` int( 9 ) unsigned zerofill NOT NULL ,
|
||||
`nic` mediumint( 5 ) unsigned zerofill NOT NULL,
|
||||
`actif` tinyint( 1 ) unsigned NOT NULL,
|
||||
`siege` tinyint( 1 ) unsigned NOT NULL,
|
||||
`raisonSociale` varchar(80) NOT NULL,
|
||||
`enseigne` varchar(40) NOT NULL,
|
||||
`sigle` varchar(20) NOT NULL,
|
||||
`identite_pre` varchar(255) NOT NULL,
|
||||
`marques` varchar(255) NOT NULL,
|
||||
`adr_num` smallint( 4 ) unsigned zerofill NOT NULL,
|
||||
`adr_btq` char(1) NOT NULL,
|
||||
`adr_typeVoie` char( 4 ) NOT NULL ,
|
||||
`adr_libVoie` varchar( 32 ) NOT NULL ,
|
||||
`adr_comp` varchar( 38 ) NOT NULL ,
|
||||
`adr_cp` mediumint( 5 ) unsigned zerofill NOT NULL ,
|
||||
`adr_ville` varchar( 32 ) NOT NULL ,
|
||||
`adr_dep` char( 3 ) NOT NULL ,
|
||||
`adr_com` smallint( 3 ) unsigned zerofill NOT NULL ,
|
||||
`tel` bigint( 10 ) unsigned zerofill NOT NULL ,
|
||||
`fax` bigint( 10 ) unsigned zerofill NOT NULL ,
|
||||
`cj` smallint( 4 ) unsigned zerofill NOT NULL ,
|
||||
`capital` bigint( 15 ) unsigned zerofill NOT NULL ,
|
||||
`capitalDev` char( 3 ) NOT NULL ,
|
||||
`capitalSrc` tinyint( 3 ) unsigned zerofill NOT NULL ,
|
||||
`ape_etab` char( 5 ) NOT NULL ,
|
||||
`ape_entrep` char( 5 ) NOT NULL ,
|
||||
`age_entrep` tinyint( 3 ) unsigned NOT NULL ,
|
||||
`age_etab` tinyint( 3 ) unsigned NOT NULL ,
|
||||
`tca` tinyint( 1 ) unsigned zerofill NOT NULL ,
|
||||
`tcaexp` tinyint( 1 ) unsigned zerofill NOT NULL ,
|
||||
`teff_entrep` tinyint( 2 ) unsigned NULL ,
|
||||
`teff_etab` tinyint( 2 ) unsigned NULL ,
|
||||
`rang` smallint( 5 ) unsigned NOT NULL ,
|
||||
`dateInsert` datetime NOT NULL ,
|
||||
`dateUpdate` timestamp NOT NULL default '0000-00-00 00:00:00' on update CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (siren,nic) ) ENGINE = MyISAM DEFAULT CHARSET = latin1;
|
||||
|
||||
# Copie de la cible des actifs avec siret valide
|
||||
INSERT IGNORE INTO `jo`.`etablissements_actmp` SELECT * FROM `jo`.`etablissements` WHERE `siren`>0 and `nic`>0 AND actif=1 AND cj NOT IN(1800,2310,2320,2385) ORDER BY siren, nic;
|
||||
#INSERT IGNORE INTO `jo`.`etablissements_actmp` SELECT * FROM `jo`.`etablissements` WHERE `siren`>0 AND `nic`>0 AND ((actif=1 AND cj NOT IN (1800,2310,2320,2385)) OR siren IN (SELECT siren FROM rncs_entrep WHERE actif=1)) ORDER BY siren, nic;
|
||||
|
||||
# Suppression des zones inutiles
|
||||
ALTER TABLE `etablissements_actmp`
|
||||
DROP `dateInsert`,
|
||||
DROP `dateUpdate`;
|
||||
|
||||
# Supprimer les non diffusibles insee
|
||||
DELETE FROM jo.etablissements_actmp WHERE siren in(SELECT siren FROM insee.insee_nondiff WHERE siren NOT IN (SELECT siren FROM jo.rncs_entrep WHERE actif=1));
|
||||
|
||||
# Supprimer les Liquidé Radié en Sommeil
|
||||
DELETE FROM jo.etablissements_actmp WHERE siren IN (SELECT DISTINCT siren FROM jo.annonces WHERE typeEven IN (1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1311, 1312, 1313, 1410, 1417, 1420, 1501, 1503, 1530, 2203, 2206, 2211, 2212, 6000, 6001, 6002, 6003, 6004));
|
||||
|
||||
# Suppression des entreprise en cessation juridique Insee
|
||||
DELETE FROM jo.etablissements_actmp WHERE siren IN (SELECT DISTINCT insSIREN FROM insee.insee_even WHERE insEVE IN ('410'));
|
||||
|
||||
# Suppression des etablissements cesses INSEE
|
||||
#DELETE FROM jo.etablissements_actmp LEFT JOIN insee.insee_even ON etablissements_actmp.siren=insee_even.insSIREN AND etablissements_actmp.nic=insee_even.insNIC WHERE insee_even.insEVE IN ('MPF','MNP','430');
|
||||
|
||||
# Supprimer les éblissements hors de France
|
||||
DELETE FROM `etablissements_actmp` WHERE `adr_dep` =99;
|
||||
|
||||
# Suppression des entreprises presentes et inactives au RNCS
|
||||
DELETE FROM `etablissements_actmp` WHERE siren IN (SELECT siren FROM `rncs_entrep` WHERE actif=0);
|
||||
# Suppression des etablissements presents et inactifs au RNCS
|
||||
DELETE etablissements_actmp FROM etablissements_actmp LEFT JOIN rncs_etab ON etablissements_actmp.siren=rncs_etab.siren AND etablissements_actmp.nic=rncs_etab.nic WHERE rncs_etab.actif=0;
|
||||
|
||||
# Ajouter les zones dirigants PP PM, bilans, achpost ?
|
||||
ALTER TABLE etablissements_actmp
|
||||
ADD nomCommercial VARCHAR(200) NOT NULL,
|
||||
ADD web VARCHAR(100) NOT NULL,
|
||||
ADD mail VARCHAR(100) NOT NULL,
|
||||
ADD isin VARCHAR(12) NOT NULL,
|
||||
ADD adrDom TINYINT(1) UNSIGNED NOT NULL,
|
||||
ADD lieuAct TINYINT(2) UNSIGNED NOT NULL,
|
||||
ADD explen TINYINT(1) UNSIGNED NOT NULL,
|
||||
ADD explet TINYINT(1) UNSIGNED NOT NULL,
|
||||
ADD actifEco TINYINT(1) UNSIGNED NOT NULL,
|
||||
ADD presentRcs TINYINT(1) UNSIGNED NOT NULL,
|
||||
ADD procolHisto TINYINT(1) UNSIGNED NOT NULL,
|
||||
ADD tvaIntraCle TINYINT(2) UNSIGNED ZEROFILL NULL DEFAULT NULL,
|
||||
ADD tvaIntraValide TINYINT(1) UNSIGNED NULL DEFAULT NULL,
|
||||
ADD ape4_etab CHAR(4) NOT NULL,
|
||||
ADD ape4_entrep CHAR(4) NOT NULL,
|
||||
ADD NaceEtab CHAR(5) NOT NULL,
|
||||
ADD NaceEntrep CHAR(5) NOT NULL,
|
||||
ADD dateCrea_etab INT(8) UNSIGNED NOT NULL,
|
||||
ADD dateCrea_ent INT(8) UNSIGNED NOT NULL,
|
||||
ADD dateImmat INT(8) UNSIGNED NOT NULL,
|
||||
ADD eff_entrep MEDIUMINT(7) NOT NULL,
|
||||
ADD eff_etab MEDIUMINT(7) NOT NULL,
|
||||
ADD distSP VARCHAR(38) NOT NULL,
|
||||
ADD achPost VARCHAR(38) NOT NULL,
|
||||
ADD codeCommune CHAR(5) NOT NULL,
|
||||
ADD rivoli CHAR(5) NOT NULL,
|
||||
ADD l93_x INT(7) UNSIGNED NULL,
|
||||
ADD l93_y INT(7) UNSIGNED NULL,
|
||||
ADD alt MEDIUMINT(9) NULL,
|
||||
ADD precis TINYINT(1) NULL,
|
||||
ADD zus CHAR(10) NULL,
|
||||
ADD zru CHAR(10) NULL,
|
||||
ADD zfu CHAR(10) NULL,
|
||||
ADD cucs CHAR(10) NULL,
|
||||
ADD zrr TINYINT(1) UNSIGNED NOT NULL,
|
||||
ADD zafr TINYINT(1) UNSIGNED NOT NULL,
|
||||
ADD dirCiv VARCHAR(4) NOT NULL,
|
||||
ADD dirNom VARCHAR(20) NOT NULL,
|
||||
ADD dirPrenom VARCHAR(30) NOT NULL,
|
||||
ADD dirDateNaiss DATE NOT NULL,
|
||||
ADD dirFct SMALLINT(4) UNSIGNED ZEROFILL NOT NULL,
|
||||
ADD nbEtab MEDIUMINT(5) UNSIGNED NOT NULL,
|
||||
ADD nbMPubli MEDIUMINT(5) UNSIGNED NOT NULL,
|
||||
ADD nbMarques MEDIUMINT(5) UNSIGNED NOT NULL,
|
||||
ADD nbAnnAsso MEDIUMINT(5) UNSIGNED NOT NULL,
|
||||
ADD sirenGrp INT(9) UNSIGNED ZEROFILL NULL DEFAULT NULL,
|
||||
ADD nbActio MEDIUMINT(5) UNSIGNED NOT NULL,
|
||||
ADD nbPart MEDIUMINT(5) UNSIGNED NOT NULL,
|
||||
ADD bilType ENUM('I','E','R') NOT NULL DEFAULT 'I',
|
||||
ADD bilAnnee YEAR NOT NULL,
|
||||
ADD bilCloture DATE NOT NULL,
|
||||
ADD bilDuree TINYINT(2) UNSIGNED NOT NULL,
|
||||
ADD bilTca TINYINT(1) UNSIGNED NOT NULL,
|
||||
ADD bilEE BIGINT(13) NOT NULL,
|
||||
ADD bilFL BIGINT(13) NOT NULL,
|
||||
ADD bilFK BIGINT(13) NOT NULL,
|
||||
ADD bilFR BIGINT(13) NOT NULL,
|
||||
ADD bilGF BIGINT(13) NOT NULL,
|
||||
ADD bilGP BIGINT(13) NOT NULL,
|
||||
ADD bilGU BIGINT(13) NOT NULL,
|
||||
ADD bilGW BIGINT(13) NOT NULL,
|
||||
ADD bilHD BIGINT(13) NOT NULL,
|
||||
ADD bilHH BIGINT(13) NOT NULL,
|
||||
ADD bilHL BIGINT(13) NOT NULL,
|
||||
ADD bilHM BIGINT(13) NOT NULL,
|
||||
ADD bilHN BIGINT(13) NOT NULL,
|
||||
ADD bilYP INT(8) NOT NULL,
|
||||
ADD avisCs TINYINT(2) UNSIGNED ZEROFILL NULL DEFAULT NULL,
|
||||
ADD risque TINYINT(1) UNSIGNED NOT NULL;
|
||||
|
||||
# Ajout des codes ISIN
|
||||
UPDATE jo.etablissements_actmp, sdv1.bourse_isin SET etablissements_actmp.isin=sdv1.code_isin WHERE etablissements_actmp.siren=bourse_isin.siren AND bourse_isin.siren>1000;
|
||||
|
||||
# Ajout du code Cedex + ville
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
insSIREN INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
insNIC MEDIUMINT(5) UNSIGNED ZEROFILL NOT NULL,
|
||||
insL6_POST VARCHAR(38) NOT NULL,
|
||||
PRIMARY KEY (insSIREN,insNIC)
|
||||
);
|
||||
|
||||
INSERT IGNORE INTO jo.tmp SELECT DISTINCT insSIREN, insNIC, insL6_POST
|
||||
FROM insee.insee_notices b1
|
||||
WHERE b1.dateNotice = (
|
||||
SELECT MAX( b2.dateNotice )
|
||||
FROM insee.insee_notices b2
|
||||
WHERE b1.insSIREN = b2.insSIREN
|
||||
AND b1.insNIC = b2.insNIC
|
||||
AND b2.insL6_POST LIKE '%CEDEX%' );
|
||||
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.achPost=tmp.insL6_POST WHERE etablissements_actmp.siren=tmp.insSIREN AND etablissements_actmp.nic=tmp.insNIC;
|
||||
|
||||
DROP TABLE tmp;
|
||||
|
||||
# Ajout des codes NAF4
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
nic MEDIUMINT(5) UNSIGNED ZEROFILL NOT NULL,
|
||||
ape4_etab CHAR(4) NOT NULL,
|
||||
ape4_entrep CHAR(4) NOT NULL,
|
||||
PRIMARY KEY (siren,nic)
|
||||
);
|
||||
INSERT IGNORE INTO `jo`.`tmp` SELECT siren, nic, apet4, apen4 FROM `insee`.`bascule`;
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.ape4_etab=tmp.ape4_etab, etablissements_actmp.ape4_entrep=tmp.ape4_entrep
|
||||
WHERE etablissements_actmp.siren=tmp.siren AND etablissements_actmp.nic=tmp.nic;
|
||||
DROP TABLE tmp;
|
||||
|
||||
# Ajout du nombre d'éblissements Actifs
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
nbEtab MEDIUMINT(5) UNSIGNED NOT NULL,
|
||||
PRIMARY KEY (`siren`)
|
||||
);
|
||||
INSERT IGNORE INTO tmp SELECT siren, COUNT(*) as nbEtab FROM etablissements_actmp GROUP BY siren HAVING nbEtab>1;
|
||||
UPDATE etablissements_actmp SET nbEtab=1;
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.nbEtab=tmp.nbEtab WHERE etablissements_actmp.siren=tmp.siren;
|
||||
DROP TABLE tmp;
|
||||
|
||||
|
||||
# Ajout de la distribution spéale, de la civilitées PP, des effectifs et date de créion éb
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
nic MEDIUMINT(5) UNSIGNED NOT NULL,
|
||||
distSP VARCHAR(38) NOT NULL,
|
||||
civ TINYINT(1) UNSIGNED NOT NULL,
|
||||
effEn INT(6) UNSIGNED NOT NULL,
|
||||
effEt INT(6) UNSIGNED NOT NULL,
|
||||
dateCrea_etab INT(8) UNSIGNED NOT NULL,
|
||||
dateCrea_ent INT(8) UNSIGNED NOT NULL,
|
||||
rivoli CHAR(5) NOT NULL,
|
||||
actifEco TINYINT(1) UNSIGNED NOT NULL,
|
||||
lieuAct TINYINT(2) UNSIGNED NOT NULL,
|
||||
codeCommune CHAR(5) NOT NULL,
|
||||
explen TINYINT(1) UNSIGNED NOT NULL,
|
||||
explet TINYINT(1) UNSIGNED NOT NULL,
|
||||
PRIMARY KEY (siren,nic)
|
||||
);
|
||||
INSERT IGNORE INTO jo.tmp
|
||||
SELECT SIREN, NIC, ADR_DISTSP, IF( CIVILITE=2,'MME',IF(CIVILITE=1,'M','')) AS CIVILITE, EFF_ENT, EFF_ET,
|
||||
IF(DCRET>19000000,IF(DCRET%100>0,DCRET,DCRET+1),0) AS DCRET,
|
||||
IF(DCREN>19000000,IF(DCREN%100>0,DCREN,DCREN+1),0) AS DCREN,
|
||||
CODEVOIE, actifEco, LIEUACT, CONCAT(ADR_DEP,ADR_COM) AS codeCommune,
|
||||
IF(EXPLEN='O',1,0) AS EXPLEN,
|
||||
IF(EXPLET='O',1,0) AS EXPLET FROM insee.identite WHERE ACTIF%10=1;
|
||||
|
||||
UPDATE etablissements_actmp, tmp SET
|
||||
etablissements_actmp.distSP=tmp.distSP,
|
||||
etablissements_actmp.dirCiv=tmp.civ,
|
||||
etablissements_actmp.eff_entrep=tmp.effEn,
|
||||
etablissements_actmp.eff_etab=tmp.effEt,
|
||||
etablissements_actmp.dateCrea_etab=tmp.dateCrea_etab,
|
||||
etablissements_actmp.dateCrea_ent=tmp.dateCrea_ent,
|
||||
etablissements_actmp.rivoli=tmp.rivoli,
|
||||
etablissements_actmp.actifEco=tmp.actifEco,
|
||||
etablissements_actmp.lieuAct=tmp.lieuAct,
|
||||
etablissements_actmp.codeCommune=tmp.codeCommune,
|
||||
etablissements_actmp.explen=tmp.explen,
|
||||
etablissements_actmp.explet=tmp.explet
|
||||
WHERE etablissements_actmp.siren=tmp.siren AND etablissements_actmp.nic=tmp.nic;
|
||||
|
||||
DROP TABLE tmp;
|
||||
|
||||
# Ajout du Téphone si manquant
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
nic MEDIUMINT(5) UNSIGNED ZEROFILL NOT NULL,
|
||||
tel INT(10) UNSIGNED ZEROFILL NOT NULL,
|
||||
PRIMARY KEY (siren,nic)
|
||||
);
|
||||
|
||||
INSERT IGNORE INTO jo.tmp SELECT DISTINCT siren, nic, telephone
|
||||
FROM jo.telephonie b1
|
||||
WHERE b1.dateInsert = (
|
||||
SELECT MAX(b2.dateInsert)
|
||||
FROM jo.telephonie b2
|
||||
WHERE b1.siren = b2.siren
|
||||
AND b1.nic = b2.nic
|
||||
AND b2.typeTel='tel');
|
||||
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.tel=tmp.tel WHERE etablissements_actmp.siren=tmp.siren AND etablissements_actmp.nic=tmp.nic AND etablissements_actmp.tel=0;
|
||||
|
||||
DROP TABLE tmp;
|
||||
|
||||
|
||||
# Ajout du Fax si manquant
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
nic MEDIUMINT(5) UNSIGNED ZEROFILL NOT NULL,
|
||||
tel INT(10) UNSIGNED ZEROFILL NOT NULL,
|
||||
PRIMARY KEY (siren,nic)
|
||||
);
|
||||
|
||||
INSERT IGNORE INTO jo.tmp SELECT DISTINCT siren, nic, telephone
|
||||
FROM jo.telephonie b1
|
||||
WHERE b1.dateInsert = (
|
||||
SELECT MAX(b2.dateInsert)
|
||||
FROM jo.telephonie b2
|
||||
WHERE b1.siren = b2.siren
|
||||
AND b1.nic = b2.nic
|
||||
AND b2.typeTel='fax');
|
||||
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.fax=tmp.tel WHERE etablissements_actmp.siren=tmp.siren AND etablissements_actmp.nic=tmp.nic AND etablissements_actmp.fax=0;
|
||||
|
||||
DROP TABLE tmp;
|
||||
|
||||
# Ajout du site Web et du mail
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
web VARCHAR(100) NOT NULL,
|
||||
mail VARCHAR(100) NOT NULL,
|
||||
PRIMARY KEY (siren)
|
||||
);
|
||||
INSERT IGNORE INTO jo.tmp SELECT DISTINCT siren, web, mail FROM infos_entrep;
|
||||
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.web=tmp.web, etablissements_actmp.mail=tmp.mail WHERE etablissements_actmp.siren=tmp.siren;
|
||||
|
||||
DROP TABLE tmp;
|
||||
|
||||
# Ajout du Web si manquant
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
nic MEDIUMINT(5) UNSIGNED ZEROFILL NOT NULL,
|
||||
web VARCHAR(100) NOT NULL,
|
||||
PRIMARY KEY (siren,nic)
|
||||
);
|
||||
|
||||
INSERT IGNORE INTO jo.tmp SELECT DISTINCT siren, nic, infoTel
|
||||
FROM jo.telephonie b1
|
||||
WHERE b1.dateInsert = (
|
||||
SELECT MAX(b2.dateInsert)
|
||||
FROM jo.telephonie b2
|
||||
WHERE b1.siren = b2.siren
|
||||
AND b1.nic = b2.nic
|
||||
AND b2.typeTel='web');
|
||||
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.web=tmp.web WHERE etablissements_actmp.siren=tmp.siren AND etablissements_actmp.nic=tmp.nic AND etablissements_actmp.web='';
|
||||
|
||||
DROP TABLE tmp;
|
||||
|
||||
# Ajout du Mail si manquant
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
nic MEDIUMINT(5) UNSIGNED ZEROFILL NOT NULL,
|
||||
mail VARCHAR(100) NOT NULL,
|
||||
PRIMARY KEY (siren,nic)
|
||||
);
|
||||
|
||||
INSERT IGNORE INTO jo.tmp SELECT DISTINCT siren, nic, infoTel
|
||||
FROM jo.telephonie b1
|
||||
WHERE b1.dateInsert = (
|
||||
SELECT MAX(b2.dateInsert)
|
||||
FROM jo.telephonie b2
|
||||
WHERE b1.siren = b2.siren
|
||||
AND b1.nic = b2.nic
|
||||
AND b2.typeTel='mail');
|
||||
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.mail=tmp.mail WHERE etablissements_actmp.siren=tmp.siren AND etablissements_actmp.nic=tmp.nic AND etablissements_actmp.mail='';
|
||||
|
||||
DROP TABLE tmp;
|
||||
|
||||
|
||||
# Ajout de la civilitédu nom et du prém du principal dirigeant
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
dirCiv CHAR(4) NOT NULL,
|
||||
dirNom CHAR(20) NOT NULL,
|
||||
dirPrenom CHAR(30) NOT NULL,
|
||||
dirDateNaiss DATE NOT NULL,
|
||||
dirFct SMALLINT(4) UNSIGNED ZEROFILL NOT NULL,
|
||||
PRIMARY KEY (siren)
|
||||
);
|
||||
INSERT IGNORE INTO jo.tmp SELECT DISTINCT siren, civilite, nom, prenom, naissance_date, fonction_code
|
||||
FROM jo.rncs_dirigeants b1
|
||||
WHERE b1.fonction_code = (
|
||||
SELECT MAX(b2.fonction_code)
|
||||
FROM jo.rncs_dirigeants b2
|
||||
WHERE b1.siren = b2.siren
|
||||
AND b2.actif=1
|
||||
AND b2.nom<>''
|
||||
AND b2.fonction_code BETWEEN 200 AND 2000);
|
||||
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.dirCiv=tmp.dirCiv, etablissements_actmp.dirNom=tmp.dirNom, etablissements_actmp.dirPrenom=tmp.dirPrenom, etablissements_actmp.dirDateNaiss=tmp.dirDateNaiss, etablissements_actmp.dirFct=tmp.dirFct WHERE etablissements_actmp.siren=tmp.siren;
|
||||
DROP TABLE tmp;
|
||||
|
||||
UPDATE etablissements_actmp, rncs_entrep SET
|
||||
etablissements_actmp.dirNom=rncs_entrep.nom,
|
||||
etablissements_actmp.dirPrenom=rncs_entrep.prenom,
|
||||
etablissements_actmp.dirDateNaiss=rncs_entrep.dateNaiss,
|
||||
etablissements_actmp.dirFct=1050
|
||||
WHERE etablissements_actmp.siren=rncs_entrep.siren
|
||||
AND rncs_entrep.actif=1
|
||||
AND etablissements_actmp.dirNom=''
|
||||
AND rncs_entrep.nom<>''
|
||||
AND rncs_entrep.cj<2000;
|
||||
|
||||
# Ajout de la date d'immatriculation
|
||||
UPDATE etablissements_actmp, greffes_identite SET
|
||||
etablissements_actmp.dateImmat=greffes_identite.dateCreation*1
|
||||
WHERE etablissements_actmp.siren=greffes_identite.siren;
|
||||
UPDATE etablissements_actmp, rncs_entrep SET
|
||||
etablissements_actmp.dateImmat=rncs_entrep.dateImma*1
|
||||
WHERE etablissements_actmp.siren=rncs_entrep.siren;
|
||||
|
||||
# Ajout de la présence dans le répertoire RCS
|
||||
UPDATE etablissements_actmp, rncs_entrep SET
|
||||
etablissements_actmp.presentRcs=1
|
||||
WHERE etablissements_actmp.siren=rncs_entrep.siren;
|
||||
|
||||
# Ajout du nomCommercial
|
||||
UPDATE etablissements_actmp, rncs_etab SET
|
||||
etablissements_actmp.nomCommercial=rncs_etab.nomCommercial
|
||||
WHERE etablissements_actmp.siren=rncs_etab.siren AND etablissements_actmp.nic=rncs_etab.nic;
|
||||
|
||||
# Ajout des enseignes RNCS absentes de l'INSEE
|
||||
UPDATE etablissements_actmp, rncs_etab SET
|
||||
etablissements_actmp.enseigne=rncs_etab.enseigne
|
||||
WHERE etablissements_actmp.siren=rncs_etab.siren AND etablissements_actmp.nic=rncs_etab.nic AND etablissements_actmp.enseigne='';
|
||||
|
||||
# Ajout des sigles RNCS absents de l'INSEE
|
||||
UPDATE etablissements_actmp, rncs_entrep SET
|
||||
etablissements_actmp.sigle=rncs_entrep.sigle
|
||||
WHERE etablissements_actmp.siren=rncs_entrep.siren AND etablissements_actmp.sigle='';
|
||||
|
||||
# Ajout des numéros de TVA
|
||||
UPDATE jo.etablissements_actmp, sdv1.siren_tva SET etablissements_actmp.tvaIntraValide=1, etablissements_actmp.tvaIntraCle=siren_tva.cle
|
||||
WHERE etablissements_actmp.siren=siren_tva.siren AND siren_tva.cle IS NOT NULL;
|
||||
UPDATE jo.etablissements_actmp, sdv1.siren_tva SET etablissements_actmp.tvaIntraValide=0
|
||||
WHERE etablissements_actmp.siren=siren_tva.siren AND siren_tva.cle IS NULL;
|
||||
|
||||
# Ajout de l'indicateur Présence de Procol dans l'historique
|
||||
UPDATE etablissements_actmp, rncs_jugements SET
|
||||
etablissements_actmp.procolHisto=1
|
||||
WHERE etablissements_actmp.siren=rncs_jugements.siren;
|
||||
UPDATE etablissements_actmp, annonces SET
|
||||
etablissements_actmp.procolHisto=1
|
||||
WHERE etablissements_actmp.siren=annonces.siren AND etablissements_actmp.procolHisto=0 AND annonces.typeEven BETWEEN 1000 AND 1999;
|
||||
|
||||
# Ajout de la cote spéciale GE
|
||||
UPDATE jo.etablissements_actmp, sdv1.ge_cs2
|
||||
SET etablissements_actmp.avisCs=REPLACE(REPLACE(REPLACE(REPLACE(ge_cs2.cs,'I','10'),'P','15'),'D','39'),'T','43')
|
||||
WHERE etablissements_actmp.siren=ge_cs2.siren AND (ge_cs2.dateSuppr=0 OR ge_cs2.dateConf>ge_cs2.dateSuppr)
|
||||
AND (ge_cs2.dateFin=0 OR ge_cs2.dateFin>NOW()) AND ge_cs2.cs NOT IN (20,22,27,33,34);
|
||||
|
||||
# Ajout du niveau de risque
|
||||
UPDATE etablissements_actmp SET risque=1 WHERE siren IN (SELECT siren FROM scores_surveillance WHERE indiScore<40);
|
||||
UPDATE etablissements_actmp SET risque=1 WHERE avisCs IN (10, 11, 12, 13, 15, 16, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 33, 34, 35, 36, 37, 50);
|
||||
UPDATE etablissements_actmp SET risque=1 WHERE procolHisto=1;
|
||||
UPDATE etablissements_actmp SET risque=1 WHERE actifEco=0 AND siege=1 AND (cj<3000 OR cj>9000);
|
||||
UPDATE etablissements_actmp SET risque=0 WHERE siren IN (SELECT siren FROM scores_surveillance WHERE indiScore>39);
|
||||
|
||||
# Ajout du nombre d'actionnaires et de participations actives
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
nbEntrep MEDIUMINT(5) UNSIGNED NOT NULL,
|
||||
PRIMARY KEY (siren)
|
||||
);
|
||||
INSERT IGNORE INTO tmp SELECT siren1 AS siren, COUNT(*) AS nbEntrep FROM liens WHERE siren1>10000 AND actif=1 AND ActionPart=1 GROUP BY siren;
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.nbActio=tmp.nbEntrep WHERE etablissements_actmp.siren=tmp.siren;
|
||||
TRUNCATE TABLE tmp;
|
||||
INSERT IGNORE INTO tmp SELECT siren1 AS siren, COUNT(*) AS nbEntrep FROM liens WHERE siren1>10000 AND actif=1 AND ActionPart=2 GROUP BY siren;
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.nbPart=tmp.nbEntrep WHERE etablissements_actmp.siren=tmp.siren;
|
||||
TRUNCATE TABLE tmp;
|
||||
|
||||
# Ajout du nombre de marchés publics gagnés
|
||||
INSERT IGNORE INTO tmp SELECT siren, COUNT(*) AS nbEntrep FROM boamp_lots WHERE siren>10000 GROUP BY siren;
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.nbMPubli=tmp.nbEntrep WHERE etablissements_actmp.siren=tmp.siren;
|
||||
TRUNCATE TABLE tmp;
|
||||
|
||||
# Ajout du nombre de marques
|
||||
INSERT IGNORE INTO tmp SELECT sirenDeposant AS siren, COUNT(*) AS nbEntrep FROM bopi.marques WHERE sirenDeposant>10000 GROUP BY sirenDeposant;
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.nbMarques=tmp.nbEntrep WHERE etablissements_actmp.siren=tmp.siren;
|
||||
TRUNCATE TABLE tmp;
|
||||
|
||||
# Ajout du nombre d'annonces JO Associations
|
||||
INSERT IGNORE INTO tmp SELECT siren, COUNT(*) AS nbEntrep FROM asso WHERE siren>10000 GROUP BY siren;
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.nbAnnAsso=tmp.nbEntrep WHERE etablissements_actmp.siren=tmp.siren;
|
||||
TRUNCATE TABLE tmp;
|
||||
DROP TABLE tmp;
|
||||
|
||||
# Jonction temporaire des tables zonage et zonageXY
|
||||
CREATE TABLE tmp
|
||||
SELECT x.address, x.rivoli, x.l93_x, x.l93_y, x.alt, x.precis, x.adrNum, x.adrIndRep, x.adrTypeVoie, x.adrLibVoie, x.adr_cp, x.adr_ville, z.zus, z.zru, z.zfu, z.cucs
|
||||
FROM zonageXY x
|
||||
LEFT JOIN zonage z ON x.address=z.address AND x.adr_cp=z.adr_cp AND x.adr_ville=z.adr_ville
|
||||
WHERE x.l93_x IS NOT NULL AND x.precis>5 AND x.l93_x>0 AND x.l93_y>0 AND x.address<>'0000' AND x.adr_cp<>'' AND x.adr_cp<>'00000';
|
||||
ALTER TABLE tmp ADD INDEX (adrNum,adrIndRep,adrTypeVoie,adrLibVoie,adr_cp,adr_ville);
|
||||
# Mise à jour des Lamberts, de l'altitude et des zones Prioritaires
|
||||
UPDATE etablissements_actmp, tmp
|
||||
SET etablissements_actmp.l93_x =tmp.l93_x,
|
||||
etablissements_actmp.l93_y =tmp.l93_y,
|
||||
etablissements_actmp.alt =tmp.alt,
|
||||
etablissements_actmp.precis=tmp.precis,
|
||||
etablissements_actmp.zus =tmp.zus,
|
||||
etablissements_actmp.zru =tmp.zru,
|
||||
etablissements_actmp.zfu =tmp.zfu,
|
||||
etablissements_actmp.cucs =tmp.cucs
|
||||
WHERE etablissements_actmp.adr_num =tmp.adrNum AND
|
||||
etablissements_actmp.adr_btq =tmp.adrIndRep AND
|
||||
etablissements_actmp.adr_typeVoie=tmp.adrTypeVoie AND
|
||||
etablissements_actmp.adr_libVoie =tmp.adrLibVoie AND
|
||||
etablissements_actmp.adr_cp =tmp.adr_cp AND
|
||||
etablissements_actmp.adr_ville =tmp.adr_ville;
|
||||
DROP TABLE tmp;
|
||||
# Ajout des marqueurs ZRR et ZAFR
|
||||
UPDATE etablissements_actmp, zonageInsee
|
||||
SET etablissements_actmp.zrr=1
|
||||
WHERE etablissements_actmp.codeCommune=zonageInsee.codeInsee AND zonageInsee.typeZone='ZRR';
|
||||
UPDATE etablissements_actmp, zonageInsee
|
||||
SET etablissements_actmp.zafr=1
|
||||
WHERE etablissements_actmp.codeCommune=zonageInsee.codeInsee AND zonageInsee.typeZone='ZAFR' AND canton=0;
|
||||
|
||||
# Correction du capital si absent (Alsace, Moselle, DOM...)
|
||||
CREATE /*TEMPORARY*/ TABLE jo.tmp (
|
||||
siren INT(9) UNSIGNED ZEROFILL NOT NULL,
|
||||
DA BIGINT(20) UNSIGNED NOT NULL,
|
||||
dateExercice INT(8) UNSIGNED ZEROFILL NOT NULL,
|
||||
PRIMARY KEY (siren,dateExercice)
|
||||
);
|
||||
|
||||
INSERT IGNORE INTO jo.tmp
|
||||
SELECT siren, DA, dateExercice FROM bilans_postes WHERE siren IN (
|
||||
SELECT siren FROM etablissements_actmp WHERE cj>=2000 AND capital=0 AND capitalDev IN ('','EUR') AND presentRcs=1
|
||||
) ORDER BY siren ASC, dateExercice DESC;
|
||||
|
||||
UPDATE etablissements_actmp, tmp SET etablissements_actmp.capital=tmp.DA WHERE etablissements_actmp.siren=tmp.siren;
|
||||
|
||||
DROP TABLE tmp;
|
||||
|
||||
|
||||
# Les controles et zones issue des bilans seront proposees lors de l'extraction !
|
||||
ALTER TABLE etablissements_actmp
|
||||
ADD INDEX idxEntrepApeCA(siege,ape_entrep,bilFL),
|
||||
ADD INDEX idxEntrepApeCommune(siege,ape_entrep,adr_dep,adr_com),
|
||||
ADD INDEX idxSirenGrpSiege(sirenGrp,siege),
|
||||
ADD INDEX idxRangSiege(rang,siege);
|
@ -1 +0,0 @@
|
||||
mysql -h192.168.3.30 -pscores -N jo < /var/www/batch/clients/exportKompassRisque.sql > /home/data/clients/kompass/sdKompassRisques.txt
|
@ -1,4 +0,0 @@
|
||||
SELECT CONCAT(siren, REPLACE(REPLACE(risque,1,'C'),0,' ')) as LigneRisque
|
||||
FROM etablissements_act
|
||||
WHERE cj NOT IN (1900, 6540, 9110, 9150) AND siege=1
|
||||
ORDER BY siren ASC;
|
@ -1,45 +0,0 @@
|
||||
2012-10-08-00-12 - Début de l'export des procédures collectives pour CreditSafe...
|
||||
Nombre de jugements exportés :
|
||||
0 0 0 /home/data/ftp/creditsafe/recv/col20121008.txt
|
||||
2012-10-08-00-12 - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
||||
2012-10-09-00-12 - Début de l'export des procédures collectives pour CreditSafe...
|
||||
Nombre de jugements exportés :
|
||||
0 0 0 /home/data/ftp/creditsafe/recv/col20121009.txt
|
||||
2012-10-09-00-12 - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
||||
2012-10-10-00-12 - Début de l'export des procédures collectives pour CreditSafe...
|
||||
Nombre de jugements exportés :
|
||||
274 7563 51565 /home/data/ftp/creditsafe/recv/col20121010.txt
|
||||
2012-10-10-00-12 - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
||||
2012-10-11-00-12 - Début de l'export des procédures collectives pour CreditSafe...
|
||||
Nombre de jugements exportés :
|
||||
356 10982 74419 /home/data/ftp/creditsafe/recv/col20121011.txt
|
||||
2012-10-11-00-12 - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
||||
2012-10-12-00-12 - Début de l'export des procédures collectives pour CreditSafe...
|
||||
Nombre de jugements exportés :
|
||||
372 11653 79551 /home/data/ftp/creditsafe/recv/col20121012.txt
|
||||
2012-10-12-00-12 - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
||||
2012-10-13-00-12 - Début de l'export des procédures collectives pour CreditSafe...
|
||||
Nombre de jugements exportés :
|
||||
397 11746 79537 /home/data/ftp/creditsafe/recv/col20121013.txt
|
||||
2012-10-13-00-12 - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
||||
2012-10-14-00-12 - Début de l'export des procédures collectives pour CreditSafe...
|
||||
Nombre de jugements exportés :
|
||||
189 4812 32875 /home/data/ftp/creditsafe/recv/col20121014.txt
|
||||
2012-10-14-00-12 - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
||||
2012-10-15-00-12 - Début de l'export des procédures collectives pour CreditSafe...
|
||||
Nombre de jugements exportés :
|
||||
0 0 0 /home/data/ftp/creditsafe/recv/col20121015.txt
|
||||
2012-10-15-00-12 - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
||||
2012-10-16-00-12 - Début de l'export des procédures collectives pour CreditSafe...
|
||||
Nombre de jugements exportés :
|
||||
16 377 2637 /home/data/ftp/creditsafe/recv/col20121016.txt
|
||||
2012-10-16-00-12 - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
cd /var/www/batch/clients
|
||||
DATE=`date '+%Y%m%d'`
|
||||
DATEHEURE=`date '+%Y-%m-%d-%H-%I'`
|
||||
echo -n "${DATEHEURE} - Début de l'export des procédures collectives pour CreditSafe...
|
||||
"
|
||||
mysql -uroot -pscores -h192.168.3.30 jo < exportPCL.sql > /home/data/ftp/creditsafe/recv/col${DATE}.txt
|
||||
echo -n "Nombre de jugements exportés :
|
||||
"
|
||||
wc /home/data/ftp/creditsafe/recv/col${DATE}.txt
|
||||
DATEHEURE=`date '+%Y-%m-%d-%H-%I'`
|
||||
echo -n "${DATEHEURE} - Fin de l'export des procédures collectives pour CreditSafe.
|
||||
|
||||
"
|
@ -1,9 +0,0 @@
|
||||
SELECT siren AS RCS, typeEven as CODE_EVEN, raisonSociale as RAISON_SOCIALE, adresse AS ADRESSE1, CONCAT_WS(' ',codePostal,ville) AS ADRESSE2, dateJugement AS DATE_JUG, CONCAT_WS('/',inter1nom,inter2nom,inter3nom) AS MANDATAIRE, tribunal AS TRIBUNAL, DATE(dateInsert) AS DATE_FRAICHEUR
|
||||
FROM annonces
|
||||
WHERE typeEven BETWEEN 1100 AND 1999
|
||||
AND date(dateInsert)>DATE_SUB(CURDATE(),INTERVAL 2 DAY)
|
||||
# AND date(dateInsert)>='2010-05-01'
|
||||
AND ( (source<>'PC' AND (codePostal BETWEEN 57000 AND 57999 OR codePostal BETWEEN 67000 AND 68999)) OR source='GC' );
|
||||
# source NOT IN('GC','PC') AND typeEven BETWEEN 1100 AND 1999 AND (codePostal BETWEEN 57000 AND 57999 OR codePostal BETWEEN 67000 AND 68999) AND
|
||||
# date(dateInsert)>DATE_SUB(CURDATE(),INTERVAL 2 DAY);
|
||||
# dateInsert>20090301000000;
|
@ -1,3 +0,0 @@
|
||||
SELECT siren AS RCS, typeEven as CODE_EVEN, raisonSociale as RAISON_SOCIALE, adresse AS ADRESSE1, CONCAT_WS(' ',codePostal,ville) AS ADRESSE2, dateJugement AS DATE_JUG, CONCAT_WS('/',inter1nom,inter2nom,inter3nom) AS MANDATAIRE, tribunal AS TRIBUNAL, DATE(dateInsert) AS DATE_FRAICHEUR
|
||||
FROM annonces
|
||||
WHERE (idSaisie >0 OR inter1id >0 OR inter2id >0 OR inter3id >0) AND date(dateInsert)>20081001;
|
@ -1,31 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
define('DIR_FTP_RECOCASH', '/home/data/ftp/recocash');
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT de la récupération du/des flux Recocash...".EOL;
|
||||
$dh = opendir(DIR_FTP_RECOCASH);
|
||||
$ret=0;
|
||||
while (false !== ($filename = readdir($dh))) {
|
||||
if (substr($filename,0,1)<>'.' && strtolower(substr($filename, -4)<>'.txt')) {
|
||||
$filename=DIR_FTP_RECOCASH.'/'.$filename;
|
||||
$dateHeure=date('YmdHis', filectime($filename));
|
||||
$fpR=fopen($filename, 'r');
|
||||
$fpW=fopen($filename.'.sdin', 'w');
|
||||
echo date('Y/m/d - H:i:s') ." - Conversion du fichier $filename".EOL;
|
||||
while (!feof($fpR)) {
|
||||
$ligneR = fgets($fpR);
|
||||
$siren=substr($ligneR,0,9);
|
||||
$ref=substr($ligneR,9,10);
|
||||
$ligneW='CLI'.$dateHeure.'0000000000SURBODPRDFTSRECOCASH ';
|
||||
$ligneW.=' '.$siren;
|
||||
$ligneW.=' ';
|
||||
$ligneW.=$ref.EOL;
|
||||
fwrite($fpW, $ligneW);
|
||||
}
|
||||
fclose($fpR);
|
||||
fclose($fpW);
|
||||
}
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - FIN de la récupération du/des flux Recocash...".EOL;
|
||||
?>
|
@ -1,21 +0,0 @@
|
||||
#!/bin/sh
|
||||
cd /var/www/batch/clients
|
||||
DATE=`date '+%Y%m%d'`
|
||||
DATEHEURE=`date '+%Y-%m-%d-%H-%I'`
|
||||
echo -n "${DATEHEURE} - Début du chargement de la téléphonie ARCEP...
|
||||
"
|
||||
wget -N http://www.arcep.fr/fileadmin/reprise/dossiers/numero/liste-op-dec-num.xls
|
||||
xls2csv -x liste-op-dec-num.xls -c liste-op-dec-num.csv
|
||||
echo -n "Nombre d'opérateurs :
|
||||
"
|
||||
wc liste-op-dec-num.csv
|
||||
/var/www/batch/loadCSV.php -e -s=, -d=telephonie -t=operateurs_tmp liste-op-dec-num.csv
|
||||
wget -N http://www.arcep.fr/fileadmin/wopnum.xls
|
||||
xls2csv -x wopnum.xls -c wopnum.csv
|
||||
echo -n "Nombre d'indicatifs :
|
||||
"
|
||||
wc wopnum.csv
|
||||
/var/www/batch/loadCSV.php -e -s=, -d=telephonie -t=indicatifs_tmp wopnum.csv
|
||||
DATEHEURE=`date '+%Y-%m-%d-%H-%I'`
|
||||
echo -n "${DATEHEURE} - Fin du chargement de la téléphonie ARCEP.
|
||||
"
|
@ -1,15 +0,0 @@
|
||||
adding: 006_FR_20121014.csv (deflated 75%)
|
||||
Connected to ftp.giant-net.com (62.58.14.80).
|
||||
220 Microsoft FTP Service
|
||||
331 Password required for ftp_sd_fr.
|
||||
230 User ftp_sd_fr logged in.
|
||||
200 Type set to I.
|
||||
Local directory now /var/www/batch/clients
|
||||
local: 006_FR_20121014.tmp remote: 006_FR_20121014.tmp
|
||||
227 Entering Passive Mode (62,58,14,80,7,116).
|
||||
125 Data connection already open; Transfer starting.
|
||||
226 Transfer complete.
|
||||
257334860 bytes sent in 619 secs (4.1e+02 Kbytes/sec)
|
||||
350 File exists, ready for destination name
|
||||
250 RNTO command successful.
|
||||
221
|
@ -1,24 +0,0 @@
|
||||
#!/bin/bash
|
||||
DATE=`date '+%Y%m%d'`
|
||||
FILE_CSV="006_FR_${DATE}.csv"
|
||||
FILE_ZIP="006_FR_${DATE}.zip"
|
||||
FILE_TMP="006_FR_${DATE}.tmp"
|
||||
mysql -h192.168.3.30 -pscores jo < /var/www/batch/clients/indexFileGiant.sql > /var/www/batch/clients/indexFileGiant.sed
|
||||
sed -e 's/\\/\\\\/g' /var/www/batch/clients/indexFileGiant.sed > /var/www/batch/clients/indexFileGiant.sed1
|
||||
sed -e 's/"/\\"/g' /var/www/batch/clients/indexFileGiant.sed1 > /var/www/batch/clients/indexFileGiant.sed2
|
||||
sed -e "s/'/\\\'/g" /var/www/batch/clients/indexFileGiant.sed2 > /var/www/batch/clients/indexFileGiant.sed3
|
||||
sed -e 's/\t/\|/g' /var/www/batch/clients/indexFileGiant.sed3 > /var/www/batch/clients/$FILE_CSV
|
||||
rm -f /var/www/batch/clients/indexFileGiant.sed
|
||||
rm -f /var/www/batch/clients/indexFileGiant.sed1
|
||||
rm -f /var/www/batch/clients/indexFileGiant.sed2
|
||||
rm -f /var/www/batch/clients/indexFileGiant.sed3
|
||||
zip -jDm /var/www/batch/clients/$FILE_ZIP /var/www/batch/clients/$FILE_CSV
|
||||
mv /var/www/batch/clients/$FILE_ZIP /var/www/batch/clients/$FILE_TMP
|
||||
ftp -inv ftp.giant-net.com<<ENDFTP
|
||||
user ftp_sd_fr Choucroute
|
||||
bin
|
||||
lcd /var/www/batch/clients/
|
||||
put $FILE_TMP
|
||||
rename $FILE_TMP $FILE_ZIP
|
||||
bye
|
||||
ENDFTP
|
@ -1,19 +0,0 @@
|
||||
SELECT CONCAT(siren,nic) AS CompanyId,
|
||||
CONCAT(siren,nic) AS BranchId,
|
||||
REPLACE(raisonSociale,'|','') AS RegisteredName,
|
||||
REPLACE(CONCAT(enseigne,' ',sigle,' ',marques),'|','') as TradingNames,
|
||||
REPLACE(tel,'0000000000','') AS TelephoneNumber,
|
||||
siren AS CompanyRegisterNumber,
|
||||
REPLACE(adr_num,'0000','') AS HouseNumber,
|
||||
adr_btq AS HouseNumberAdd,
|
||||
REPLACE(CONCAT(adr_typeVoie,' ',adr_libVoie),'|','') AS Street,
|
||||
adr_cp AS PostCode,
|
||||
REPLACE(adr_ville,'|','') AS City,
|
||||
'FR' AS Country,
|
||||
REPLACE(TRIM(CONCAT(REPLACE(adr_num,'0000',''),' ',adr_btq,' ',adr_typeVoie,' ',adr_libVoie,' ',adr_comp,', ',adr_cp,' ',adr_ville)),'|','') AS EntireAddress,
|
||||
IF(siege=1,'R','B'/*'T'*/) AS AddressType,
|
||||
CONCAT(SUBSTRING(ape_etab,1,4),',',SUBSTRING(ape_entrep,1,4)) AS NaceCodes,
|
||||
REPLACE(CONCAT(cj,' ',c.libelle, ' (',c.libelleEn,')'),'|','') AS LegalForm,
|
||||
IF(rang=0,1,IF(siege=1,3,2)) AS BoostFactor
|
||||
FROM etablissements_act, tabFJur c
|
||||
WHERE presentRcs=1 AND cj=c.code AND LENGTH(raisonSociale)>0;/* AND siren IN (SELECT DISTINCT siren FROM rncs_entrep);*/
|
File diff suppressed because one or more lines are too long
@ -1,4 +0,0 @@
|
||||
/var/www/batch/exportKompass.php -1
|
||||
/var/www/batch/exportKompass.php -3
|
||||
/var/www/batch/exportKompass.php -4
|
||||
###/var/www/batch/exportKompass.php -5
|
@ -1,94 +0,0 @@
|
||||
2012/10/08 - 00:46:06 - Il y a 152159 siren Kompass en Presta 5...
|
||||
2012/10/08 - 01:00:49 - 1000/152159 siren traites...
|
||||
2012/10/08 - 01:14:56 - 2000/152159 siren traites...
|
||||
2012/10/08 - 01:28:41 - 3000/152159 siren traites...
|
||||
2012/10/08 - 01:42:28 - 4000/152159 siren traites...
|
||||
2012/10/08 - 01:56:37 - 5000/152159 siren traites...
|
||||
2012/10/08 - 02:11:43 - 6000/152159 siren traites...
|
||||
2012/10/08 - 02:30:33 - 7000/152159 siren traites...
|
||||
2012/10/08 - 02:47:06 - 8000/152159 siren traites...
|
||||
2012/10/08 - 03:03:32 - 9000/152159 siren traites...
|
||||
2012/10/08 - 03:19:35 - 10000/152159 siren traites...
|
||||
2012/10/08 - 03:35:14 - 11000/152159 siren traites...
|
||||
2012/10/08 - 03:50:48 - 12000/152159 siren traites...
|
||||
2012/10/08 - 04:06:43 - 13000/152159 siren traites...
|
||||
2012/10/08 - 04:21:37 - 14000/152159 siren traites...
|
||||
2012/10/08 - 04:39:19 - 15000/152159 siren traites...
|
||||
2012/10/08 - 04:57:05 - 16000/152159 siren traites...
|
||||
2012/10/08 - 05:15:00 - 17000/152159 siren traites...
|
||||
2012/10/08 - 05:33:22 - 18000/152159 siren traites...
|
||||
2012/10/08 - 05:51:16 - 19000/152159 siren traites...
|
||||
2012/10/08 - 06:05:50 - 20000/152159 siren traites...
|
||||
2012/10/08 - 06:20:24 - 21000/152159 siren traites...
|
||||
2012/10/08 - 06:34:55 - 22000/152159 siren traites...
|
||||
2012/10/08 - 06:49:26 - 23000/152159 siren traites...
|
||||
2012/10/08 - 07:04:15 - 24000/152159 siren traites...
|
||||
2012/10/08 - 07:19:03 - 25000/152159 siren traites...
|
||||
2012/10/08 - 07:33:38 - 26000/152159 siren traites...
|
||||
2012/10/08 - 07:48:09 - 27000/152159 siren traites...
|
||||
2012/10/08 - 08:02:47 - 28000/152159 siren traites...
|
||||
2012/10/08 - 08:17:51 - 29000/152159 siren traites...
|
||||
2012/10/08 - 08:32:53 - 30000/152159 siren traites...
|
||||
2012/10/08 - 08:48:07 - 31000/152159 siren traites...
|
||||
2012/10/08 - 09:02:45 - 32000/152159 siren traites...
|
||||
2012/10/08 - 09:17:56 - 33000/152159 siren traites...
|
||||
2012/10/08 - 09:32:35 - 34000/152159 siren traites...
|
||||
2012/10/08 - 09:47:48 - 35000/152159 siren traites...
|
||||
2012/10/08 - 10:02:27 - 36000/152159 siren traites...
|
||||
2012/10/08 - 10:17:37 - 37000/152159 siren traites...
|
||||
2012/10/08 - 10:32:17 - 38000/152159 siren traites...
|
||||
2012/10/08 - 10:48:36 - 39000/152159 siren traites...
|
||||
2012/10/08 - 11:04:52 - 40000/152159 siren traites...
|
||||
2012/10/08 - 11:20:01 - 41000/152159 siren traites...
|
||||
2012/10/08 - 11:34:46 - 42000/152159 siren traites...
|
||||
2012/10/08 - 11:49:51 - 43000/152159 siren traites...
|
||||
2012/10/08 - 12:04:29 - 44000/152159 siren traites...
|
||||
2012/10/08 - 12:19:39 - 45000/152159 siren traites...
|
||||
2012/10/08 - 12:34:13 - 46000/152159 siren traites...
|
||||
2012/10/08 - 12:49:25 - 47000/152159 siren traites...
|
||||
2012/10/08 - 13:04:02 - 48000/152159 siren traites...
|
||||
2012/10/08 - 13:19:14 - 49000/152159 siren traites...
|
||||
2012/10/08 - 13:33:52 - 50000/152159 siren traites...
|
||||
2012/10/08 - 13:49:04 - 51000/152159 siren traites...
|
||||
2012/10/08 - 14:03:41 - 52000/152159 siren traites...
|
||||
2012/10/08 - 14:19:01 - 53000/152159 siren traites...
|
||||
2012/10/08 - 14:33:39 - 54000/152159 siren traites...
|
||||
2012/10/08 - 14:48:49 - 55000/152159 siren traites...
|
||||
2012/10/08 - 15:03:24 - 56000/152159 siren traites...
|
||||
2012/10/08 - 15:18:39 - 57000/152159 siren traites...
|
||||
2012/10/08 - 15:33:14 - 58000/152159 siren traites...
|
||||
2012/10/08 - 15:48:36 - 59000/152159 siren traites...
|
||||
2012/10/08 - 16:03:17 - 60000/152159 siren traites...
|
||||
2012/10/08 - 16:18:27 - 61000/152159 siren traites...
|
||||
2012/10/08 - 16:33:01 - 62000/152159 siren traites...
|
||||
2012/10/08 - 16:48:03 - 63000/152159 siren traites...
|
||||
2012/10/08 - 17:02:35 - 64000/152159 siren traites...
|
||||
2012/10/08 - 17:17:38 - 65000/152159 siren traites...
|
||||
2012/10/08 - 17:32:08 - 66000/152159 siren traites...
|
||||
2012/10/08 - 17:47:12 - 67000/152159 siren traites...
|
||||
2012/10/08 - 18:01:42 - 68000/152159 siren traites...
|
||||
2012/10/08 - 18:16:39 - 69000/152159 siren traites...
|
||||
2012/10/08 - 18:31:33 - 70000/152159 siren traites...
|
||||
2012/10/08 - 18:47:13 - 71000/152159 siren traites...
|
||||
2012/10/08 - 19:01:41 - 72000/152159 siren traites...
|
||||
2012/10/08 - 19:16:49 - 73000/152159 siren traites...
|
||||
2012/10/08 - 19:31:21 - 74000/152159 siren traites...
|
||||
2012/10/08 - 19:46:57 - 75000/152159 siren traites...
|
||||
2012/10/08 - 20:01:36 - 76000/152159 siren traites...
|
||||
2012/10/08 - 20:16:41 - 77000/152159 siren traites...
|
||||
2012/10/08 - 20:31:27 - 78000/152159 siren traites...
|
||||
2012/10/08 - 20:46:39 - 79000/152159 siren traites...
|
||||
2012/10/08 - 21:01:14 - 80000/152159 siren traites...
|
||||
2012/10/08 - 21:18:08 - 81000/152159 siren traites...
|
||||
2012/10/08 - 21:34:45 - 82000/152159 siren traites...
|
||||
2012/10/08 - 21:51:17 - 83000/152159 siren traites...
|
||||
2012/10/08 - 22:07:52 - 84000/152159 siren traites...
|
||||
2012/10/08 - 22:22:52 - 85000/152159 siren traites...
|
||||
2012/10/08 - 22:37:23 - 86000/152159 siren traites...
|
||||
2012/10/08 - 22:51:51 - 87000/152159 siren traites...
|
||||
2012/10/08 - 23:06:26 - 88000/152159 siren traites...
|
||||
2012/10/08 - 23:20:52 - 89000/152159 siren traites...
|
||||
2012/10/08 - 23:35:18 - 90000/152159 siren traites...
|
||||
2012/10/08 - 23:49:45 - 91000/152159 siren traites...
|
||||
2012/10/09 - 00:04:45 - 92000/152159 siren traites...
|
||||
2012/10/09 - 00:19:45 - 93000/152159 siren traites...
|
@ -1,42 +0,0 @@
|
||||
Table Op Msg_type Msg_text
|
||||
jo.bodacc_sirenage optimize status Table is already up to date
|
||||
Table Op Msg_type Msg_text
|
||||
jo.greffes_requetes optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.bodacc_sirenage optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.greffes_requetes optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.bodacc_sirenage optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.greffes_requetes optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
sdv1.siren_tva optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.bodacc_sirenage optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.greffes_requetes optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
sdv1.siren_tva optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.bodacc_sirenage optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.greffes_requetes optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
sdv1.siren_tva optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.bodacc_sirenage optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.greffes_requetes optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
sdv1.siren_tva optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.bodacc_sirenage optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.greffes_requetes optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
sdv1.siren_tva optimize status OK
|
||||
Table Op Msg_type Msg_text
|
||||
jo.bodacc_sirenage optimize status Table is already up to date
|
||||
Table Op Msg_type Msg_text
|
||||
jo.greffes_requetes optimize status OK
|
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
DATE=`date '+%Y%m%d'`
|
||||
FILE_CSV="006_FR_${DATE}.csv"
|
||||
/var/www/batch/repriseActivite.php >> /var/www/log/repriseActivite.log
|
||||
mysql -h192.168.3.30 -pscores jo < /var/www/batch/clients/proceduresQ.sql
|
@ -1,112 +0,0 @@
|
||||
# Création de la table SQL pour les liens Actionnaires rapides
|
||||
DROP TABLE IF EXISTS liensFast;
|
||||
|
||||
CREATE TABLE liensFast (
|
||||
sirenFille int(9) unsigned zerofill NOT NULL,
|
||||
pct double NOT NULL,
|
||||
sirenMere int(9) unsigned zerofill NOT NULL,
|
||||
UNIQUE KEY sirenFille(sirenFille,pct,sirenMere),
|
||||
KEY sirenMere(sirenMere)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
|
||||
INSERT IGNORE INTO liensFast
|
||||
SELECT Siren1 AS sirenFille, Pmin AS pct, Siren2 AS sirenMere
|
||||
FROM liens
|
||||
WHERE Siren1 BETWEEN 10000 AND 999999000 AND actif=1
|
||||
AND ActionPart=1 AND (Pmin>50 OR MajMin='+') AND Siren2 BETWEEN 10000 AND 999999000;
|
||||
|
||||
|
||||
# Création de la table des montants des ventes
|
||||
DROP TABLE IF EXISTS scores_ventes;
|
||||
|
||||
CREATE TABLE scores_ventes
|
||||
SELECT id, siren, nic, Bodacc_Date_Parution, Tribunal_Code, adresse, adrNum, adrIndRep, adrTypVoie, adrLibVoie, adrComp1, adrComp2, codePostal, ville, adresseSiege, adrSiegeNum, adrSiegeIndRep, adrSiegeTypVoie, adrSiegeLibVoie, adrSiegeComp1, adrSiegeComp2, codePostalSiege, villeSiege, activite, typeEven, commentaires, dateEffet, publicationNom, publicationDate, dateDebutActivite, dateCessationActivite, dateCessationPaiement, dateJugement, VenteMt, VenteDev, bienAcqui, oppositions, oppoNom, oppoRepr, oppoAdresse, oppoAdrNum, oppoAdrIndRep, oppoAdrTypVoie, oppoAdrLibVoie, oppoAdrComp, oppoCP, oppoVille, perimetre, dateInsert, dateUpdate
|
||||
FROM bodacc_detail
|
||||
WHERE VenteMt>0 AND siren>0 AND dateSuppr=0
|
||||
ORDER BY id ASC;
|
||||
|
||||
ALTER TABLE scores_ventes
|
||||
ADD nafEn CHAR( 5 ) NOT NULL AFTER nic,
|
||||
ADD nafEt CHAR( 5 ) NOT NULL AFTER nafEn,
|
||||
ADD codeCommune CHAR( 5 ) NOT NULL AFTER nafEt,
|
||||
ADD INDEX idxSiret (siren, nic);
|
||||
|
||||
UPDATE jo.scores_ventes, insee.identite
|
||||
SET scores_ventes.nafEn=identite.APE_ENT,
|
||||
scores_ventes.nafEt=identite.APE_ETAB,
|
||||
scores_ventes.codeCommune=CONCAT(IF(identite.ADR_DEP<10,CONCAT('0',identite.ADR_DEP*1),identite.ADR_DEP),identite.ADR_COM)
|
||||
WHERE scores_ventes.siren>1000 AND scores_ventes.nic>9 AND
|
||||
scores_ventes.siren=identite.SIREN AND scores_ventes.nic=identite.NIC;
|
||||
/*
|
||||
UPDATE jo.scores_ventes, insee.identite
|
||||
SET scores_ventes.nafEn=identite.APE_ENT,
|
||||
scores_ventes.nafEt=identite.APE_ETAB,
|
||||
scores_ventes.codeCommune=CONCAT(IF(identite.ADR_DEP<10,CONCAT('0',identite.ADR_DEP*1),identite.ADR_DEP),identite.ADR_COM)
|
||||
WHERE scores_ventes.siren>1000 AND scores_ventes.nic=0 AND
|
||||
scores_ventes.siren=identite.SIREN AND identite.SIEGE=1 AND identite.ACTIF=1;
|
||||
*/
|
||||
UPDATE jo.scores_ventes, insee.identite
|
||||
SET scores_ventes.nafEn=identite.APE_ENT,
|
||||
scores_ventes.nafEt=identite.APE_ETAB,
|
||||
scores_ventes.codeCommune=CONCAT(IF(identite.ADR_DEP<10,CONCAT('0',identite.ADR_DEP*1),identite.ADR_DEP),identite.ADR_COM)
|
||||
WHERE scores_ventes.siren>1000 AND scores_ventes.nic=0 AND
|
||||
scores_ventes.siren=identite.SIREN AND scores_ventes.codePostal=identite.ADR_CP;
|
||||
|
||||
ALTER TABLE scores_ventes
|
||||
ADD INDEX idxNafEtCommune (nafEt, codeCommune, Bodacc_Date_Parution, VenteMt, VenteDev),
|
||||
ADD INDEX idxNafEnCommune (nafEn, codeCommune, Bodacc_Date_Parution, VenteMt, VenteDev);
|
||||
|
||||
|
||||
# Création de la table des entreprises les plus consultées
|
||||
DROP TABLE IF EXISTS jo.rangSiren;
|
||||
|
||||
CREATE TABLE jo.rangSiren (
|
||||
siren int(9) unsigned zerofill NOT NULL,
|
||||
`rang` mediumint unsigned NOT NULL,
|
||||
PRIMARY KEY (siren)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
|
||||
INSERT IGNORE INTO jo.rangSiren
|
||||
SELECT siren, COUNT(*) AS `rang`
|
||||
FROM sdv1.`logs`
|
||||
WHERE page='identite' AND siren<>0 GROUP BY siren ORDER BY `rang` DESC;
|
||||
|
||||
# Liste des Activites BODACC
|
||||
DROP TABLE IF EXISTS bodacc_activite;
|
||||
CREATE TABLE bodacc_activite
|
||||
SELECT siren, activite
|
||||
FROM activiteReel
|
||||
WHERE siren>1000
|
||||
GROUP BY siren
|
||||
HAVING MAX(dateSource);
|
||||
# Ajout d'un index pour les jointures
|
||||
ALTER TABLE bodacc_activite ADD PRIMARY KEY(siren);
|
||||
# Ajout de l'APE entreprise
|
||||
ALTER TABLE bodacc_activite ADD apen5 CHAR(5) NOT NULL AFTER siren;
|
||||
UPDATE bodacc_activite, etablissements
|
||||
SET bodacc_activite.apen5=etablissements.ape_entrep
|
||||
WHERE bodacc_activite.siren=etablissements.siren AND etablissements.actif=1 AND etablissements.siege=1;
|
||||
# Ajout de l'activite FT
|
||||
ALTER TABLE bodacc_activite ADD an8 INT(8) UNSIGNED ZEROFILL NOT NULL AFTER apen5;
|
||||
UPDATE bodacc_activite, telephonie
|
||||
SET bodacc_activite.an8=telephonie.telephone
|
||||
WHERE bodacc_activite.siren=telephonie.siren AND telephonie.typeTel='an8';
|
||||
|
||||
|
||||
### Purges diverses
|
||||
|
||||
# Suppression des requêtes TVA sans réponses
|
||||
DELETE FROM sdv1.siren_tva WHERE duree>14 AND cle IS NULL;
|
||||
OPTIMIZE TABLE sdv1.siren_tva;
|
||||
|
||||
# Optimisation de bodacc_sirenage
|
||||
OPTIMIZE TABLE bodacc_sirenage;
|
||||
|
||||
# Historisation des requêtes XML Infogreffe (hors bilans saisit)
|
||||
INSERT IGNORE INTO historiques.greffes_requetes
|
||||
SELECT *
|
||||
FROM jo.greffes_requetes
|
||||
WHERE dateRequete<DATE(NOW()) AND NOT (TYPE='BS' AND `option`<>'' AND codeErreur='');
|
||||
DELETE FROM greffes_requetes WHERE dateRequete<DATE(NOW()) AND NOT (TYPE='BS' AND `option`<>'' AND codeErreur='');
|
||||
OPTIMIZE TABLE greffes_requetes;
|
||||
|
@ -1,6 +0,0 @@
|
||||
ftp -inv ftp.giant-net.com<<ENDFTP
|
||||
user ftp_sd_fr Choucroute
|
||||
bin
|
||||
put $1
|
||||
bye
|
||||
ENDFTP
|
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
DATE=`date '+%Y%m%d'`
|
||||
FILE1_CSV="Corporama_Sed_${DATE}.csv"
|
||||
FILE1_ZIP="Corporama_Sed_${DATE}.csv.gz"
|
||||
FILE2_CSV="Corporama_Sed_DIR_${DATE}.csv"
|
||||
FILE2_ZIP="Corporama_Sed_DIR_${DATE}.csv.gz"
|
||||
mysql -h192.168.3.30 -pscores jo < /var/www/batch/clients/stockCorporama.sql > /var/www/batch/clients/$FILE1_CSV
|
||||
gzip /var/www/batch/clients/$FILE1_CSV
|
||||
mv /var/www/batch/clients/$FILE1_ZIP /home/data/ftp/corporama/recv/$FILE1_ZIP
|
||||
mysql -h192.168.3.30 -pscores jo < /var/www/batch/clients/stockCorporamaDir.sql > /var/www/batch/clients/$FILE2_CSV
|
||||
gzip /var/www/batch/clients/$FILE2_CSV
|
||||
mv /var/www/batch/clients/$FILE2_ZIP /home/data/ftp/corporama/recv/$FILE2_ZIP
|
||||
|
@ -1,10 +0,0 @@
|
||||
DROP TABLE IF EXISTS tmp.corporama;
|
||||
CREATE TABLE tmp.corporama
|
||||
SELECT concat(e.siren,nic) AS siret, e.siren, siege, raisonSociale, enseigne, sigle, substring(cj,1,2) as fj, if(adr_num<>0, adr_num*1,'') as adr_num, adr_typeVoie, adr_libVoie, adr_comp, adr_cp, adr_ville, bilType, bilAnnee, bilTca, teff_entrep, dateCrea_ent, ape_entrep, IF(capitalDev<>'', CONCAT(capital*1,' ',capitalDev),'') AS capital, REPLACE(tel,'0000000000','') AS tel, REPLACE(fax,'0000000000','') AS fax, REPLACE(web,'http://http://','http://') AS web, activite
|
||||
FROM jo.etablissements_act e
|
||||
LEFT JOIN jo.bodacc_activite ON e.siren=bodacc_activite.siren
|
||||
WHERE e.siren>10000 AND e.nic BETWEEN 10 AND 98000 AND e.cj NOT IN (0,1000,1400,1500,1600,1700,1800,1900,2100,2110,2200,2210,2220,2300,2310,2385,2900)
|
||||
AND (presentRcs=1 OR e.cj BETWEEN 7000 AND 7999 OR e.cj IN(8310,8311,9110,9150,9220,9221,9223,9224,9230,9260,9300)) AND LENGTH(e.ape_entrep)=5;
|
||||
ALTER TABLE tmp.corporama ADD INDEX idxSiren(siren);
|
||||
SELECT siret, siege, raisonSociale, enseigne, sigle, fj, adr_num, adr_typeVoie, adr_libVoie, adr_comp, adr_cp, adr_ville, bilType, bilAnnee, bilTca, teff_entrep, dateCrea_ent, ape_entrep, capital, tel, fax, web, activite
|
||||
FROM tmp.corporama;
|
@ -1,3 +0,0 @@
|
||||
SELECT siren, nom, prenom, fonction_code
|
||||
FROM jo.rncs_dirigeants
|
||||
WHERE actif=1 AND nom<>'' AND siren IN (SELECT DISTINCT siren FROM tmp.corporama);
|
@ -1,23 +0,0 @@
|
||||
#!/bin/bash
|
||||
JOUR=`date '+%w'`
|
||||
if [ $JOUR!=0 ] ; then
|
||||
echo "Nous ne sommes pas un dimanche"
|
||||
exit
|
||||
fi
|
||||
DATE=`date '+%Y%m%d'`
|
||||
FILE_CSV="Kadeal_Sed_${DATE}.csv"
|
||||
FILE_ZIP="Kadeal_Sed_${DATE}.zip"
|
||||
FILE_TMP="Kadeal_Sed_${DATE}.tmp"
|
||||
mysql -h192.168.3.30 -pscores jo < /var/www/batch/clients/stockKadeal.sql > /var/www/batch/clients/$FILE_CSV
|
||||
#bzip2 < /var/www/batch/clients/$FILE_CSV > /var/www/batch/clients/$FILE_TMP
|
||||
zip -jDm /var/www/batch/clients/$FILE_ZIP /var/www/batch/clients/$FILE_CSV
|
||||
#mv /var/www/batch/clients/$FILE_ZIP /var/www/batch/clients/$FILE_TMP
|
||||
ftp -inv ftp.kadeal.com<<ENDFTP
|
||||
user kadeal-sds wlGsNXqttq
|
||||
bin
|
||||
lcd /var/www/batch/clients/
|
||||
cd import
|
||||
put $FILE_ZIP
|
||||
bye
|
||||
ENDFTP
|
||||
#rename $FILE_TMP $FILE_ZIP
|
@ -1,23 +0,0 @@
|
||||
# Preparation Dump Kadeal
|
||||
DROP TABLE IF EXISTS dump_kadeal;
|
||||
CREATE TABLE dump_kadeal
|
||||
SELECT e.siren, e.nic, CONCAT(e.siren,e.nic) AS siret, e.siege, e.raisonSociale, e.enseigne, e.sigle, e.marques,
|
||||
e.adr_num, e.adr_btq, e.adr_typeVoie, e.adr_libVoie,
|
||||
REPLACE(TRIM(CONCAT(REPLACE(e.adr_num,'0000',''),' ',e.adr_btq,' ',e.adr_typeVoie,' ',e.adr_libVoie)),'|','') AS adresse1,
|
||||
e.adr_comp AS adresse2, e.distSP AS adresse3, e.achPost AS adresse4, e.adr_cp, e.adr_ville,
|
||||
REPLACE( e.tel, '0000000000', '' ) AS tel, REPLACE( e.fax, '0000000000', '' ) AS fax,
|
||||
mail, REPLACE(web,'http://','') AS web, e.ape_entrep AS NAF,
|
||||
e.bilTca AS tca, '' AS tcaconso, e.bilAnnee AS datebilan, e.eff_entrep,
|
||||
CONCAT( e.dirCiv, ' ', e.dirNom, ' ', e.dirPrenom ) AS dirigeant1, e.dirFct AS dirigeant1fct,
|
||||
'' AS dirigeant2, '' AS dirigeant2fct
|
||||
FROM etablissements_act e
|
||||
WHERE e.actif=1 AND e.siren>1000 AND e.cj NOT IN (0,1000,1400,1500,1600,1700,1800,1900,2100,2110,2200,2210,2220,2300,2310,2385,2900,6540,6541)
|
||||
AND e.cj<7000 AND LENGTH(e.ape_entrep)=5;
|
||||
ALTER TABLE dump_kadeal ADD INDEX idxSiren(siren);
|
||||
|
||||
SELECT siret, siege, raisonSociale, enseigne, sigle, marques,
|
||||
adr_num, adr_btq, adr_typeVoie, adr_libVoie, adresse1, adresse2, adresse3, adresse4, adr_cp, adr_ville,
|
||||
tel, fax, mail, /*web,*/ NAF, tca, tcaconso, datebilan, eff_entrep, dirigeant1, dirigeant1fct,
|
||||
dirigeant2, dirigeant2fct, activite
|
||||
FROM dump_kadeal e
|
||||
LEFT JOIN bodacc_activite ON e.siren=bodacc_activite.siren;
|
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
DATE=`date '+%Y%m%d'`
|
||||
FILE_CSV="Kadeal_Sed_${DATE}.csv"
|
||||
FILE_ZIP="Kadeal_Sed_${DATE}.bz2"
|
||||
FILE_TMP="Kadeal_Sed_${DATE}.tmp"
|
||||
#mysql -h192.168.3.30 -pscores jo < /var/www/batch/clients/stockKadealExport.sql > /var/www/batch/clients/$FILE_CSV
|
||||
#bzip2 < /var/www/batch/clients/$FILE_CSV > /var/www/batch/clients/$FILE_TMP
|
||||
#zip -jDm /var/www/batch/clients/$FILE_ZIP /var/www/batch/clients/$FILE_CSV
|
||||
#mv /var/www/batch/clients/$FILE_ZIP /var/www/batch/clients/$FILE_TMP
|
||||
ftp -inv ftp.kadeal.com<<ENDFTP
|
||||
user kadeal-sds wlGsNXqttq
|
||||
bin
|
||||
lcd /var/www/batch/clients/
|
||||
cd import
|
||||
put $FILE_ZIP
|
||||
bye
|
||||
ENDFTP
|
||||
#rename $FILE_TMP $FILE_ZIP
|
@ -1,6 +0,0 @@
|
||||
SELECT siret, siege, raisonSociale, enseigne, sigle, marques,
|
||||
adr_num, adr_btq, adr_typeVoie, adr_libVoie, adresse1, adresse2, adresse3, adresse4, adr_cp, adr_ville,
|
||||
tel, fax, mail, /*web,*/ NAF, tca, tcaconso, datebilan, eff_entrep, dirigeant1, dirigeant1fct,
|
||||
dirigeant2, dirigeant2fct, activite
|
||||
FROM dump_kadeal e
|
||||
LEFT JOIN bodacc_activite ON e.siren=bodacc_activite.siren;
|
@ -1,47 +0,0 @@
|
||||
; Informations sur la commune
|
||||
depLu="-{}-1-11-{}-"
|
||||
comLu="-{}-1-12-{}-"
|
||||
popLu="-{}-1-14-{}-"
|
||||
tailleLu="-{}-3-9-{}-"
|
||||
; Ratio Valeurs Brutes
|
||||
R801="-{}-1-27-{}-";Total des produits de fonctionnement=A
|
||||
R802="-{}-1-32-{}-"; Dont impôts locaux
|
||||
R803="-{}-1-38-{}-"; Autres impots & taxes
|
||||
R804="-{}-1-44-{}-"; dotation globale de fonctionnement
|
||||
R805="-{}-1-50-{}-";Total des charges de fonctionnement=B
|
||||
R806="-{}-1-55-{}-"; dont charges de personnel
|
||||
R807="-{}-1-61-{}-"; Achats et charges externes
|
||||
R808="-{}-1-67-{}-"; charges financières
|
||||
R809="-{}-1-73-{}-"; contingents
|
||||
R810="-{}-1-79-{}-"; subventions versées
|
||||
R811="-{}-1-85-{}-";Résultat comptable A-B=R
|
||||
R812="-{}-1-96-{}-";Total des resources d'investissement=C
|
||||
R813="-{}-1-101-{}-"; Dont emprunts bancaires et dettes assimilées
|
||||
R814="-{}-1-107-{}-"; subventions recues
|
||||
R815="-{}-1-113-{}-"; FCTVA
|
||||
R816="-{}-1-73-{}-"; retour des biens affectés ?????? TOUS À "73" LIGNE 3373 ??????????????????????????
|
||||
R817="-{}-1-125-{}-";TOTAL DES EMPLOIS D'INVESTISSEMENT=D
|
||||
R818="-{}-1-130-{}-"; dont dépenses d'équipement
|
||||
R819="-{}-1-136-{}-"; remboursement d'emprunts et dettes
|
||||
R820="-{}-1-73-{}-"; charges a répartir
|
||||
R821="-{}-1-73-{}-"; immobilisations affectées
|
||||
R822="-{}-1-154-{}-";Besoin ou capacité de financement =D-C
|
||||
R823="-{}-1-159-{}-"; en+ solde des opérations pour le compte de tiers
|
||||
R824="-{}-1-164-{}-";'='besoin ou capacité de financement de la section investissement=E
|
||||
R825="-{}-1-44-{}-";Résultat d'ensemble = R=E
|
||||
R826="-{}-1-44-{}-";excédent brut de fonctionnement
|
||||
R827="-{}-1-44-{}-";Capacité d'autofinancement CAF
|
||||
R828="-{}-1-44-{}-";CAF nette du remboursement en capital des emprunts
|
||||
R829="-{}-1-44-{}-";Encours total de la dette au 31/12
|
||||
R830="-{}-1-44-{}-";annuité de la dette
|
||||
R831="-{}-1-44-{}-";FONDS DE ROULEMENT
|
||||
R832="-{}-1-44-{}-";Taxe d'habitation(base)
|
||||
R833="-{}-1-44-{}-";Taxe foncière sur les propriété baties(base)
|
||||
R834="-{}-1-44-{}-";Taxe foncière sur les propriété non baties(base)
|
||||
R835="-{}-1-44-{}-";Cotisation foncière des entreprises
|
||||
R836="-{}-1-44-{}-";Taxe d'habitation(tx & produits)
|
||||
R837="-{}-1-44-{}-";Taxe foncière sur les propriété baties(tx & produits)
|
||||
R838="-{}-1-44-{}-";Taxe foncière sur les propriété non baties(tx & produits)
|
||||
R839="-{}-1-44-{}-";Compensation relai 2010(tx & produits)
|
||||
R840="-{}-1-44-{}-";cotis fonc au profit état 2010(tx & produits)
|
||||
R841="-{}-1-44-{}-";potentiel fiscal
|
@ -1,11 +0,0 @@
|
||||
; Informations sur la commune
|
||||
depLu="-{}-1-11-{}-"
|
||||
comLu="-{}-1-12-{}-"
|
||||
popLu="-{}-1-14-{}-"
|
||||
tailleLu="-{}-3-9-{}-"
|
||||
; Ratio Valeurs Brutes
|
||||
R801="-{}-1-27-{}-"
|
||||
R802="-{}-1-32-{}-"
|
||||
R803="-{}-1-38-{}-"
|
||||
R804="-{}-1-44-{}-";blabla
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,170 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Programme automatique de consolidation des annonces Bodacc.
|
||||
|
||||
Options :
|
||||
-f Récupération des informations dirigeants en IG/FP*
|
||||
-i:XXX Reprendre à la ligne XXX
|
||||
|
||||
(*) Options non encore opérationnelles !
|
||||
";
|
||||
$semiManuel=$sansPropo=$toutes=$index=false;
|
||||
|
||||
$mInsee=new MInsee();
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
if ($_SERVER['argc']==1) $semiManuel=false; // Fonctionnement normal du script, càd : on sirene que en auto
|
||||
else {
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 's':
|
||||
$semiManuel=true;
|
||||
break;
|
||||
case 'p':
|
||||
$sansPropo=true;
|
||||
break;
|
||||
case 'a':
|
||||
$toutes=true;
|
||||
break;
|
||||
case 'i':
|
||||
$index=trim(substr($argv[$i],3));
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . " inconnue !\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT du programme de post traitement des annonces BODACC...".EOL;
|
||||
$iDb=new WDB('jo');
|
||||
$iDbInsee=new WDB('insee');
|
||||
/*
|
||||
$nbPP=$iDbInsee->select('identite', 'SIREN, NOM, CIVILITE, DIR_IDEN, DIR_DATEN, DIR_LIEUN', "(CJ BETWEEN 10 AND 19 OR CJ BETWEEN 1000 AND 1999) AND DIR_IDEN <> '' AND (DIR_DATEN<>0 OR DIR_LIEUN <> '') GROUP BY SIREN",false,MYSQL_ASSOC,true);
|
||||
$dateInsert=date('YmdHis');
|
||||
while ($tab=$iDbInsee->fetch(MYSQL_ASSOC)) {
|
||||
$siren=$tab['SIREN']*1;
|
||||
$nom=$prenom=$naissNom='';
|
||||
if ($tab['CIVILITE']==1) $civ='M';
|
||||
elseif ($tab['CIVILITE']==2) { $civ='MME'; $naissNom=strtr($tab['NOM'],'/*',' '); }
|
||||
else $civ='';
|
||||
|
||||
$tabId=explode(' ', $tab['DIR_IDEN']);
|
||||
foreach ($tabId as $mot) {
|
||||
if (strtoupper($mot)==$mot) {
|
||||
$nom.=' '.$mot;
|
||||
$naissNom=str_ireplace($mot,'',$naissNom);
|
||||
}
|
||||
else {
|
||||
$prenom.=' '.$mot;
|
||||
$naissNom=str_ireplace($mot,'',$naissNom);
|
||||
}
|
||||
}
|
||||
$nom=trim($nom);
|
||||
$prenom=trim($prenom);
|
||||
$naissNom=strtoupper(trim($naissNom));
|
||||
$naissDate=$tab['DIR_DATEN'];
|
||||
$naissLieu=trim($tab['DIR_LIEUN']);
|
||||
|
||||
echo $siren.' '.trim($tab['DIR_IDEN'])."\t:\t$civ Nom='$nom', Prenom='$prenom', Usage='$naissNom' né le $naissDate à $naissLieu\t";
|
||||
//echo "?";
|
||||
//$saisie = trim(strtoupper(fgets(STDIN)));
|
||||
|
||||
//$civ='M', 'MME', 'MLLE')
|
||||
$tabUpdate=array( 'siren'=>$siren,
|
||||
'raisonSociale'=>strtr($tab['NOM'],'/*',' '),
|
||||
'civilite'=>$civ,
|
||||
'nom'=>$nom,
|
||||
'prenom'=>$prenom,
|
||||
'naissance_nom'=>$naissNom,
|
||||
'naissance_date'=>$naissDate,
|
||||
'naissance_lieu'=>$naissLieu,
|
||||
'fonction_code'=>1050,
|
||||
'fonction_lib'=>'Personne physique',
|
||||
'actif'=>1,
|
||||
'dateInsert'=>$dateInsert);
|
||||
if (!$iDb->insert('rncs_dirigeants', $tabUpdate))
|
||||
echo "ERREUR !!!\n";
|
||||
else
|
||||
echo "OK\n";
|
||||
//die();
|
||||
}
|
||||
*/
|
||||
|
||||
$client = new SoapClient(null, array( 'trace' => 1,
|
||||
'soap_version' => SOAP_1_1,
|
||||
'location' => 'http://localhost/ws/',
|
||||
'uri' => 'http://localhost/',
|
||||
'login' => 'ylenaour',
|
||||
'password' => 'bzh4231*'));
|
||||
|
||||
// Faire tourner en auto ce programme pour l'ensemble des annonces Bodacc à compter du 9 juin 2008
|
||||
|
||||
//$nbBod=$iDb->select('bodacc_detail d LEFT JOIN rncs_dirigeants r ON d.siren=r.siren', 'd.siren, Bodacc_Date_Parution, typeEven, d.raisonSociale, dateJugement',"d.siren>1000 AND
|
||||
/*siren between 490000001 AND 500000000 AND */
|
||||
//r.siren IS NULL AND
|
||||
//Bodacc_Date_Parution>='2008-10-08' AND (
|
||||
// typeEven LIKE '%1500%' OR typeEven LIKE '%1501%' OR typeEven LIKE '%1502%' OR typeEven LIKE '%1503%' OR /* CIA */
|
||||
// typeEven LIKE '%1600%' OR typeEven LIKE '%1601%' OR typeEven LIKE '%1610%' OR typeEven LIKE '%1611%' OR /* IG FP */
|
||||
// typeEven LIKE '%2202%' OR typeEven LIKE '%2203%' OR typeEven LIKE '%2204%' or typeEven LIKE '%2210%' /* DISSOLUTION */
|
||||
// )
|
||||
//GROUP BY d.siren
|
||||
//ORDER BY Bodacc_Date_Parution ASC
|
||||
//", true, MYSQL_ASSOC, true);
|
||||
|
||||
$nbBod=$iDb->select('rncs_requetes', 'siren', "siren>1000 AND type='QINF' AND presta=12001 AND strXml NOT LIKE '%Erreur base%'", true, MYSQL_ASSOC, true);
|
||||
|
||||
// 1503 : Cloture de la procedure pour insuffisance d'actif
|
||||
$rec=0;
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbBod dirigeants en IG/FP à mettre à jour...".EOL;
|
||||
while ($tab=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
/*$tab2=file('/mnt/samba/partage/production/igfp.csv');
|
||||
/*shuffle($tab2);
|
||||
file_put_contents('/mnt/samba/partage/production/igfp2.csv',implode('', $tab2),FILE_APPEND);*
|
||||
$nbBod=count($tab2);
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbBod dirigeants en IG/FP à mettre à jour...".EOL;
|
||||
foreach ($tab2 as $tab) {*/
|
||||
|
||||
$rec++;
|
||||
$siren=$tab['siren']*1;
|
||||
/*if ($siren<>417512753) continue;
|
||||
else die('Rec='.$rec."\n");*/
|
||||
if ($rec<=$index) continue;
|
||||
|
||||
$even=@$tab['typeEven'];
|
||||
$rs=@$tab['raisonSociale'];
|
||||
$dateJuge=@$tab['dateJugement'];
|
||||
|
||||
//print_r($tab);
|
||||
$tdeb=microtime(true);
|
||||
$O = $client->getDirigeants($siren, false);
|
||||
$tfin=microtime(true);
|
||||
$duree=$tfin-$tdeb;
|
||||
$dirs=$O['result'];
|
||||
$nbDirs=count($dirs);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - $rec : Siren $siren, $rs, $even le $dateJuge : $nbDirs dirigeants ($duree)".EOL;
|
||||
if ($nbDirs>0) print_r($dirs);
|
||||
if ($duree>1){
|
||||
echo '...'.EOL;
|
||||
//randsleep(7, 21);//,59);
|
||||
//randsleep(21,59);
|
||||
//randsleep(31,190);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - FIN du programme de post traitement des annonces BODACC.".EOL;
|
||||
die();
|
||||
|
||||
?>
|
@ -1,177 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
/**
|
||||
** @todo
|
||||
**
|
||||
**/
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - DEBUT de la consolidation de la base Etablissements".EOL;
|
||||
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'bodacc/classMBodacc.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
include_once(INCLUDE_PATH.'partenaires/classMRncs.php');
|
||||
include_once(FWK_PATH.'mail/sendMail.php');
|
||||
|
||||
$all=true;
|
||||
$joAsso=$joBodacc=$baseInsee=$baseInpi=$reset=$pageRankOnly=$iGreffe=false;
|
||||
// Compteurs
|
||||
$nbInsertAsso=$nbInsertRncs1=$nbInsertRncs2=$nbInsertBod=$nbConjoints=$nbInsertBodNS=$nbInsertGreffes=$nbInsertMarques=$nbUpdateAsso=0;
|
||||
|
||||
$table='etablissements_tmp';
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Consolide la table des dirigeants d'entreprises à partir des dernières mises à jours des différentes sources.
|
||||
Sans aucune options, consolide toutes les sources.
|
||||
|
||||
Options :
|
||||
-n Consolider les infos RNCS (Inpi)
|
||||
-b Consolider le Bodacc
|
||||
-h Consolider le Bodacc en historique
|
||||
";
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
if ($_SERVER['argc']>1)
|
||||
{
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 'b':
|
||||
$all=false;
|
||||
$baseBodacc=true;
|
||||
break;
|
||||
case 'n':
|
||||
$all=false;
|
||||
$baseInpi=true;
|
||||
break;
|
||||
case 'h':
|
||||
$all=false;
|
||||
$baseBodaccHisto=true;
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . " inconnue !\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (file_exists(REP_TEMP.'stockInsee.lock')) {
|
||||
$message='Stock en cours de chargement "'.file_get_contents(REP_TEMP.'stockInsee.lock').'"';
|
||||
sendMail('webmaster@scores-decisions.com', 'ylenaour@scores-decisions.com', 'Consolidation des dirigeants non traitée car trimestriel en cours', $message);
|
||||
die();
|
||||
}
|
||||
|
||||
/** Par défaut, on consolide toutes les sources **/
|
||||
if ($all) {
|
||||
$baseInpi=$baseBodacc=$baseBodaccHisto=true;
|
||||
}
|
||||
|
||||
$iDbSdv1=new WDB('sdv1');
|
||||
$ret = $iDbSdv1->insert('sphinx_idx', array('nom'=>'jo.dirigeants', 'createBegin'=>date('YmdHis')));
|
||||
$consolidationId = null;
|
||||
if (is_int($ret) ) {
|
||||
$consolidationId = $ret;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Sphinx Idx id=".$consolidationId.EOL;
|
||||
|
||||
$iDb=new WDB('jo');
|
||||
echo date ('Y/m/d - H:i:s')." - Création de la nouvelle table dirigeants.".EOL;
|
||||
if (!$iDb->query("DROP TABLE IF EXISTS jo.dirigeants_tmp;"))
|
||||
die($iDb->getLastError());
|
||||
|
||||
if (!$iDb->query("CREATE TABLE jo.dirigeants_tmp (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`source` tinyint(3) unsigned zerofill NOT NULL,
|
||||
`source_id` bigint(20) unsigned NOT NULL,
|
||||
`siren` int(9) unsigned zerofill NOT NULL,
|
||||
`adr_dep` smallint(3) unsigned NOT NULL,
|
||||
`typeDir` enum('PP','PM') NOT NULL,
|
||||
`dirSiren` int(9) unsigned zerofill NOT NULL,
|
||||
`dirRS` varchar( 60 ) NOT NULL,
|
||||
`civilite` enum('M','MME','MLLE') DEFAULT NULL,
|
||||
`nom` char(60) NOT NULL,
|
||||
`prenom` char(40) NOT NULL,
|
||||
`naissance_nom` char(60) NOT NULL,
|
||||
`naissance_date` date NOT NULL,
|
||||
`naissance_lieu` char(35) NOT NULL,
|
||||
`fonction_code` smallint(4) unsigned zerofill NOT NULL,
|
||||
`actif` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `source` (`source`,`source_id`),
|
||||
UNIQUE KEY `idxUnique` (`siren`,`typeDir`,`dirSiren`,`dirRS`,`nom`,`prenom`,`naissance_nom`,`naissance_date`,`naissance_lieu`,`fonction_code`),
|
||||
KEY `idxSiren` (`siren`),
|
||||
KEY `idxDirSiren` (`dirSiren`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Index des Dirigeants';", true))
|
||||
die($iDb->getLastError());
|
||||
|
||||
$strMailInfo=date ('Y/m/d - H:i:s')." - Consolidation des dirigeants.".EOL;
|
||||
if ($baseInpi) {
|
||||
echo date ('Y/m/d - H:i:s')." - Mise à jour de la nouvelle table dirigeants depuis le RNCS.".EOL;
|
||||
|
||||
$retTmp=$iDb->select('jo.rncs_dirigeants', 'COUNT(*) AS nbEtab', '1', false,MYSQL_ASSOC);
|
||||
$nbEtab=$retTmp[0]['nbEtab'];
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbEtab dirigeants à consolider depuis le RNCS...".EOL;
|
||||
|
||||
if(!$iDb->query("INSERT IGNORE INTO jo.dirigeants_tmp SELECT 0 AS id, 5 AS source, id AS source_id, siren, adr_dep,
|
||||
typeDir, dirSiren, dirRS, civilite, nom, prenom, naissance_nom, naissance_date, naissance_lieu,
|
||||
fonction_code, actif%10 as actif
|
||||
FROM jo.rncs_dirigeants"))
|
||||
die($iDb->getLastError());
|
||||
|
||||
$retTmp=$iDb->select('jo.dirigeants_tmp', 'COUNT(*) AS nbEtab', '1', false,MYSQL_ASSOC);
|
||||
$nbEtab=$retTmp[0]['nbEtab'];
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbEtab dirigeants RNCS consolidés.".EOL;
|
||||
$strMailInfo.=date ('Y/m/d - H:i:s')." - Il y a $nbEtab dirigeants RNCS consolidés.".EOL;
|
||||
}
|
||||
|
||||
if ($baseBodacc) {
|
||||
$retTmp=$iDb->select('jo.bodacc_dirigeants', 'COUNT(*) AS nbEtab', '1', false,MYSQL_ASSOC);
|
||||
$nbEtab=$retTmp[0]['nbEtab'];
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbEtab dirigeants à consolider depuis le Bodacc...".EOL;
|
||||
|
||||
if(!$iDb->query("INSERT IGNORE INTO dirigeants_tmp
|
||||
SELECT NULL AS id, 1 AS source, id AS source_id, siren, NULL AS dep, IF(prenom<>'','PP','PM') AS typeDir, 0 AS dirSiren, rs AS dirRS, NULL AS civilite, nom, prenom, nomUsage AS naissance_nom, 0 AS naissance_date, NULL AS naissance_lieu, fonction AS fonction_code, IF(depart=1,0,1) AS actif
|
||||
FROM bodacc_dirigeants;"))
|
||||
die($iDb->getLastError());
|
||||
|
||||
$retTmp=$iDb->select('jo.dirigeants_tmp', 'COUNT(*) AS nbEtab', 'source=1', false,MYSQL_ASSOC);
|
||||
$nbEtab=$retTmp[0]['nbEtab'];
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbEtab dirigeants BODACC consolidés.".EOL;
|
||||
$strMailInfo.=date ('Y/m/d - H:i:s')." - Il y a $nbEtab dirigeants BODACC consolidés.".EOL;
|
||||
}
|
||||
|
||||
if ($baseBodaccHisto) {
|
||||
$retTmp=$iDb->select('jo.bodacc_dirigeants_histo', 'COUNT(*) AS nbEtab', '1', false,MYSQL_ASSOC);
|
||||
$nbEtab=$retTmp[0]['nbEtab'];
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbEtab dirigeants à consolider depuis le Bodacc Histo...".EOL;
|
||||
|
||||
if(!$iDb->query("INSERT IGNORE INTO dirigeants_tmp
|
||||
SELECT NULL AS id, 6 AS source, id AS source_id, siren, NULL AS dep, IF(prenom<>'','PP','PM') AS typeDir, 0 AS dirSiren, rs AS dirRS, NULL AS civilite, nom, prenom, nomUsage AS naissance_nom, 0 AS naissance_date, NULL AS naissance_lieu, fonction AS fonction_code, IF(depart=1,0,1) AS actif
|
||||
FROM bodacc_dirigeants_histo;"))
|
||||
die($iDb->getLastError());
|
||||
|
||||
$retTmp=$iDb->select('jo.dirigeants_tmp', 'COUNT(*) AS nbEtab', 'source=6', false,MYSQL_ASSOC);
|
||||
$nbEtab=$retTmp[0]['nbEtab'];
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbEtab dirigeants BODACC Histo consolidés.".EOL;
|
||||
$strMailInfo.=date ('Y/m/d - H:i:s')." - Il y a $nbEtab dirigeants BODACC Histo consolidés.".EOL;
|
||||
}
|
||||
|
||||
$iDb->query("ALTER TABLE jo.dirigeants_tmp PACK_KEYS=1;");
|
||||
echo date ('Y/m/d - H:i:s')." - Commpression des Index de la table OK.".EOL;
|
||||
|
||||
if ( $consolidationId !== null ) {
|
||||
$ret = $iDbSdv1->update('sphinx_idx', array('createEnd'=>date('YmdHis')), "id=$consolidationId");
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - FIN de la consolidation de la base Dirigeants".EOL;
|
||||
$strMailInfo.=date ('Y/m/d - H:i:s')." - FIN de la consolidation de la base Dirigeants".EOL;
|
||||
|
||||
sendMail('production@scores-decisions.com', 'support@scores-decisions.com', 'Consolidation des dirigeants', $strMailInfo);
|
||||
die();
|
||||
?>
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +0,0 @@
|
||||
#VALEUR=$(/var/www/batch/consolideEtab.php)
|
||||
#echo ${VALEUR}
|
||||
#echo $?
|
||||
/var/www/batch/consolideEtab.php
|
||||
searchd
|
||||
indexer --all --rotate
|
@ -1,775 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
/**
|
||||
** @todo
|
||||
**
|
||||
**/
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - DEBUT de la consolidation de la base Etablissements".EOL;
|
||||
|
||||
include_once(FWK_PATH.'common/chiffres.php');
|
||||
include_once(FWK_PATH.'common/dates.php');
|
||||
include_once(INCLUDE_PATH.'bodacc/classMBodacc.php');
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
|
||||
$all=true;
|
||||
$joAsso=$joBodacc=$baseInsee=$reset=$pageRankOnly=$iGreffe=false;
|
||||
// Compteurs
|
||||
$nbInsertAsso=$nbInsertBod=$nbInsertBodNS=$nbInsertGreffes=$nbInsertMarques=$nbUpdateAsso=0;
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Consolide la table des établissement et des entreprises à partir des dernières mises à jours des différentes sources.
|
||||
Sans aucune options, consolide toutes les sources dernièrement mises à jour.
|
||||
|
||||
Options :
|
||||
-a Consolider seulement le JO association.
|
||||
-b Consolider seulement le Bodacc
|
||||
-i Consolider les infos INSEE
|
||||
-g Consolider les entreprises en provenance des Greffes
|
||||
-m Mettre à jour les données sur les marques
|
||||
-r Reconstruire complètement la base
|
||||
-p traiter uniquement la construction du 'page rank'
|
||||
";
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
if ($_SERVER['argc']>1)
|
||||
{
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 'a':
|
||||
$all=false;
|
||||
$joAsso=true;
|
||||
break;
|
||||
case 'g':
|
||||
$all=false;
|
||||
$iGreffe=true;
|
||||
break;
|
||||
case 'm':
|
||||
$all=false;
|
||||
$iMarques=true;
|
||||
break;
|
||||
case 'b':
|
||||
$all=false;
|
||||
$joBodacc=true;
|
||||
break;
|
||||
case 'i':
|
||||
$all=false;
|
||||
$baseInsee=true;
|
||||
break;
|
||||
case 'r':
|
||||
$reset=true;
|
||||
break;
|
||||
case 'p':
|
||||
$pageRankOnly=true;
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . " inconnue !\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Par défaut, on consolide toutes les sources **/
|
||||
if ($all) {
|
||||
$joAsso=$joBodacc=$baseInsee=$iGreffe=$iMarques=true;
|
||||
}
|
||||
|
||||
$iDb=new WDB('jo');
|
||||
|
||||
if (!$pageRankOnly) {
|
||||
|
||||
$iDb2=new WDB('jo');
|
||||
$iDbInsee=new WDB('insee');
|
||||
|
||||
$iInsee=new MInsee();
|
||||
//if (0==1) {
|
||||
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Création de la nouvelle table établissements.".EOL;
|
||||
if (!$iDb->query("DROP TABLE IF EXISTS jo.etablissements_tmp;"))
|
||||
die($iDb->getLastError());
|
||||
|
||||
if (!$iDb->query("CREATE TABLE jo.etablissements_tmp (
|
||||
`id` bigint(20) NOT NULL auto_increment,
|
||||
`source` tinyint(3) unsigned zerofill NOT NULL,
|
||||
`source_id` bigint(20) unsigned NOT NULL,
|
||||
`triCode` varchar(6) NOT NULL,
|
||||
`autre_id` varchar(15) NOT NULL,
|
||||
`siren` int(9) unsigned zerofill NOT NULL,
|
||||
`nic` mediumint(5) unsigned zerofill NOT NULL,
|
||||
`actif` tinyint(1) NOT NULL,
|
||||
`siege` tinyint(1) unsigned NOT NULL,
|
||||
`raisonSociale` varchar(80) NOT NULL,
|
||||
`enseigne` varchar(40) NOT NULL,
|
||||
`sigle` varchar(20) NOT NULL,
|
||||
`identite_pre` varchar(255) NOT NULL,
|
||||
`marques` varchar(255) NOT NULL,
|
||||
`adr_num` smallint(4) unsigned zerofill NOT NULL,
|
||||
`adr_btq` char(1) NOT NULL,
|
||||
`adr_typeVoie` char(4) NOT NULL,
|
||||
`adr_libVoie` varchar(32) NOT NULL,
|
||||
`adr_comp` varchar(38) NOT NULL,
|
||||
`adr_cp` mediumint(5) unsigned zerofill NOT NULL,
|
||||
`adr_ville` varchar(32) NOT NULL,
|
||||
`adr_dep` smallint(3) unsigned zerofill NOT NULL,
|
||||
`tel` bigint(8) unsigned zerofill NOT NULL,
|
||||
`fax` bigint(8) unsigned zerofill NOT NULL,
|
||||
`cj` smallint(4) unsigned zerofill NOT NULL,
|
||||
`ape_etab` char(5) NOT NULL,
|
||||
`ape_entrep` char(5) NOT NULL,
|
||||
`rang` smallint unsigned zerofill NOT NULL,
|
||||
`dateInsert` datetime NOT NULL,
|
||||
`dateUpdate` timestamp NOT NULL default '0000-00-00 00:00:00' on update CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `source` (`source`,`source_id`),
|
||||
KEY `tel` (`tel`),
|
||||
KEY `fax` (`fax`),
|
||||
KEY `siren` (`siren`,`nic`),
|
||||
KEY `autre_id` (`autre_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;", true))
|
||||
die($iDb->getLastError());
|
||||
|
||||
if ($baseInsee) {
|
||||
/*$dateInsert=date('YmdHis');
|
||||
if (!$reset) {
|
||||
$tabTmp=$iDb->select('etablissements_tmp', 'max(source_id)', 'source=2', true);
|
||||
$last_id=$tabTmp[0][0]*1;
|
||||
} else {
|
||||
$last_id=0;
|
||||
$iDb->query('DELETE FROM etablissements_tmp WHERE source=2', true);
|
||||
}*/
|
||||
echo date ('Y/m/d - H:i:s')." - Mise à jour de la nouvelle table établissements depuis l'Insee.".EOL;
|
||||
|
||||
$retTmp=$iDb->select('insee.identite', 'COUNT(*) AS nbEtab', '1', false,MYSQL_ASSOC);
|
||||
$nbEtab=$retTmp[0]['nbEtab'];
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbEtab établissements à consolider depuis l'Insee...".EOL;
|
||||
|
||||
$iDb->query("INSERT INTO jo.etablissements_tmp SELECT 0 AS id, '2' AS source, id AS source_id, '' AS triCode, NUMRC AS autre_id, SIREN AS siren, NIC AS nic, ACTIF%10 as actif,
|
||||
SIEGE as siege, NOM as raisonSociale, ENSEIGNE AS enseigne, SIGLE AS sigle, CONCAT(IDENTITE_PRE, ' ',NOM2) AS identite_pre, '' AS marques, ADR_NUMVOIE as adr_num,
|
||||
ADR_BTQ as adr_btq, ADR_TYPVOIE as adr_typevoie, ADR_LIBVOIE as adr_libvoie, ADR_COMP as adr_comp,
|
||||
ADR_CP as adr_cp, ADR_LIBCOM as adr_ville, IF(ADR_DEP=97 OR ADR_DEP=98, SUBSTRING(ADR_CP,1,3), ADR_DEP) AS adr_dep,
|
||||
TEL as tel, FAX as fax, CJ as cj, APE_ETAB as ape_etab, APE_ENT as apen_entrep, 0 as rank, DATE_MAJ as dateInsert,
|
||||
0 as dateUpdate FROM insee.identite");
|
||||
|
||||
$retTmp=$iDb->select('jo.etablissements_tmp', 'COUNT(*) AS nbEtab', '1', false,MYSQL_ASSOC);
|
||||
$nbEtab=$retTmp[0]['nbEtab'];
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbEtab établissements Insee consolidés.".EOL;
|
||||
|
||||
/* $hier=date('YmdHis');
|
||||
$nbAsso=$iDbInsee->select('identite', 'id, SIREN, NIC, NUMRC, NOM, NOM2, ENSEIGNE, SIGLE, SIEGE, ADR_NUMVOIE, ADR_BTQ, ADR_TYPVOIE, ADR_LIBVOIE, ADR_COMP, ADR_CP, ADR_LIBCOM, ADR_DEP, TEL, FAX, CJ, APE_ETAB, APE_ENT', "id>$last_id OR dateUpdate>$hier", false, MYSQL_ASSOC, true);
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbAsso fiches INSEE à consolider depuis $last_id...".EOL;
|
||||
|
||||
while ($tabSiren=$iDbInsee->fetch(MYSQL_ASSOC)) {
|
||||
$tabEtab=array( 'source'=>2,
|
||||
'source_id'=>$tabSiren['id'],
|
||||
'siren'=>$tabSiren['SIREN'],
|
||||
'nic'=>$tabSiren['NIC'],
|
||||
'triCode'=>'',
|
||||
'autre_id'=>$tabSiren['NUMRC'],
|
||||
'siege'=>$tabSiren['SIEGE'],
|
||||
'raisonSociale'=>$tabSiren['NOM'].$tabSiren['NOM2'],
|
||||
'enseigne'=>$tabSiren['ENSEIGNE'],
|
||||
'sigle'=>$tabSiren['SIGLE'],
|
||||
'adr_num'=>$tabSiren['ADR_NUMVOIE'],
|
||||
'adr_btq'=>$tabSiren['ADR_BTQ'],
|
||||
'adr_typeVoie'=>$tabSiren['ADR_TYPVOIE'],
|
||||
'adr_libVoie'=>$tabSiren['ADR_LIBVOIE'],
|
||||
'adr_comp'=>$tabSiren['ADR_COMP'],
|
||||
'adr_cp'=>$tabSiren['ADR_CP'],
|
||||
'adr_ville'=>$tabSiren['ADR_LIBCOM'],
|
||||
'adr_dep'=>$tabSiren['ADR_DEP'],
|
||||
'tel'=>$tabSiren['TEL'],
|
||||
'fax'=>$tabSiren['FAX'],
|
||||
'cj'=>$tabSiren['CJ'],
|
||||
'ape_etab'=>$tabSiren['APE_ETAB'],
|
||||
'ape_entrep'=>$tabSiren['APE_ENT'],
|
||||
'dateInsert'=>$dateInsert,
|
||||
|
||||
);
|
||||
if (!$iDb->insert('etablissements',$tabEtab))
|
||||
$zerqzfqsd=0;
|
||||
// $iDb->update('etablissements',$tabEtab);
|
||||
}*/
|
||||
}
|
||||
|
||||
if ($joBodacc) {
|
||||
echo date ('Y/m/d - H:i:s')." - Mise à jour de la nouvelle table établissements depuis le Bodacc.".EOL;
|
||||
|
||||
$dateInsert=date('YmdHis');
|
||||
/* if (!$reset) {
|
||||
$tabTmp=$iDb->select('etablissements', 'max(source_id)', 'source=1', true);
|
||||
$last_id=$tabTmp[0][0]*1;
|
||||
} else*/ $last_id=0;
|
||||
$nbBodS=$iDb->select('bodacc_detail d LEFT JOIN etablissements_tmp e ON d.siren = e.siren', 'd.id, d.typeEven, d.siren, d.nic, d.Bodacc_Date_Parution, d.Tribunal_Code, d.Rubrique_Bodacc, d.Rubrique, d.typeAnnonce, d.RC, d.raisonSociale, d.nomCommercial, d.sigle, d.enseigne, d.FJ, d.Capital, d.CapitalDev, d.adrSiegeNum, d.adrSiegeIndRep, d.adrSiegeTypVoie, d.adrSiegeLibVoie, d.adrSiegeComp1, d.adrSiegeComp2, d.codePostalSiege, d.villeSiege, d.adrNum, d.adrIndRep, d.adrTypVoie, d.adrLibVoie, d.adrComp1, d.adrComp2, d.codePostal, d.ville, d.activite', "d.siren>1000 AND e.siren IS NULL", false,MYSQL_ASSOC,true);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbBodS annonces BODACC dont le siren est absent de l'insee à consolider depuis $last_id...".EOL;
|
||||
|
||||
while ($tabBodacc=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
// Si le siren n'existe pas dans la base etablissement, on l'ajoute
|
||||
$cj=$naf='';
|
||||
$dep=floor($tabBodacc['codePostalSiege']/1000);
|
||||
if ($dep>96) $dep=floor($tabBodacc['codePostalSiege']/100);
|
||||
|
||||
$actif=1;
|
||||
$tabEven=explode(';',$tabBodacc['typeEven']);
|
||||
foreach ($tabEven as $even) {
|
||||
$typeEven=$even*1;
|
||||
if ($typeEven>=6000 && $typeEven<=6700) $actif=0;
|
||||
elseif ($typeEven==2000 || $typeEven==2206) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven==2720) $actif=0;
|
||||
}
|
||||
|
||||
if (trim(@$tabBodacc['adresseSiege'])<>'') {
|
||||
$siege=1;
|
||||
$adr_num=$tabBodacc['adrSiegeNum'];
|
||||
$adr_btq=$tabBodacc['adrSiegeIndRep'];
|
||||
$adr_typeVoie=$tabBodacc['adrSiegeTypVoie'];
|
||||
$adr_libVoie=$tabBodacc['adrSiegeLibVoie'];
|
||||
$adr_comp=trim(strtoupper($tabBodacc['adrSiegeComp1'].' '.$tabBodacc['adrSiegeComp2']));
|
||||
$adr_cp=$tabBodacc['codePostalSiege'];
|
||||
$adr_ville=strtoupper(trim(strtr($tabBodacc['villeSiege'], '{.!}',' ')));
|
||||
} else {
|
||||
$siege=0;
|
||||
$adr_num=$tabBodacc['adrNum'];
|
||||
$adr_btq=$tabBodacc['adrIndRep'];
|
||||
$adr_typeVoie=$tabBodacc['adrTypVoie'];
|
||||
$adr_libVoie=$tabBodacc['adrLibVoie'];
|
||||
$adr_comp=trim(strtoupper($tabBodacc['adrComp1'].' '.$tabBodacc['adrComp2']));
|
||||
$adr_cp=$tabBodacc['codePostal'];
|
||||
$adr_ville=strtoupper(trim(strtr($tabBodacc['ville'], '{.!}',' ')));
|
||||
}
|
||||
|
||||
$matches1=$matches2=array();
|
||||
$raisonSociale=trim($tabBodacc['raisonSociale']);
|
||||
if (preg_match("/ Nom d'usage (.*)/i", $raisonSociale, $matches1))
|
||||
$raisonSociale=trim(preg_replace("/ Nom d'usage .*/i", '', $raisonSociale));
|
||||
if (preg_match("/ Pseudonyme (.*)/i", $raisonSociale, $matches2))
|
||||
$raisonSociale=trim(preg_replace("/ Pseudonyme .*/i", '', $raisonSociale));
|
||||
|
||||
if (preg_match("/^S E L A R L /i", $raisonSociale) || preg_match("/ S E L A R L$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S E L A R L','SELARL',$raisonSociale));
|
||||
elseif (preg_match("/^S A R L /i", $raisonSociale) || preg_match("/ S A R L$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S A R L','SARL',$raisonSociale));
|
||||
elseif (preg_match("/^S A S /i", $raisonSociale) || preg_match("/ S A S$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S A S','SAS',$raisonSociale));
|
||||
elseif (preg_match("/^S C I /i", $raisonSociale) || preg_match("/ S C I$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S A S','SAS',$raisonSociale));
|
||||
elseif (preg_match("/^S C P /i", $raisonSociale) || preg_match("/ S C P$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S C P','SCP',$raisonSociale));
|
||||
elseif (preg_match("/^S N C /i", $raisonSociale) || preg_match("/ S N C$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S N C','SNC',$raisonSociale));
|
||||
elseif (preg_match("/^S A /i", $raisonSociale) || preg_match("/ S A$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S A','SA',$raisonSociale));
|
||||
elseif (preg_match("/^S C E A /i", $raisonSociale) || preg_match("/ S C E A$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S C E A','SCEA',$raisonSociale));
|
||||
elseif (preg_match("/^S C A /i", $raisonSociale) || preg_match("/ S C A$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S C A','SCA',$raisonSociale));
|
||||
elseif (preg_match("/^S C /i", $raisonSociale) || preg_match("/ S C$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S C','SC',$raisonSociale));
|
||||
elseif (preg_match("/^E A R L /i", $raisonSociale) || preg_match("/ E A R L$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('E A R L','EARL',$raisonSociale));
|
||||
elseif (preg_match("/^E A R /i", $raisonSociale) || preg_match("/ E A R$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('E A R','EAR',$raisonSociale));
|
||||
elseif (preg_match("/^E A /i", $raisonSociale) || preg_match("/ E A$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('E A','EA',$raisonSociale));
|
||||
elseif (preg_match("/^E U R L /i", $raisonSociale) || preg_match("/ E U R L$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('E U R L','EURL',$raisonSociale));
|
||||
|
||||
$raisonSociale=trim(preg_replace("/ +/",' ', strtr(' '.strtoupper($raisonSociale).' ', array(' DENOMINATION '=>' ', ' SUCCESSION '=>' '))));
|
||||
|
||||
$identitePre=trim(@$matches1[1].' '.@$matches1[2]);
|
||||
|
||||
$tabEtab=array( 'source'=>1,
|
||||
'source_id'=>$tabBodacc['id'],
|
||||
'siren'=>$tabBodacc['siren'],
|
||||
'nic'=>$tabBodacc['nic'],
|
||||
'triCode'=>$tabBodacc['Tribunal_Code'],
|
||||
'autre_id'=>$tabBodacc['RC'],
|
||||
'siege'=>$siege,
|
||||
'actif'=>$actif,
|
||||
'raisonSociale'=>$raisonSociale,
|
||||
'enseigne'=>$tabBodacc['enseigne'],
|
||||
'sigle'=>$tabBodacc['sigle'],
|
||||
'identite_pre'=>$identitePre,
|
||||
'adr_num'=>$adr_num,
|
||||
'adr_btq'=>$adr_btq,
|
||||
'adr_typeVoie'=>$adr_typeVoie,
|
||||
'adr_libVoie'=>$adr_libVoie,
|
||||
'adr_comp'=>$adr_comp,
|
||||
'adr_cp'=>$adr_cp,
|
||||
'adr_ville'=>$adr_ville,
|
||||
'adr_dep'=>substr($adr_cp,0,2),
|
||||
'tel'=>'',
|
||||
'fax'=>'',
|
||||
'cj'=>$cj,
|
||||
'ape_etab'=>$naf,
|
||||
'ape_entrep'=>$naf,
|
||||
'dateInsert'=>$dateInsert,
|
||||
);
|
||||
|
||||
$ret=$iDb->insert('etablissements_tmp',$tabEtab);
|
||||
if (!$ret && mysql_errno()<>1062) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR ". mysql_errno()." : Insertion des informations BODACC sur le siren ". $tabBodacc['siren'] .' : '. $tabBodacc['raisonSociale'] .' ('. $tabBodacc['id'].') !'.EOL;
|
||||
echo date ('Y/m/d - H:i:s'). mysql_error();
|
||||
} else
|
||||
$nbInsertBod++;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbInsertBod établissements Bodacc consolidés.".EOL;
|
||||
|
||||
$dateInsert=date('YmdHis');
|
||||
/* if (!$reset) {
|
||||
$tabTmp=$iDb->select('etablissements', 'max(source_id)', 'source=1', true);
|
||||
$last_id=$tabTmp[0][0]*1;
|
||||
} else*/ $last_id=0;
|
||||
$nbBodS=$iDb->select('bodacc_detail d', 'd.id, d.typeEven, d.siren, d.sirenValide, d.nic, d.Bodacc_Date_Parution, d.Tribunal_Code, d.Rubrique_Bodacc, d.Rubrique, d.typeAnnonce, d.RC, d.raisonSociale, d.nomCommercial, d.sigle, d.enseigne, d.FJ, d.Capital, d.CapitalDev, d.adrSiegeNum, d.adrSiegeIndRep, d.adrSiegeTypVoie, d.adrSiegeLibVoie, d.adrSiegeComp1, d.adrSiegeComp2, d.codePostalSiege, d.villeSiege, d.adrNum, d.adrIndRep, d.adrTypVoie, d.adrLibVoie, d.adrComp1, d.adrComp2, d.codePostal, d.ville, d.activite', "d.siren<=1000", false,MYSQL_ASSOC,true);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbBodS annonces BODACC non sirenées à consolider depuis $last_id...".EOL;
|
||||
|
||||
while ($tabBodacc=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
//if ($tabBodacc['siren']<>0)
|
||||
// $ret=$iDb2->select('etablissements_tmp', 'count(*)', 'SIREN='.$tabBodacc['siren']);
|
||||
|
||||
// Si le siren n'existe pas dans la base etablissement, on l'ajoute
|
||||
$cj=$naf='';
|
||||
$dep=floor($tabBodacc['codePostalSiege']/1000);
|
||||
if ($dep>96) $dep=floor($tabBodacc['codePostalSiege']/100);
|
||||
|
||||
$actif=1;
|
||||
$tabEven=explode(';',$tabBodacc['typeEven']);
|
||||
foreach ($tabEven as $even) {
|
||||
$typeEven=$even*1;
|
||||
if ($typeEven>=6000 && $typeEven<=6700) $actif=0;
|
||||
elseif ($typeEven==2000 || $typeEven==2206) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven==2720) $actif=0;
|
||||
}
|
||||
|
||||
if (@$tabBodacc['adresseSiege']<>'') {
|
||||
$siege=1;
|
||||
$adr_num=$tabBodacc['adrSiegeNum'];
|
||||
$adr_btq=$tabBodacc['adrSiegeIndRep'];
|
||||
$adr_typeVoie=$tabBodacc['adrSiegeTypVoie'];
|
||||
$adr_libVoie=$tabBodacc['adrSiegeLibVoie'];
|
||||
$adr_comp=trim(strtoupper($tabBodacc['adrSiegeComp1'].' '.$tabBodacc['adrSiegeComp2']));
|
||||
$adr_cp=$tabBodacc['codePostalSiege'];
|
||||
$adr_ville=strtoupper(trim(strtr($tabBodacc['villeSiege'], '{.!}',' ')));
|
||||
} else {
|
||||
$siege=0;
|
||||
$adr_num=$tabBodacc['adrNum'];
|
||||
$adr_btq=$tabBodacc['adrIndRep'];
|
||||
$adr_typeVoie=$tabBodacc['adrTypVoie'];
|
||||
$adr_libVoie=$tabBodacc['adrLibVoie'];
|
||||
$adr_comp=trim(strtoupper($tabBodacc['adrComp1'].' '.$tabBodacc['adrComp2']));
|
||||
$adr_cp=$tabBodacc['codePostal'];
|
||||
$adr_ville=strtoupper(trim(strtr($tabBodacc['ville'], '{.!}',' ')));
|
||||
}
|
||||
/** Suppression des Noms d'usage et Pseudonymes dans la raison sociale **/
|
||||
$matches1=$matches2=array();
|
||||
$raisonSociale=trim($tabBodacc['raisonSociale']);
|
||||
if (preg_match("/ Nom d'usage (.*)/i", $raisonSociale, $matches1))
|
||||
$raisonSociale=trim(preg_replace("/ Nom d'usage .*/i", '', $raisonSociale));
|
||||
if (preg_match("/ Pseudonyme (.*)/i", $raisonSociale, $matches2))
|
||||
$raisonSociale=trim(preg_replace("/ Pseudonyme .*/i", '', $raisonSociale));
|
||||
|
||||
if (preg_match("/^S E L A R L /i", $raisonSociale) || preg_match("/ S E L A R L$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S E L A R L','SELARL',$raisonSociale));
|
||||
elseif (preg_match("/^S A R L /i", $raisonSociale) || preg_match("/ S A R L$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S A R L','SARL',$raisonSociale));
|
||||
elseif (preg_match("/^S A S /i", $raisonSociale) || preg_match("/ S A S$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S A S','SAS',$raisonSociale));
|
||||
elseif (preg_match("/^S C I /i", $raisonSociale) || preg_match("/ S C I$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S A S','SAS',$raisonSociale));
|
||||
elseif (preg_match("/^S C P /i", $raisonSociale) || preg_match("/ S C P$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S C P','SCP',$raisonSociale));
|
||||
elseif (preg_match("/^S N C /i", $raisonSociale) || preg_match("/ S N C$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S N C','SNC',$raisonSociale));
|
||||
elseif (preg_match("/^S A /i", $raisonSociale) || preg_match("/ S A$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S A','SA',$raisonSociale));
|
||||
elseif (preg_match("/^S C E A /i", $raisonSociale) || preg_match("/ S C E A$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S C E A','SCEA',$raisonSociale));
|
||||
elseif (preg_match("/^S C A /i", $raisonSociale) || preg_match("/ S C A$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S C A','SCA',$raisonSociale));
|
||||
elseif (preg_match("/^S C /i", $raisonSociale) || preg_match("/ S C$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('S C','SC',$raisonSociale));
|
||||
elseif (preg_match("/^E A R L /i", $raisonSociale) || preg_match("/ E A R L$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('E A R L','EARL',$raisonSociale));
|
||||
elseif (preg_match("/^E A R /i", $raisonSociale) || preg_match("/ E A R$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('E A R','EAR',$raisonSociale));
|
||||
elseif (preg_match("/^E A /i", $raisonSociale) || preg_match("/ E A$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('E A','EA',$raisonSociale));
|
||||
elseif (preg_match("/^E U R L /i", $raisonSociale) || preg_match("/ E U R L$/i", $raisonSociale))
|
||||
$raisonSociale=trim(str_replace('E U R L','EURL',$raisonSociale));
|
||||
|
||||
$raisonSociale=trim(preg_replace("/ +/",' ', strtr(' '.strtoupper($raisonSociale).' ', array(' DENOMINATION '=>' ', ' SUCCESSION '=>' '))));
|
||||
|
||||
$identitePre=trim(@$matches1[1].' '.@$matches1[2]);
|
||||
|
||||
$tabEtab=array( 'source'=>1,
|
||||
'source_id'=>$tabBodacc['id'],
|
||||
'siren'=>$tabBodacc['siren'],
|
||||
'nic'=>$tabBodacc['nic'],
|
||||
'triCode'=>$tabBodacc['Tribunal_Code'],
|
||||
'autre_id'=>$tabBodacc['RC'],
|
||||
'siege'=>$siege,
|
||||
'actif'=>$actif,
|
||||
'raisonSociale'=>$raisonSociale,
|
||||
'enseigne'=>$tabBodacc['enseigne'],
|
||||
'sigle'=>$tabBodacc['sigle'],
|
||||
'identite_pre'=>$identitePre,
|
||||
'adr_num'=>$adr_num,
|
||||
'adr_btq'=>$adr_btq,
|
||||
'adr_typeVoie'=>$adr_typeVoie,
|
||||
'adr_libVoie'=>$adr_libVoie,
|
||||
'adr_comp'=>$adr_comp,
|
||||
'adr_cp'=>$adr_cp,
|
||||
'adr_ville'=>$adr_ville,
|
||||
'adr_dep'=>substr($adr_cp,0,2),
|
||||
'tel'=>'',
|
||||
'fax'=>'',
|
||||
'cj'=>$cj,
|
||||
'ape_etab'=>$naf,
|
||||
'ape_entrep'=>$naf,
|
||||
'dateInsert'=>$dateInsert,
|
||||
);
|
||||
|
||||
$ret=$iDb->insert('etablissements_tmp',$tabEtab);
|
||||
if (!$ret && mysql_errno()<>1062) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR ". mysql_errno()." : Insertion des informations BODACC sur le siren ". $tabBodacc['siren'] .' : '. $tabBodacc['raisonSociale'] .' ('. $tabBodacc['id'].') !'.EOL;
|
||||
echo date ('Y/m/d - H:i:s'). mysql_error();
|
||||
} else
|
||||
$nbInsertBodNS++;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbInsertBodNS établissements Bodacc NS consolidés.".EOL;
|
||||
|
||||
/*
|
||||
$dateInsert=date('YmdHis');
|
||||
if (!$reset) {
|
||||
$tabTmp=$iDb->select('etablissements', 'max(source_id)', 'source=1 AND siege=0', true);
|
||||
$last_id=$tabTmp[0][0]*1;
|
||||
} else $last_id=0;
|
||||
$nbBodE=$iDb->select('bodacc_detail', 'id, typeEven, siren, nic, Bodacc_Date_Parution, Tribunal_Code, Rubrique_Bodacc, Rubrique, typeAnnonce, RC, raisonSociale, nomCommercial, enseigne, FJ, Capital, CapitalDev, adrNum, adrIndRep, adrTypVoie, adrLibVoie, adrComp1, adrComp2, codePostal, ville, activite', "adresse<>'' AND id>$last_id", false,MYSQL_ASSOC,true);
|
||||
//
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbBodE annonces BODACC établissement à consolider depuis $last_id...".EOL;
|
||||
|
||||
while ($tabBodacc=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
if ($tabBodacc['siren']<>0)
|
||||
$ret=$iDb2->select('etablissements', 'count(*)', 'SIREN='.$tabBodacc['siren']);
|
||||
|
||||
if ($ret[0][0]==0 || $tabBodacc['siren']==0) {
|
||||
// Si le siren n'existe pas dans la base etablissement, on l'ajoute
|
||||
$cj=$naf='';
|
||||
$dep=floor($tabBodacc['codePostal']/1000);
|
||||
if ($dep>96) $dep=floor($tabBodacc['codePostal']/100);
|
||||
|
||||
$actif=1;
|
||||
$tabEven=explode(';',$tabBodacc['typeEven']);
|
||||
foreach ($tabEven as $even) {
|
||||
$typeEven=$even*1;
|
||||
if ($typeEven>=6000 && $typeEven<=6700) $actif=0;
|
||||
elseif ($typeEven==2000 || $typeEven==2206) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven>=2200 && $typeEven<=2204) $actif=0;
|
||||
elseif ($typeEven==2720) $actif=0;
|
||||
}
|
||||
|
||||
$tabEtab=array( 'source'=>1,
|
||||
'source_id'=>$tabBodacc['id'],
|
||||
'siren'=>$tabBodacc['siren'],
|
||||
'nic'=>$tabBodacc['nic'],
|
||||
'triCode'=>$tabBodacc['Tribunal_Code'],
|
||||
'autre_id'=>$tabBodacc['RC'],
|
||||
'siege'=>0,
|
||||
'actif'=>$actif,
|
||||
'raisonSociale'=>$tabBodacc['raisonSociale'],
|
||||
'enseigne'=>$tabBodacc['enseigne'],
|
||||
'sigle'=>'',
|
||||
'adr_num'=>$tabBodacc['adrNum'],
|
||||
'adr_btq'=>$tabBodacc['adrIndRep'],
|
||||
'adr_typeVoie'=>$tabBodacc['adrTypVoie'],
|
||||
'adr_libVoie'=>strtoupper($tabBodacc['adrLibVoie']),
|
||||
'adr_comp'=>trim(strtoupper($tabBodacc['adrComp1'].' '.$tabBodacc['adrComp2'])),
|
||||
'adr_cp'=>$tabBodacc['codePostal'],
|
||||
'adr_dep'=>$dep,
|
||||
'adr_ville'=>strtoupper(trim(strtr($tabBodacc['ville'], '{.!}',' '))),
|
||||
'tel'=>'',
|
||||
'fax'=>'',
|
||||
'cj'=>$cj,
|
||||
'ape_etab'=>$naf,
|
||||
'dateInsert'=>$dateInsert,
|
||||
);
|
||||
$iDb->insert('etablissements',$tabEtab);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
if ($joAsso) {
|
||||
echo date ('Y/m/d - H:i:s')." - Mise à jour de la nouvelle table établissements depuis le JO Association.".EOL;
|
||||
$dateInsert=date('YmdHis');
|
||||
/* if (!$reset) {
|
||||
$tabTmp=$iDb->select('etablissements', 'max(source_id)', 'source=3', true);
|
||||
$last_id=$tabTmp[0][0]*1;
|
||||
} else*/ $last_id=0;
|
||||
$nbAsso=$iDb->select('asso', 'id, Assoc_Nom, siren, nic, Waldec, Activite, Type_Annonce, Date_Parution, Departement, Sous_Prefecture, Assoc_Adresse, Assoc_NAdresse, Assoc_ANom, Assoc_NNom, Assoc_Date_Declaration2, dateInsert', "id>$last_id AND siren<100", false,MYSQL_ASSOC,true);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbAsso annonces ASSOCIATIONS à consolider depuis $last_id...".EOL;
|
||||
|
||||
while ($tabAsso=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
/*
|
||||
9110 Syndicat de copropriété
|
||||
9210 Association non déclarée
|
||||
9221 Association déclarée "entreprises d'insertion par l'économique"
|
||||
9222 Association intermédiaire
|
||||
9223 Groupement d'employeurs
|
||||
9230 Association déclarée reconnue d'utilité publique
|
||||
9240 Congrégation
|
||||
*/
|
||||
/** Initialisation des valeurs par défaut
|
||||
**/
|
||||
$naf='';
|
||||
$actif=1;
|
||||
$cj=9220; // Association déclarée
|
||||
|
||||
if (preg_match('/ASL/i', $tabAsso['Type_Annonce']) || preg_match('/syndicale/i', $tabAsso['Type_Annonce'])) {
|
||||
$cj=9150; // ASL
|
||||
$naf='8110Z'; // Activités combinées de soutien lié aux bâtiments
|
||||
}
|
||||
elseif (preg_match('/Fondation/i', $tabAsso['Type_Annonce']))
|
||||
$cj=9300; // FONDATION
|
||||
elseif ($tabAsso['Departement']==57 || $tabAsso['Departement']==67 || $tabAsso['Departement']==68)
|
||||
$cj=9260; // Association de droit local
|
||||
|
||||
if (preg_match('/cr(é|e)ation/i', $tabAsso['Type_Annonce']) && preg_match('/Annulation/i', $tabAsso['Type_Annonce']))
|
||||
$actif=0;
|
||||
elseif (preg_match('/Dissolution/i', $tabAsso['Type_Annonce']) && !preg_match('/Annulation/i', $tabAsso['Type_Annonce']))
|
||||
$actif=0;
|
||||
|
||||
if ($naf=='') {
|
||||
if (preg_match('/sport/i', $tabAsso['Activite'])) // 0015
|
||||
$naf='9319Z';//'926C'; // Autres activités sportives
|
||||
elseif (preg_match('/(culte|religieu)/i', $tabAsso['Activite'])) // 0004
|
||||
$naf='9491Z';//913A'; // Organisations religieuses
|
||||
elseif (preg_match('/communication/i', $tabAsso['Activite'])) // 0003
|
||||
$naf='6399Z'; // Autres services d'information n.c.a.
|
||||
elseif (preg_match('/Politique/i', $tabAsso['Activite'])) // 0012
|
||||
$naf='9492Z'; // Activités des organisations politiques
|
||||
elseif (preg_match('/(Enseignement|Education|formation)/i', $tabAsso['Activite'])) // 0008
|
||||
$naf='8559B';
|
||||
elseif (preg_match('/(Social|Humanitaire)/i', $tabAsso['Activite']) ) // 0014
|
||||
$naf='8899B';//853K'; // Autres formes d'action sociale
|
||||
elseif (preg_match('/(Recherche|Technique)/i', $tabAsso['Activite'])) // 0010
|
||||
$naf='7219Z'; // Recherche-développement en autres sciences physiques et naturelles
|
||||
elseif (preg_match('/Loisir/i', $tabAsso['Activite'])) // 0005
|
||||
$naf='9329Z'; // Autres activités récréatives et de loisirs
|
||||
elseif (preg_match('/Art/i', $tabAsso['Activite'])) // 0005
|
||||
$naf='9003B'; // Autre création artistique
|
||||
else
|
||||
$naf='9499Z'; // Autres organisations fonctionnant par adhésion volontaire
|
||||
}
|
||||
|
||||
if ($tabAsso['Assoc_NAdresse']<>'')
|
||||
$adr=$iInsee->structureVoie($tabAsso['Assoc_NAdresse']);
|
||||
else
|
||||
$adr=$iInsee->structureVoie($tabAsso['Assoc_Adresse']);
|
||||
$adrComp=strtoupper(@$adr['adrComp0']);
|
||||
if (@$adr['adrComp1']<>'')
|
||||
$adrComp.=' '.strtoupper(@$adr['adrComp1']);
|
||||
|
||||
$raisonSociale=trim($tabAsso['Assoc_Nom']);
|
||||
if ($raisonSociale=='')
|
||||
$raisonSociale=trim($tabAsso['Assoc_ANom']);
|
||||
|
||||
if (preg_match("/^(.*) \((.*)\)$/U", $raisonSociale, $matches)) {
|
||||
$raisonSociale=trim($matches[1]);
|
||||
$sigle=trim(strtr($matches[2],array('.'=>'')));
|
||||
}
|
||||
else
|
||||
$sigle='';
|
||||
|
||||
$tabEtab=array( 'source'=>3,
|
||||
'source_id'=>$tabAsso['id'],
|
||||
'siren'=>$tabAsso['siren'],
|
||||
'nic'=>$tabAsso['nic'],
|
||||
'triCode'=>$tabAsso['Sous_Prefecture'], // Gérer la table des préfecture
|
||||
'autre_id'=>$tabAsso['Waldec'],
|
||||
'siege'=>1,
|
||||
'actif'=>$actif,
|
||||
'raisonSociale'=>$raisonSociale,
|
||||
'enseigne'=>'',
|
||||
'identite_pre'=>$tabAsso['Assoc_ANom'],
|
||||
'sigle'=>$sigle,
|
||||
'adr_num'=>@$adr['num'],
|
||||
'adr_btq'=>@$adr['indRep'],
|
||||
'adr_typeVoie'=>@$adr['typeVoie'],
|
||||
'adr_libVoie'=>strtoupper(@$adr['libVoie']),
|
||||
'adr_comp'=>$adrComp,
|
||||
'adr_cp'=>@$adr['cp'],
|
||||
'adr_ville'=>trim(strtoupper(@$adr['ville'])),
|
||||
'adr_dep'=>$tabAsso['Departement'],
|
||||
'tel'=>'',
|
||||
'fax'=>'',
|
||||
'cj'=>$cj,
|
||||
'ape_etab'=>$naf,
|
||||
'ape_entrep'=>$naf,
|
||||
'dateInsert'=>$dateInsert,
|
||||
);
|
||||
|
||||
$ret=$iDb->insert('etablissements_tmp',$tabEtab);
|
||||
if (!$ret && mysql_errno()<>1062) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR ". mysql_errno()." : Insertion des informations Associations sur le siren ". $tabBodacc['siren'] .' : '. $tabBodacc['raisonSociale'] .' ('. $tabBodacc['id'].') !'.EOL;
|
||||
echo date ('Y/m/d - H:i:s'). mysql_error();
|
||||
} else
|
||||
$nbInsertAsso++;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbInsertAsso établissements Associations consolidés.".EOL;
|
||||
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Mise à jour de la nouvelle table établissements depuis le JO Association Sirené (Waldec, etc...)".EOL;
|
||||
$dateInsert=date('YmdHis');
|
||||
$last_id=0;
|
||||
$nbAsso=$iDb->select('asso', 'id, Assoc_Nom, siren, nic, Waldec, Activite, Type_Annonce, Date_Parution, Departement, Sous_Prefecture, Assoc_Adresse, Assoc_NAdresse, Assoc_ANom, Assoc_NNom, Assoc_Date_Declaration2, dateInsert', "id>$last_id AND siren>100", false,MYSQL_ASSOC,true);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbAsso annonces ASSOCIATIONS à mettre à jour depuis $last_id...".EOL;
|
||||
|
||||
while ($tabAsso=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
$tabEtab=array( 'triCode'=>$tabAsso['Sous_Prefecture'], // Gérer la table des préfecture
|
||||
'autre_id'=>$tabAsso['Waldec'],
|
||||
'identite_pre'=>$tabAsso['Assoc_Nom'],
|
||||
);
|
||||
$ret=$iDb->update('etablissements_tmp',$tabEtab, 'siren='.$tabAsso['siren']);
|
||||
if (!$ret || mysql_errno()<>0) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR ". mysql_errno()." : Insertion des informations Associations sur le siren ". $tabBodacc['siren'] .' : '. $tabBodacc['raisonSociale'] .' ('. $tabBodacc['id'].') !'.EOL;
|
||||
echo date ('Y/m/d - H:i:s'). mysql_error();
|
||||
} else
|
||||
$nbUpdateAsso++;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbUpdateAsso établissements Associations avec SIREN consolidés.".EOL;
|
||||
}
|
||||
|
||||
|
||||
if ($iGreffe) {
|
||||
echo date ('Y/m/d - H:i:s')." - Mise à jour de la nouvelle table établissements depuis les Greffes.".EOL;
|
||||
|
||||
$dateInsert=date('YmdHis');
|
||||
$nbBodS=$iDb->select('greffes_identite g LEFT JOIN etablissements_tmp e ON g.siren = e.siren', 'g.id, g.siren, g.nom, g.adresse, g.cp, g.ville, g.enseigne, g.siege, g.fj, g.fjLib, g.naf, g.nafLib, g.numGreffe, g.libGreffe, g.numRC, g.dateCreation, g.dateRadiation, g.dateInsert', "e.siren IS NULL", false,MYSQL_ASSOC,true);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbBodS entreprises en provenance des Greffes dont le siren est absent de l'insee à consolider depuis $last_id...".EOL;
|
||||
|
||||
while ($tabBodacc=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
$adr=$iInsee->structureVoie($tabBodacc['adresse']);
|
||||
$adr_cp=@$tabBodacc['cp'];
|
||||
$tabEtab=array( 'source'=>4,
|
||||
'source_id'=>$tabBodacc['id'],
|
||||
'siren'=>$tabBodacc['siren'],
|
||||
'nic'=>0,
|
||||
'triCode'=>$tabBodacc['libGreffe'],//@todo Correspondance Tribunal_Code
|
||||
'autre_id'=>$tabBodacc['numRC'],
|
||||
'siege'=>1,
|
||||
'actif'=>0,
|
||||
'raisonSociale'=>$tabBodacc['nom'],
|
||||
'enseigne'=>$tabBodacc['enseigne'],
|
||||
'sigle'=>'',
|
||||
'identite_pre'=>'',
|
||||
'adr_num'=>@$adr['num'],
|
||||
'adr_btq'=>@$adr['adr_btq'],
|
||||
'adr_typeVoie'=>@$adr['typeVoie'],
|
||||
'adr_libVoie'=>strtoupper(@$adr['libVoie']),
|
||||
'adr_comp'=>'',
|
||||
'adr_cp'=>$adr_cp,
|
||||
'adr_ville'=>strtoupper(@$tabBodacc['ville']),
|
||||
'adr_dep'=>substr($adr_cp,0,2),
|
||||
'tel'=>'',
|
||||
'fax'=>'',
|
||||
'cj'=>$tabBodacc['fj'],
|
||||
'ape_etab'=>$tabBodacc['naf'],
|
||||
'ape_entrep'=>$tabBodacc['naf'],
|
||||
'dateInsert'=>$dateInsert,
|
||||
);
|
||||
|
||||
$ret=$iDb->insert('etablissements_tmp',$tabEtab);
|
||||
if (!$ret && mysql_errno()<>1062) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR ". mysql_errno()." : Insertion des informations GREFFES sur le siren ". $tabBodacc['siren'] .' : '. $tabBodacc['raisonSociale'] .' ('. $tabBodacc['id'].') !'.EOL;
|
||||
echo date ('Y/m/d - H:i:s'). mysql_error();
|
||||
} else
|
||||
$nbInsertGreffes++;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbInsertGreffes établissements Greffes consolidés.".EOL;
|
||||
}
|
||||
|
||||
|
||||
if ($iMarques) {
|
||||
echo date ('Y/m/d - H:i:s')." - Mise à jour des marques.".EOL;
|
||||
|
||||
$nbMarques=$iDb->select('marques', 'Siren, Marques', '1 ORDER BY Siren ASC', false,MYSQL_ASSOC,true);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbMarques marques à mettre à jour...".EOL;
|
||||
$sirenPre=false;
|
||||
$strMarques='';
|
||||
while ($tabMarques=$iDb->fetch(MYSQL_ASSOC)) {
|
||||
$siren =$tabMarques['Siren'];
|
||||
$strMarques.=$tabMarques['Marques'];
|
||||
if ($sirenPre<>$siren && $sirenPre<>false) {
|
||||
/** Il faut mettre à jour l'ensemble des marques pour ce siren **/
|
||||
$tabUpdate=array( 'marques'=>$strMarques );
|
||||
$ret=$iDb->update('etablissements_tmp',$tabUpdate, "siren=$siren");
|
||||
if (!$ret) {
|
||||
echo date ('Y/m/d - H:i:s')." - ERREUR ". mysql_errno()." : Insertion des informations MARQUES sur le siren $siren impossible ($strMarques) !".EOL;
|
||||
echo date ('Y/m/d - H:i:s'). mysql_error();
|
||||
} else $nbInsertMarques++;
|
||||
$strMarques='';
|
||||
}
|
||||
$sirenPre=$siren;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbInsertMarques établissements avec Marques consolidés.".EOL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
echo date ('Y/m/d - H:i:s')." - Remise à 0 de tous les ranks de la table etablissements...".EOL;
|
||||
$tab=array( 'rang'=>0 );
|
||||
$iDb->update('etablissements', $tab, 'siren=0');
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Mise à jour du rank de l'entreprise pour les recherches par nom".EOL;
|
||||
$iDbRanks=new WDB('sdv1');
|
||||
$nbRanks=$iDbRanks->select('`logs`', 'siren, count(*) AS `rang`', "page='identite' AND siren<>0 GROUP BY siren ORDER BY `rang` DESC", false,MYSQL_ASSOC,true);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbRanks ranks à mettre à jour...".EOL;
|
||||
while ($tabRank=$iDbRanks->fetch(MYSQL_ASSOC)) {
|
||||
$tab=array( 'rang'=>$tabRank['rang'] );
|
||||
if ($pageRankOnly) $tableEtab='etablissements';
|
||||
else $tableEtab='etablissements_tmp';
|
||||
$iDb->update($tableEtab, $tab, 'siren='.substr($tabRank['siren'],0,9));
|
||||
}
|
||||
|
||||
if (!$pageRankOnly) {
|
||||
echo date ('Y/m/d - H:i:s')." - Mise en place des tables pour l'indexation.".EOL;
|
||||
$iDb->query("DROP TABLE jo.etablissements_old;");
|
||||
echo date ('Y/m/d - H:i:s')." - Suppression de la table etablissements_old : Debug erreur n°".mysql_errno().' - '.mysql_error().EOL;
|
||||
//$iDb->query("RENAME TABLE jo.etablissements TO jo.etablissements_old;");
|
||||
//echo date ('Y/m/d - H:i:s')." - Sauvegarde de l'ancienne table établissements : Debug erreur n°".mysql_errno().' - '.mysql_error().EOL;
|
||||
//$iDb->query("RENAME TABLE jo.etablissements_tmp TO jo.etablissements;");
|
||||
//echo date ('Y/m/d - H:i:s')." - Passage en production de la table tmp : Debug erreur n°".mysql_errno().' - '.mysql_error().EOL;
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - FIN de la consolidation de la base Etablissements".EOL;
|
||||
//echo date ('Y/m/d - H:i:s')." - Lancement de la commande : indexer --all --config /usr/local/etc/sphinx.conf --rotate".EOL;
|
||||
/*$nb=@$nbAsso+@$nbBodS+@$nbBodE;
|
||||
if ($nb>0) die(0);
|
||||
else die(1);*/
|
||||
die();
|
||||
?>
|
File diff suppressed because it is too large
Load Diff
@ -1,122 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Reconsolidation de la table des téléphones/fax
|
||||
|
||||
Options :
|
||||
-a Reconsolidation de toute la base des téléphones/fax
|
||||
";
|
||||
$semiManuel=$sansPropo=$toutes=$index=false;
|
||||
|
||||
$mInsee=new MInsee();
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
if ($_SERVER['argc']==1) $semiManuel=false; // Fonctionnement normal du script, càd : on sirene que en auto
|
||||
else {
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 's':
|
||||
$semiManuel=true;
|
||||
break;
|
||||
case 'p':
|
||||
$sansPropo=true;
|
||||
break;
|
||||
case 'a':
|
||||
$toutes=true;
|
||||
break;
|
||||
case 'i':
|
||||
$index=trim(substr($argv[$i],3));
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . " inconnue !\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT du programme de SIRENAGE des annonces mal sirenés du BODACC...".EOL;
|
||||
|
||||
$pertinence=false;
|
||||
$nbRep=30;
|
||||
$siege=0;
|
||||
|
||||
$tabTables=array(
|
||||
/* array('db'=>'sugarcrm', 'table'=>'accounts', 'champRS'=>'name',
|
||||
'champAdresse'=>'billing_address_street',
|
||||
'champCP'=>'billing_address_postalcode',
|
||||
'champVille'=>'billing_address_city',
|
||||
'champSiren'=>'ticker_symbol',
|
||||
'champSirenValide'=>'(ticker_symbol<30000 OR ticker_symbol IS NULL)AND deleted')*/
|
||||
array('db'=>'jo', 'table'=>'bodacc_detail b LEFT JOIN bodacc_sirenage s ON s.idAnn = b.id AND s.siren = b.siren',
|
||||
'champRS'=>'CONCAT(raisonSociale," ",nomCommercial," ",enseigne)',
|
||||
'champAdresse'=>'adrLibVoie',
|
||||
'champCP'=>'codePostal',
|
||||
'champVille'=>'ville',
|
||||
'champSiren'=>'b.siren',
|
||||
'champNic'=>'nic',
|
||||
'champSirenValide'=>'sirenValide',
|
||||
'champNicValide'=>'nicValide'),
|
||||
/* array('db'=>'sdv1', 'table'=>'sirenage', 'champRS'=>'concat( RAISON_SOCIALE , \' \' , RAISON_SOCIALE2 )',//REF NIC RAISON_SOCIALE2 ADRESSE2 NUM_VOIE ADRESSE3
|
||||
'champAdresse'=>'ADRESSE',
|
||||
'champCP'=>'CP',
|
||||
'champVille'=>'VILLE',
|
||||
'champSiren'=>'SIREN',
|
||||
'champSirenValide'=>'SIREN'),*/
|
||||
);
|
||||
$iDbSel=new WDB('jo');
|
||||
$iDbMaj=new WDB('insee');
|
||||
echo date ('Y/m/d - H:i:s')." - DEBUT de la mise à jour des TEL/FAX des entreprises...".EOL;
|
||||
$strDate=' AND dateUpdate>DATE_SUB(NOW(), INTERVAL 2 DAY) ';
|
||||
if ($toutes)
|
||||
$strDate='';
|
||||
|
||||
$nbTel=$iDbSel->select('infos_entrep', 'siren, tel, fax',"siren>1000 AND (tel<>'' OR fax<>'') $strDate", false,MYSQL_ASSOC,true);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbTel lignes de TEL/FAX à mettre à jour...".EOL;
|
||||
$nbAvecMaj=$nbSansMaj=$nbErr=0;
|
||||
while ($tabTel=$iDbSel->fetch(MYSQL_ASSOC)) {
|
||||
$siren=$tabTel['siren'];
|
||||
$tel=trim(strtr($tabTel['tel'], array('.'=>'', ' '=>'', '-'=>'')));
|
||||
$fax=trim(strtr($tabTel['fax'], array('.'=>'', ' '=>'', '-'=>'')));
|
||||
$tabTmp=$iDbMaj->select('identite', 'id, SIREN, NIC, ACTIF, SIEGE, TEL, FAX',"SIREN=$siren ORDER BY SIEGE DESC, ACTIF DESC LIMIT 0,1", false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) {
|
||||
$tabUpdate=array();
|
||||
$etab=$tabTmp[0];
|
||||
$id=$etab['id'];
|
||||
$telPrev=$etab['TEL'];
|
||||
$faxPrev=$etab['FAX'];
|
||||
if ($telPrev=='' && $tel<>'') $tabUpdate['TEL']=$tel;
|
||||
if ($faxPrev=='' && $fax<>'') $tabUpdate['FAX']=$fax;
|
||||
if (count($tabUpdate)>0) {
|
||||
$iDbMaj->update('identite',$tabUpdate, "id=$id");
|
||||
echo date ('Y/m/d - H:i:s')." - Siren $siren, Tel $tel, Fax $fax : Mise à jour OK".EOL;
|
||||
$nbAvecMaj++;
|
||||
}
|
||||
else {
|
||||
$nbSansMaj++;
|
||||
// echo date ('Y/m/d - H:i:s')." - Siren $siren, Tel $tel, Fax $fax : PAS de mise à jour".EOL;
|
||||
}
|
||||
} else {
|
||||
echo date ('Y/m/d - H:i:s')." - Siren $siren, Tel $tel, Fax $fax : Pas de fiche identite !".EOL;
|
||||
$nbErr++;
|
||||
// die();
|
||||
}
|
||||
|
||||
/*print_r($tabTel);
|
||||
print_r($tabTmp);
|
||||
die();*/
|
||||
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - FIN de la mise à jour des TEL/FAX des entreprises ($nbAvecMaj MAJ/$nbTel avec $nbErr erreurs).".EOL;
|
||||
die();
|
||||
?>
|
@ -1,166 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
include_once(INCLUDE_PATH.'insee/classMInsee.php');
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]
|
||||
Consolidation des sites Web et Emails disponibles.
|
||||
|
||||
Options :
|
||||
-a Reconsolidation de toute la base des téléphones/fax
|
||||
";
|
||||
$semiManuel=$sansPropo=$toutes=$index=false;
|
||||
|
||||
$mInsee=new MInsee();
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
if ($_SERVER['argc']==1) $semiManuel=false; // Fonctionnement normal du script, càd : on sirene que en auto
|
||||
else {
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 's':
|
||||
$semiManuel=true;
|
||||
break;
|
||||
case 'p':
|
||||
$sansPropo=true;
|
||||
break;
|
||||
case 'a':
|
||||
$toutes=true;
|
||||
break;
|
||||
case 'i':
|
||||
$index=trim(substr($argv[$i],3));
|
||||
break;
|
||||
case '-':
|
||||
case '?':
|
||||
die($strInfoScript);
|
||||
break;
|
||||
default:
|
||||
die('Option '. $argv[$i] . " inconnue !\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo date('Y/m/d - H:i:s') ." - DEBUT du programme...".EOL;
|
||||
die("SELECT siren, sirenValide, raisonSociale, nomCommercial, enseigne, sigle, activite, typeEven FROM bodacc_detail WHERE activite LIKE '%www.%'
|
||||
OR activite LIKE '%.fr%'
|
||||
OR activite LIKE '%.com%'
|
||||
OR activite LIKE '%.net%'
|
||||
OR activite LIKE '%.info%'
|
||||
OR activite LIKE '%.biz%'
|
||||
OR activite LIKE '%.eu%'
|
||||
OR activite LIKE '%.org%'
|
||||
|
||||
OR raisonSociale LIKE '%www.%'
|
||||
OR raisonSociale LIKE '%.fr%'
|
||||
OR raisonSociale LIKE '%.com%'
|
||||
OR raisonSociale LIKE '%.net%'
|
||||
OR raisonSociale LIKE '%.info%'
|
||||
OR raisonSociale LIKE '%.biz%'
|
||||
OR raisonSociale LIKE '%.eu%'
|
||||
OR raisonSociale LIKE '%.org%'
|
||||
|
||||
OR nomCommercial LIKE '%www.%'
|
||||
OR nomCommercial LIKE '%.fr%'
|
||||
OR nomCommercial LIKE '%.com%'
|
||||
OR nomCommercial LIKE '%.net%'
|
||||
OR nomCommercial LIKE '%.info%'
|
||||
OR nomCommercial LIKE '%.biz%'
|
||||
OR nomCommercial LIKE '%.eu%'
|
||||
OR nomCommercial LIKE '%.org%'
|
||||
|
||||
OR enseigne LIKE '%www.%'
|
||||
OR enseigne LIKE '%.fr%'
|
||||
OR enseigne LIKE '%.com%'
|
||||
OR enseigne LIKE '%.net%'
|
||||
OR enseigne LIKE '%.info%'
|
||||
OR enseigne LIKE '%.biz%'
|
||||
OR enseigne LIKE '%.eu%'
|
||||
OR enseigne LIKE '%.org%'
|
||||
|
||||
OR sigle LIKE '%www.%'
|
||||
OR sigle LIKE '%.fr%'
|
||||
OR sigle LIKE '%.com%'
|
||||
OR sigle LIKE '%.net%'
|
||||
OR sigle LIKE '%.info%'
|
||||
OR sigle LIKE '%.biz%'
|
||||
OR sigle LIKE '%.eu%'
|
||||
OR sigle LIKE '%.org%'");
|
||||
|
||||
$pertinence=false;
|
||||
$nbRep=30;
|
||||
$siege=0;
|
||||
|
||||
$tabTables=array(
|
||||
/* array('db'=>'sugarcrm', 'table'=>'accounts', 'champRS'=>'name',
|
||||
'champAdresse'=>'billing_address_street',
|
||||
'champCP'=>'billing_address_postalcode',
|
||||
'champVille'=>'billing_address_city',
|
||||
'champSiren'=>'ticker_symbol',
|
||||
'champSirenValide'=>'(ticker_symbol<30000 OR ticker_symbol IS NULL)AND deleted')*/
|
||||
array('db'=>'jo', 'table'=>'bodacc_detail b LEFT JOIN bodacc_sirenage s ON s.idAnn = b.id AND s.siren = b.siren',
|
||||
'champRS'=>'CONCAT(raisonSociale," ",nomCommercial," ",enseigne)',
|
||||
'champAdresse'=>'adrLibVoie',
|
||||
'champCP'=>'codePostal',
|
||||
'champVille'=>'ville',
|
||||
'champSiren'=>'b.siren',
|
||||
'champNic'=>'nic',
|
||||
'champSirenValide'=>'sirenValide',
|
||||
'champNicValide'=>'nicValide'),
|
||||
/* array('db'=>'sdv1', 'table'=>'sirenage', 'champRS'=>'concat( RAISON_SOCIALE , \' \' , RAISON_SOCIALE2 )',//REF NIC RAISON_SOCIALE2 ADRESSE2 NUM_VOIE ADRESSE3
|
||||
'champAdresse'=>'ADRESSE',
|
||||
'champCP'=>'CP',
|
||||
'champVille'=>'VILLE',
|
||||
'champSiren'=>'SIREN',
|
||||
'champSirenValide'=>'SIREN'),*/
|
||||
);
|
||||
$iDbSel=new WDB('jo');
|
||||
$iDbMaj=new WDB('insee');
|
||||
echo date ('Y/m/d - H:i:s')." - DEBUT de la mise à jour des TEL/FAX des entreprises...".EOL;
|
||||
$strDate=' AND dateUpdate>DATE_SUB(NOW(), INTERVAL 2 DAY) ';
|
||||
if ($toutes)
|
||||
$strDate='';
|
||||
|
||||
$nbTel=$iDbSel->select('infos_entrep', 'siren, tel, fax',"siren>1000 AND (tel<>'' OR fax<>'') $strDate", false,MYSQL_ASSOC,true);
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Il y a $nbTel lignes de TEL/FAX à mettre à jour...".EOL;
|
||||
$nbAvecMaj=$nbSansMaj=$nbErr=0;
|
||||
while ($tabTel=$iDbSel->fetch(MYSQL_ASSOC)) {
|
||||
$siren=$tabTel['siren'];
|
||||
$tel=trim(strtr($tabTel['tel'], array('.'=>'', ' '=>'', '-'=>'')));
|
||||
$fax=trim(strtr($tabTel['fax'], array('.'=>'', ' '=>'', '-'=>'')));
|
||||
$tabTmp=$iDbMaj->select('identite', 'id, SIREN, NIC, ACTIF, SIEGE, TEL, FAX',"SIREN=$siren ORDER BY SIEGE DESC, ACTIF DESC LIMIT 0,1", false, MYSQL_ASSOC);
|
||||
if (count($tabTmp)>0) {
|
||||
$tabUpdate=array();
|
||||
$etab=$tabTmp[0];
|
||||
$id=$etab['id'];
|
||||
$telPrev=$etab['TEL'];
|
||||
$faxPrev=$etab['FAX'];
|
||||
if ($telPrev=='' && $tel<>'') $tabUpdate['TEL']=$tel;
|
||||
if ($faxPrev=='' && $fax<>'') $tabUpdate['FAX']=$fax;
|
||||
if (count($tabUpdate)>0) {
|
||||
$iDbMaj->update('identite',$tabUpdate, "id=$id");
|
||||
echo date ('Y/m/d - H:i:s')." - Siren $siren, Tel $tel, Fax $fax : Mise à jour OK".EOL;
|
||||
$nbAvecMaj++;
|
||||
}
|
||||
else {
|
||||
$nbSansMaj++;
|
||||
// echo date ('Y/m/d - H:i:s')." - Siren $siren, Tel $tel, Fax $fax : PAS de mise à jour".EOL;
|
||||
}
|
||||
} else {
|
||||
echo date ('Y/m/d - H:i:s')." - Siren $siren, Tel $tel, Fax $fax : Pas de fiche identite !".EOL;
|
||||
$nbErr++;
|
||||
// die();
|
||||
}
|
||||
|
||||
/*print_r($tabTel);
|
||||
print_r($tabTmp);
|
||||
die();*/
|
||||
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - FIN de la mise à jour des TEL/FAX des entreprises ($nbAvecMaj MAJ/$nbTel avec $nbErr erreurs).".EOL;
|
||||
die();
|
||||
?>
|
@ -1,138 +0,0 @@
|
||||
#!/usr/bin/php -c/var/www/batch/config/php_batch_sd.ini
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL);
|
||||
|
||||
$modeDebug=false;
|
||||
$separator='/t';
|
||||
$finLigne=false;
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
$strInfoScript='Usage : '.basename($argv[0]). " [OPTION]... FICHIER
|
||||
Conversion d'un fichier CSV en fichier Plat format Fixe.
|
||||
|
||||
Options :
|
||||
-v Mode bavard
|
||||
-s=CHAR séparateur de champs (virgule, point-virgule*, /t=TAB, /p=|, etc...)
|
||||
-c=CHAR caractère encadrant les zones alphanumériques (inopérationnel)
|
||||
-l=XXXX Taille maximale d'une ligne
|
||||
-f=/n Fin de ligne Linux par défaut (Windows /r/n)
|
||||
|
||||
(*): Valeurs par défaut !
|
||||
";
|
||||
|
||||
$argv=$_SERVER['argv'];
|
||||
|
||||
for ($i=1; isset($argv[$i]); $i++) {
|
||||
if (substr($argv[$i],0,1)=='-') {
|
||||
switch (substr($argv[$i],1,1)) {
|
||||
case 'v': $modeDebug=true; break;
|
||||
case 's': $separator=substr($argv[$i],3); break;
|
||||
case 'c': $chaine=substr($argv[$i],3); break;
|
||||
case 'l': $lenMaxLine=substr($argv[$i],3); break;
|
||||
case 'f': $finLigne=substr($argv[$i],3); break;
|
||||
case '-':
|
||||
case '?': die($strInfoScript); break;
|
||||
default: die('Option '. $argv[$i] . " inconnue !".EOL);
|
||||
}
|
||||
} else
|
||||
$fichier_csv[]=$argv[$i];
|
||||
}
|
||||
|
||||
if ($separator=='/t') {
|
||||
$separator="\t";
|
||||
echo "séparateur = TAB\n";
|
||||
} elseif ($separator=='/p') {
|
||||
$separator='|';
|
||||
echo "séparateur = PIPE\n";
|
||||
} elseif (!isset($separator) || $separator=='') {
|
||||
$separator=';';
|
||||
echo "séparateur = '$separator'\n";
|
||||
} else
|
||||
echo "séparateur = '$separator'\n";
|
||||
|
||||
if ($finLigne=='/r')
|
||||
$finLigne="\r";
|
||||
elseif ($finLigne=='/n')
|
||||
$finLigne="\n";
|
||||
elseif ($finLigne=='/r/n')
|
||||
$finLigne="\r\n";
|
||||
else
|
||||
$finLigne=EOL;
|
||||
|
||||
echo date ('Y/m/d - H:i:s') . " - Début de la conversion...".EOL;
|
||||
|
||||
foreach ($fichier_csv as $iFichier=>$nomFichier) {
|
||||
|
||||
$fp=fopen($nomFichier, 'r');
|
||||
if (!$fp) {
|
||||
echo date ('Y/m/d - H:i:s')." - Impossible d'ouvrir le fichier : $nomFichier !".EOL;
|
||||
echo date ('Y/m/d - H:i:s') . " - Fin du traitement".EOL;
|
||||
die();
|
||||
}
|
||||
|
||||
$nbLignes=$iLigne=0;
|
||||
$tabEntete=$tabTailles=$tabLignes=$tabEntiers=array();
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Début du traitement du fichier $nomFichier...".EOL;
|
||||
|
||||
while (($data = fgetcsv($fp, 10000, $separator)) !== FALSE)
|
||||
{
|
||||
$nbLignes++;
|
||||
|
||||
if ($nbLignes==1)
|
||||
{ // L'entête contient la structure du fichier
|
||||
// On compte le nombre de colonnes du fichier
|
||||
$nbColonnes=count($data);
|
||||
echo date ('Y/m/d - H:i:s')." - Le fichier '$nomFichier' contient $nbColonnes colonnes.".EOL;
|
||||
for($i=0; $i<$nbColonnes; $i++) {
|
||||
$tabEntete[$i]=$data[$i];
|
||||
$tabEntiers[$i]=1;
|
||||
}
|
||||
} else {
|
||||
// Lecture des tailles maximales des colonnes
|
||||
for($i=0; $i<$nbColonnes; $i++) {
|
||||
if (strlen($data[$i])>@$tabTailles[$i]) {
|
||||
$tabTailles[$i]=strlen($data[$i]);
|
||||
$tabLignes[$i]=$nbLignes;
|
||||
}
|
||||
if ($data[$i]<>'' && strtolower($data[$i])<>strtoupper($data[$i])) $tabEntiers[$i]=0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Le fichier '$nomFichier' contient $nbLignes lignes.".EOL;
|
||||
|
||||
foreach ($tabEntete as $i=>$entete) {
|
||||
if ($tabEntiers[$i]==0) $strInt='alphanum. ';
|
||||
else $strInt='num. ';
|
||||
echo "$i - $entete : ". $tabTailles[$i]. " caractères $strInt(ligne ".$tabLignes[$i].')'.EOL;
|
||||
}
|
||||
|
||||
rewind($fp);
|
||||
$fpOut=fopen(str_replace('.csv','.txt',$nomFichier), 'w');
|
||||
|
||||
echo date ('Y/m/d - H:i:s')." - Début de conversion du fichier en texte...".EOL;
|
||||
|
||||
while (($data = fgetcsv($fp, 10000, $separator)) !== FALSE)
|
||||
{
|
||||
$iLigne++;
|
||||
$str='';
|
||||
|
||||
if ($iLigne>1) {
|
||||
// Lecture des tailles maximales des colonnes
|
||||
for($i=0; $i<$nbColonnes; $i++) {
|
||||
if ($tabEntiers[$i]==0)
|
||||
$str.=initstr($data[$i], $tabTailles[$i]);
|
||||
else
|
||||
$str.=initstr($data[$i], $tabTailles[$i], '0', ALIGN_RIGHT);
|
||||
}
|
||||
//fwrite($fpOut, $str.EOL);
|
||||
fwrite($fpOut, $str.$finLigne);
|
||||
}
|
||||
}
|
||||
echo date ('Y/m/d - H:i:s')." - Conversion réussie du fichier '$nomFichier' en fichier plat ($iLigne lignes).".EOL;
|
||||
fclose ($fp);
|
||||
fclose ($fpOut);
|
||||
}
|
||||
?>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user