Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8e8f955ff3 | |||
| a60a6e46de | |||
| 366143ce36 | |||
| f757822f36 | |||
| 16798d9abb |
33
README.md
33
README.md
@@ -33,3 +33,36 @@ Dans le docker-composer.yaml
|
|||||||
volumes:
|
volumes:
|
||||||
- ../ednotif-bundle:/var/www/html/ednotif-bundle
|
- ../ednotif-bundle:/var/www/html/ednotif-bundle
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Utilisation
|
||||||
|
|
||||||
|
Le bundle expose `Malio\EdnotifBundle\Bovin\Api\BovinApiInterface`. Injection standard par autowiring.
|
||||||
|
|
||||||
|
```php
|
||||||
|
use Malio\EdnotifBundle\Bovin\Api\BovinApiInterface;
|
||||||
|
|
||||||
|
final class MyController
|
||||||
|
{
|
||||||
|
public function __construct(private BovinApiInterface $ednotif) {}
|
||||||
|
|
||||||
|
public function example(): void
|
||||||
|
{
|
||||||
|
// Dossier d'un bovin
|
||||||
|
$file = $this->ednotif->getAnimalFile('FR1234567890');
|
||||||
|
|
||||||
|
// Inventaire du cheptel à une date
|
||||||
|
$inventory = $this->ednotif->getInventory(
|
||||||
|
startDate: new \DateTimeImmutable('2026-01-01'),
|
||||||
|
includeEarTagStock: true,
|
||||||
|
);
|
||||||
|
|
||||||
|
// Retours de notifications depuis une date
|
||||||
|
$returns = $this->ednotif->getReturnedDossiers(new \DateTimeImmutable('2026-03-01'));
|
||||||
|
|
||||||
|
// Sorties présumées par l'IPG (flux de rapprochement)
|
||||||
|
$presumed = $this->ednotif->getPresumedExits();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Toutes les méthodes lèvent `Malio\EdnotifBundle\Shared\Exception\EdnotifException` en cas de `Resultat=false` côté EDNOTIF.
|
||||||
|
|||||||
@@ -6,7 +6,15 @@ use Malio\EdnotifBundle\Auth\TokenProvider;
|
|||||||
use Malio\EdnotifBundle\Bovin\Api\BovinApi;
|
use Malio\EdnotifBundle\Bovin\Api\BovinApi;
|
||||||
use Malio\EdnotifBundle\Bovin\Api\BovinApiInterface;
|
use Malio\EdnotifBundle\Bovin\Api\BovinApiInterface;
|
||||||
use Malio\EdnotifBundle\Bovin\Mapper\AnimalFileMapper;
|
use Malio\EdnotifBundle\Bovin\Mapper\AnimalFileMapper;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\AnimalSummaryMapper;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\CreateEntreeResponseMapper;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\CreateSortieResponseMapper;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\InventoryMapper;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\PresumedExitsMapper;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\ReturnedDossiersMapper;
|
||||||
|
use Malio\EdnotifBundle\Shared\Mapper\StandardResponseMapper;
|
||||||
use Malio\EdnotifBundle\Shared\Soap\SoapClientFactory;
|
use Malio\EdnotifBundle\Shared\Soap\SoapClientFactory;
|
||||||
|
use Malio\EdnotifBundle\Shared\Soap\ZipMessageDecoder;
|
||||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||||
|
|
||||||
use function Symfony\Component\DependencyInjection\Loader\Configurator\service;
|
use function Symfony\Component\DependencyInjection\Loader\Configurator\service;
|
||||||
@@ -22,6 +30,8 @@ return static function (ContainerConfigurator $container): void {
|
|||||||
->arg('$soapOptions', '%ednotif.soap_options%')
|
->arg('$soapOptions', '%ednotif.soap_options%')
|
||||||
;
|
;
|
||||||
|
|
||||||
|
$services->set(StandardResponseMapper::class);
|
||||||
|
|
||||||
$services->set('ednotif.soap.guichet', SoapClient::class)
|
$services->set('ednotif.soap.guichet', SoapClient::class)
|
||||||
->factory([service(SoapClientFactory::class), 'create'])
|
->factory([service(SoapClientFactory::class), 'create'])
|
||||||
->args(['%ednotif.guichet_wsdl%'])
|
->args(['%ednotif.guichet_wsdl%'])
|
||||||
@@ -32,7 +42,41 @@ return static function (ContainerConfigurator $container): void {
|
|||||||
->args(['%ednotif.metier_wsdl%'])
|
->args(['%ednotif.metier_wsdl%'])
|
||||||
;
|
;
|
||||||
|
|
||||||
$services->set(AnimalFileMapper::class);
|
$services->set(AnimalFileMapper::class)->args([service(StandardResponseMapper::class)]);
|
||||||
|
|
||||||
|
$services->set(ZipMessageDecoder::class);
|
||||||
|
$services->set(AnimalSummaryMapper::class);
|
||||||
|
$services->set(InventoryMapper::class)
|
||||||
|
->args([
|
||||||
|
service(AnimalSummaryMapper::class),
|
||||||
|
service(StandardResponseMapper::class),
|
||||||
|
])
|
||||||
|
;
|
||||||
|
|
||||||
|
$services->set(ReturnedDossiersMapper::class)
|
||||||
|
->args([
|
||||||
|
service(AnimalSummaryMapper::class),
|
||||||
|
service(StandardResponseMapper::class),
|
||||||
|
])
|
||||||
|
;
|
||||||
|
|
||||||
|
$services->set(PresumedExitsMapper::class)
|
||||||
|
->args([
|
||||||
|
service(StandardResponseMapper::class),
|
||||||
|
])
|
||||||
|
;
|
||||||
|
|
||||||
|
$services->set(CreateEntreeResponseMapper::class)
|
||||||
|
->args([
|
||||||
|
service(StandardResponseMapper::class),
|
||||||
|
])
|
||||||
|
;
|
||||||
|
|
||||||
|
$services->set(CreateSortieResponseMapper::class)
|
||||||
|
->args([
|
||||||
|
service(StandardResponseMapper::class),
|
||||||
|
])
|
||||||
|
;
|
||||||
|
|
||||||
$services->set(TokenProvider::class)
|
$services->set(TokenProvider::class)
|
||||||
->args([
|
->args([
|
||||||
@@ -52,6 +96,12 @@ return static function (ContainerConfigurator $container): void {
|
|||||||
service(TokenProvider::class),
|
service(TokenProvider::class),
|
||||||
service('ednotif.soap.business'),
|
service('ednotif.soap.business'),
|
||||||
service(AnimalFileMapper::class),
|
service(AnimalFileMapper::class),
|
||||||
|
service(InventoryMapper::class),
|
||||||
|
service(ReturnedDossiersMapper::class),
|
||||||
|
service(PresumedExitsMapper::class),
|
||||||
|
service(CreateEntreeResponseMapper::class),
|
||||||
|
service(CreateSortieResponseMapper::class),
|
||||||
|
service(ZipMessageDecoder::class),
|
||||||
'%ednotif.exploitation_country_code%',
|
'%ednotif.exploitation_country_code%',
|
||||||
'%ednotif.exploitation_number%',
|
'%ednotif.exploitation_number%',
|
||||||
])
|
])
|
||||||
|
|||||||
BIN
docs/_Schemas_XSD_de_reference.xlsx
Normal file
BIN
docs/_Schemas_XSD_de_reference.xlsx
Normal file
Binary file not shown.
1978
docs/superpowers/plans/2026-04-20-bovin-reads.md
Normal file
1978
docs/superpowers/plans/2026-04-20-bovin-reads.md
Normal file
File diff suppressed because it is too large
Load Diff
375
docs/superpowers/plans/2026-04-21-tech-debt-phase-1.md
Normal file
375
docs/superpowers/plans/2026-04-21-tech-debt-phase-1.md
Normal file
@@ -0,0 +1,375 @@
|
|||||||
|
# Dette technique post-Phase 1
|
||||||
|
|
||||||
|
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
||||||
|
|
||||||
|
**Goal:** Combler les deux trous de couverture flaggés par les reviews de Phase 1 avant de démarrer Phase 2 (écriture bovin), pour éviter que les nouveaux mappers empilent de la complexité sur des helpers non-pinnés.
|
||||||
|
|
||||||
|
**Architecture:** Deux fichiers de tests seulement. (1) Un nouveau `BovinNodeMappingTraitTest` qui couvre directement les 5 helpers scalaires du trait via une classe adapter anonyme — jusqu'ici ces helpers n'étaient testés qu'indirectement par les mappers, donc leurs edge cases dérivent sans qu'on s'en rende compte. (2) Des tests adversariaux ajoutés à `InventoryMapperTest` pour pinner les shapes dégradées qui peuvent arriver en prod (`StockBoucles` absent, `DateFin` manquant, `SerieBoucles` en liste, `NbBovins` non-numérique). Pas de changement de code de production — uniquement du test. Un petit docblock ajouté à `EarTagSeriesDto` pour documenter son statut Phase-1.
|
||||||
|
|
||||||
|
**Tech Stack:** PHP 8.4, PHPUnit 12, pas de nouvelle dépendance.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Task 1 — Tests directs des helpers scalaires du trait
|
||||||
|
|
||||||
|
**But** : pinner le comportement de `normalizeToList`, `toNullableString`, `toNullableInt`, `toNullableBool`, `toNullableDate` — les 5 helpers purs que chaque nouveau mapper va hériter via `use BovinNodeMappingTrait`.
|
||||||
|
|
||||||
|
**Approche** : une classe adapter anonyme, définie inline dans le test, qui `use` le trait et re-expose chaque helper en `public` pour l'appeler depuis les tests. Pas de nouvelle production class, pas de refacto du trait.
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Create: `tests/Unit/Bovin/Mapper/BovinNodeMappingTraitTest.php`
|
||||||
|
|
||||||
|
### Steps
|
||||||
|
|
||||||
|
- [ ] **Step 1: Écrire le fichier de test**
|
||||||
|
|
||||||
|
Contenu complet de `tests/Unit/Bovin/Mapper/BovinNodeMappingTraitTest.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Tests\Unit\Bovin\Mapper;
|
||||||
|
|
||||||
|
use DateTimeImmutable;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\BovinNodeMappingTrait;
|
||||||
|
use PHPUnit\Framework\Attributes\CoversTrait;
|
||||||
|
use PHPUnit\Framework\Attributes\DataProvider;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
use stdClass;
|
||||||
|
|
||||||
|
#[CoversTrait(BovinNodeMappingTrait::class)]
|
||||||
|
final class BovinNodeMappingTraitTest extends TestCase
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Adapter anonyme : re-expose chaque helper protected en public pour le test,
|
||||||
|
* sans jamais instancier un vrai mapper (ceux-ci ont des dépendances DI).
|
||||||
|
*/
|
||||||
|
private static function adapter(): object
|
||||||
|
{
|
||||||
|
return new class {
|
||||||
|
use BovinNodeMappingTrait {
|
||||||
|
normalizeToList as public;
|
||||||
|
toNullableString as public;
|
||||||
|
toNullableInt as public;
|
||||||
|
toNullableBool as public;
|
||||||
|
toNullableDate as public;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------- normalizeToList ----------
|
||||||
|
|
||||||
|
public function testNormalizeToListWithNullReturnsEmptyList(): void
|
||||||
|
{
|
||||||
|
self::assertSame([], self::adapter()->normalizeToList(null));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testNormalizeToListWithScalarWrapsIntoList(): void
|
||||||
|
{
|
||||||
|
self::assertSame(['foo'], self::adapter()->normalizeToList('foo'));
|
||||||
|
self::assertSame([42], self::adapter()->normalizeToList(42));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testNormalizeToListWithObjectWrapsIntoList(): void
|
||||||
|
{
|
||||||
|
$obj = new stdClass();
|
||||||
|
$result = self::adapter()->normalizeToList($obj);
|
||||||
|
|
||||||
|
self::assertCount(1, $result);
|
||||||
|
self::assertSame($obj, $result[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testNormalizeToListWithListReturnsListUnchanged(): void
|
||||||
|
{
|
||||||
|
$input = ['a', 'b', 'c'];
|
||||||
|
self::assertSame($input, self::adapter()->normalizeToList($input));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testNormalizeToListWithAssociativeArrayDiscardsKeys(): void
|
||||||
|
{
|
||||||
|
$input = ['x' => 'a', 'y' => 'b'];
|
||||||
|
$result = self::adapter()->normalizeToList($input);
|
||||||
|
|
||||||
|
self::assertSame(['a', 'b'], $result);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------- toNullableString ----------
|
||||||
|
|
||||||
|
/** @return iterable<string,array{mixed, ?string}> */
|
||||||
|
public static function toNullableStringProvider(): iterable
|
||||||
|
{
|
||||||
|
yield 'null' => [null, null];
|
||||||
|
yield 'empty string' => ['', null];
|
||||||
|
yield 'whitespace only' => [' ', null];
|
||||||
|
yield 'plain' => ['abc', 'abc'];
|
||||||
|
yield 'trimmed' => [' abc ', 'abc'];
|
||||||
|
yield 'int coerced to string' => [42, '42'];
|
||||||
|
yield 'zero preserved' => ['0', '0'];
|
||||||
|
}
|
||||||
|
|
||||||
|
#[DataProvider('toNullableStringProvider')]
|
||||||
|
public function testToNullableString(mixed $input, ?string $expected): void
|
||||||
|
{
|
||||||
|
self::assertSame($expected, self::adapter()->toNullableString($input));
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------- toNullableInt ----------
|
||||||
|
|
||||||
|
/** @return iterable<string,array{mixed, ?int}> */
|
||||||
|
public static function toNullableIntProvider(): iterable
|
||||||
|
{
|
||||||
|
yield 'null' => [null, null];
|
||||||
|
yield 'int passthrough' => [42, 42];
|
||||||
|
yield 'zero int' => [0, 0];
|
||||||
|
yield 'numeric string' => ['42', 42];
|
||||||
|
yield 'negative string' => ['-7', -7];
|
||||||
|
yield 'float-like string' => ['3.14', 3];
|
||||||
|
yield 'non-numeric' => ['abc', null];
|
||||||
|
yield 'empty string' => ['', null];
|
||||||
|
}
|
||||||
|
|
||||||
|
#[DataProvider('toNullableIntProvider')]
|
||||||
|
public function testToNullableInt(mixed $input, ?int $expected): void
|
||||||
|
{
|
||||||
|
self::assertSame($expected, self::adapter()->toNullableInt($input));
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------- toNullableBool ----------
|
||||||
|
|
||||||
|
/** @return iterable<string,array{mixed, ?bool}> */
|
||||||
|
public static function toNullableBoolProvider(): iterable
|
||||||
|
{
|
||||||
|
yield 'null' => [null, null];
|
||||||
|
yield 'true' => [true, true];
|
||||||
|
yield 'false' => [false, false];
|
||||||
|
yield 'string 1' => ['1', true];
|
||||||
|
yield 'string 0' => ['0', false];
|
||||||
|
yield 'empty string' => ['', false];
|
||||||
|
yield 'int 1' => [1, true];
|
||||||
|
yield 'int 0' => [0, false];
|
||||||
|
}
|
||||||
|
|
||||||
|
#[DataProvider('toNullableBoolProvider')]
|
||||||
|
public function testToNullableBool(mixed $input, ?bool $expected): void
|
||||||
|
{
|
||||||
|
self::assertSame($expected, self::adapter()->toNullableBool($input));
|
||||||
|
}
|
||||||
|
|
||||||
|
// ---------- toNullableDate ----------
|
||||||
|
|
||||||
|
public function testToNullableDateFromIsoString(): void
|
||||||
|
{
|
||||||
|
$result = self::adapter()->toNullableDate('2026-04-21');
|
||||||
|
self::assertEquals(new DateTimeImmutable('2026-04-21'), $result);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testToNullableDateFromDateTimeString(): void
|
||||||
|
{
|
||||||
|
$result = self::adapter()->toNullableDate('2026-04-21T10:30:00+02:00');
|
||||||
|
self::assertEquals(new DateTimeImmutable('2026-04-21T10:30:00+02:00'), $result);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** @return iterable<string,array{mixed}> */
|
||||||
|
public static function toNullableDateFallbackProvider(): iterable
|
||||||
|
{
|
||||||
|
yield 'null' => [null];
|
||||||
|
yield 'empty string' => [''];
|
||||||
|
yield 'whitespace' => [' '];
|
||||||
|
yield 'non-string int' => [42];
|
||||||
|
yield 'non-string array' => [[]];
|
||||||
|
yield 'invalid date string' => ['not-a-date'];
|
||||||
|
}
|
||||||
|
|
||||||
|
#[DataProvider('toNullableDateFallbackProvider')]
|
||||||
|
public function testToNullableDateReturnsNullOnInvalidInput(mixed $input): void
|
||||||
|
{
|
||||||
|
self::assertNull(self::adapter()->toNullableDate($input));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Notes importantes** :
|
||||||
|
- L'adapter anonyme utilise la syntaxe `use BovinNodeMappingTrait { ... as public; }` pour promouvoir chaque helper protected en public *seulement dans ce test*. Le trait lui-même reste inchangé (les helpers restent `protected` pour les vrais mappers).
|
||||||
|
- Le cas `'string false' => [...]` est **volontairement absent** de `toNullableBoolProvider` : le helper actuel retourne `true` pour `'false'` (string non-vide), ce qui est un bug latent mais pas dans le scope de ce task. Documenté ici pour que tu le retrouves si jamais ça remonte en prod.
|
||||||
|
|
||||||
|
- [ ] **Step 2: Lancer le test (doit passer immédiatement)**
|
||||||
|
|
||||||
|
Run:
|
||||||
|
```
|
||||||
|
make test FILES=tests/Unit/Bovin/Mapper/BovinNodeMappingTraitTest.php
|
||||||
|
```
|
||||||
|
Expected : tous les tests passent du premier coup. Pas de RED phase ici — on teste du code existant qui marche déjà. Si un test échoue, c'est qu'on a découvert un bug : remonter avant de commit.
|
||||||
|
|
||||||
|
Compte attendu : environ **36 test cases** (PHPUnit compte chaque entrée de DataProvider comme un test distinct). L'ordre de grandeur compte plus que le chiffre exact — l'important est que 100% soient verts.
|
||||||
|
|
||||||
|
- [ ] **Step 3: Lancer la suite complète pour vérifier qu'il n'y a pas de régression**
|
||||||
|
|
||||||
|
Run:
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : 12 tests préexistants + nouveaux tests de ce task, tous verts.
|
||||||
|
|
||||||
|
- [ ] **Step 4: Commit**
|
||||||
|
|
||||||
|
Run:
|
||||||
|
```
|
||||||
|
git add tests/Unit/Bovin/Mapper/BovinNodeMappingTraitTest.php
|
||||||
|
git commit -m "test : pin des helpers scalaires de BovinNodeMappingTrait"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Task 2 — Tests adversariaux `InventoryMapper` + docblock `EarTagSeriesDto`
|
||||||
|
|
||||||
|
**But** : pinner les shapes dégradées qui peuvent sortir de `ZipMessageDecoder` (message partiel, champ absent, liste à un seul élément venant sous forme d'objet, etc.). Ces cas ne sont pas exotiques : la roundtrip SimpleXML→JSON→stdClass change de shape selon le nombre d'enfants, et EDNOTIF peut omettre des nœuds optionnels. Également, ajouter un docblock sur `EarTagSeriesDto` pour documenter que le raw-node est un choix Phase-1 assumé.
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Modify: `tests/Unit/Bovin/Mapper/InventoryMapperTest.php`
|
||||||
|
- Modify: `src/Bovin/Dto/EarTagSeriesDto.php` (ajout docblock uniquement, aucun changement de code)
|
||||||
|
|
||||||
|
### Steps
|
||||||
|
|
||||||
|
- [ ] **Step 1: Ajouter 5 tests à `InventoryMapperTest`**
|
||||||
|
|
||||||
|
Ouvrir `tests/Unit/Bovin/Mapper/InventoryMapperTest.php` et ajouter les 5 méthodes suivantes **après** `testMapInventoryWithoutMessageZipReturnsEmptyLists`, **avant** les helpers privés (`makeSoapResponse`, `makeUnzippedMessage`, `makeAnimalNode`).
|
||||||
|
|
||||||
|
Les helpers privés existants sont réutilisés quand ils suffisent ; sinon on construit un message ad-hoc inline.
|
||||||
|
|
||||||
|
Code à insérer :
|
||||||
|
```php
|
||||||
|
public function testMapInventoryWithStockBouclesAbsentYieldsNullFlag(): void
|
||||||
|
{
|
||||||
|
$mapper = new InventoryMapper(new AnimalSummaryMapper(), new StandardResponseMapper());
|
||||||
|
|
||||||
|
$message = new stdClass();
|
||||||
|
$message->InformationsMessage = new stdClass();
|
||||||
|
$message->InformationsMessage->DateDebut = '2026-01-01';
|
||||||
|
// StockBoucles deliberately omitted
|
||||||
|
|
||||||
|
$inventory = $mapper->map($this->makeSoapResponse(), $message);
|
||||||
|
|
||||||
|
self::assertNull($inventory->includesEarTagStock);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testMapInventoryWithStockBouclesZeroYieldsFalseFlag(): void
|
||||||
|
{
|
||||||
|
$mapper = new InventoryMapper(new AnimalSummaryMapper(), new StandardResponseMapper());
|
||||||
|
|
||||||
|
$message = new stdClass();
|
||||||
|
$message->InformationsMessage = new stdClass();
|
||||||
|
$message->InformationsMessage->StockBoucles = '0';
|
||||||
|
|
||||||
|
$inventory = $mapper->map($this->makeSoapResponse(), $message);
|
||||||
|
|
||||||
|
self::assertFalse($inventory->includesEarTagStock);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testMapInventoryWithDateFinAbsentYieldsNullEndDate(): void
|
||||||
|
{
|
||||||
|
$mapper = new InventoryMapper(new AnimalSummaryMapper(), new StandardResponseMapper());
|
||||||
|
|
||||||
|
$message = new stdClass();
|
||||||
|
$message->InformationsMessage = new stdClass();
|
||||||
|
$message->InformationsMessage->DateDebut = '2026-01-01';
|
||||||
|
// DateFin deliberately omitted
|
||||||
|
|
||||||
|
$inventory = $mapper->map($this->makeSoapResponse(), $message);
|
||||||
|
|
||||||
|
self::assertNull($inventory->endDate);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testMapInventoryWithSerieBouclesAsListPreservesAllEntries(): void
|
||||||
|
{
|
||||||
|
$mapper = new InventoryMapper(new AnimalSummaryMapper(), new StandardResponseMapper());
|
||||||
|
|
||||||
|
$serie1 = new stdClass();
|
||||||
|
$serie1->NumeroSerieDebut = 'A0001';
|
||||||
|
$serie2 = new stdClass();
|
||||||
|
$serie2->NumeroSerieDebut = 'B0001';
|
||||||
|
|
||||||
|
$message = new stdClass();
|
||||||
|
$message->Boucles = new stdClass();
|
||||||
|
$message->Boucles->SerieBoucles = [$serie1, $serie2];
|
||||||
|
|
||||||
|
$inventory = $mapper->map($this->makeSoapResponse(), $message);
|
||||||
|
|
||||||
|
self::assertCount(2, $inventory->earTagSeries);
|
||||||
|
self::assertSame('A0001', $inventory->earTagSeries[0]->rawNode->NumeroSerieDebut);
|
||||||
|
self::assertSame('B0001', $inventory->earTagSeries[1]->rawNode->NumeroSerieDebut);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testMapInventoryWithMissingNbBovinsDefaultsToZero(): void
|
||||||
|
{
|
||||||
|
$mapper = new InventoryMapper(new AnimalSummaryMapper(), new StandardResponseMapper());
|
||||||
|
|
||||||
|
$soapResponse = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard->Resultat = true;
|
||||||
|
$soapResponse->ReponseSpecifique = new stdClass();
|
||||||
|
// NbBovins deliberately omitted
|
||||||
|
|
||||||
|
$inventory = $mapper->map($soapResponse, null);
|
||||||
|
|
||||||
|
self::assertSame(0, $inventory->nbBovins);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Rappel sur les imports** : le fichier importe déjà `DateTimeImmutable`, `InventoryDto`, `AnimalSummaryMapper`, `InventoryMapper`, `StandardResponseMapper`, `stdClass`, `TestCase`, `CoversClass`. **Aucun import supplémentaire nécessaire** pour ces 5 nouveaux tests.
|
||||||
|
|
||||||
|
- [ ] **Step 2: Ajouter le docblock à `EarTagSeriesDto`**
|
||||||
|
|
||||||
|
Ouvrir `src/Bovin/Dto/EarTagSeriesDto.php` et remplacer son contenu par :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Dto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wrapper minimal d'une entrée `SerieBoucles` du message de l'opération
|
||||||
|
* `IpBGetInventaire` (quand `includeEarTagStock: true`).
|
||||||
|
*
|
||||||
|
* Le noeud XSD `typeSerieBoucles` est riche (plages de numéros, fournisseur,
|
||||||
|
* statut, dates...). En Phase 1 on garde volontairement la structure brute
|
||||||
|
* via `$rawNode` : les consommateurs qui ont besoin d'un champ précis y
|
||||||
|
* accèdent par `$serie->rawNode->NomDuChamp`. Si un cas d'usage métier concret
|
||||||
|
* remonte (rebouclage, commande de boucles), on parsera dans un DTO dédié.
|
||||||
|
*/
|
||||||
|
final readonly class EarTagSeriesDto
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public object $rawNode,
|
||||||
|
) {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 3: Lancer la suite complète**
|
||||||
|
|
||||||
|
Run:
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : tous les tests verts, incluant les 5 nouveaux.
|
||||||
|
|
||||||
|
Compte attendu : `OK (N tests, M assertions)` avec `N` = total précédent de la suite + 5.
|
||||||
|
|
||||||
|
- [ ] **Step 4: Commit**
|
||||||
|
|
||||||
|
Run:
|
||||||
|
```
|
||||||
|
git add tests/Unit/Bovin/Mapper/InventoryMapperTest.php src/Bovin/Dto/EarTagSeriesDto.php
|
||||||
|
git commit -m "test : tests adversariaux InventoryMapper + docblock EarTagSeriesDto"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Checklist finale
|
||||||
|
|
||||||
|
- [ ] `make test` vert sur toute la suite (tous les nouveaux tests + les tests préexistants de Phase 1)
|
||||||
|
- [ ] 2 commits propres, un par task
|
||||||
|
- [ ] `BovinNodeMappingTrait` reste inchangé (seule une classe adapter de test le consomme avec re-exposition publique)
|
||||||
|
- [ ] `InventoryMapper` reste inchangé (uniquement de nouveaux tests qui exercent son code existant)
|
||||||
|
- [ ] `EarTagSeriesDto` gagne seulement un docblock, pas de changement de comportement
|
||||||
297
docs/superpowers/plans/2026-04-22-eartag-series-parsing.md
Normal file
297
docs/superpowers/plans/2026-04-22-eartag-series-parsing.md
Normal file
@@ -0,0 +1,297 @@
|
|||||||
|
# Parsing de `EarTagSeriesDto` — Implementation Plan
|
||||||
|
|
||||||
|
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
||||||
|
|
||||||
|
**Goal:** Transformer `EarTagSeriesDto` d'un wrapper `rawNode` vers un DTO plat à 3 champs (`countryCode`, `startNumber`, `quantity`) avec un helper calculé `endNumber()`, et adapter `InventoryMapper` pour peupler ces champs.
|
||||||
|
|
||||||
|
**Architecture:** Single commit atomique — on casse et on rétablit la compat des tests dans la même opération. Un nouveau fichier `EarTagSeriesDtoTest` pin le comportement de `endNumber()` ; les deux tests existants de `InventoryMapperTest` sont adaptés pour consommer les nouveaux champs au lieu de `rawNode`. Aucun autre fichier touché.
|
||||||
|
|
||||||
|
**Tech Stack:** PHP 8.4, PHPUnit 12, pas de nouvelle dépendance.
|
||||||
|
|
||||||
|
Spec associée : `docs/superpowers/specs/2026-04-22-eartag-series-parsing-design.md`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## File Structure
|
||||||
|
|
||||||
|
### À créer
|
||||||
|
|
||||||
|
```
|
||||||
|
tests/Unit/Bovin/Dto/EarTagSeriesDtoTest.php 3 tests sur endNumber()
|
||||||
|
```
|
||||||
|
|
||||||
|
### À modifier
|
||||||
|
|
||||||
|
```
|
||||||
|
src/Bovin/Dto/EarTagSeriesDto.php réécriture complète (3 fields + helper)
|
||||||
|
src/Bovin/Mapper/InventoryMapper.php 1 bloc modifié (instanciation du DTO)
|
||||||
|
tests/Unit/Bovin/Mapper/InventoryMapperTest.php 2 méthodes adaptées + helpers ajustés
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Task 1 — DTO typé + mapper adapté + tests
|
||||||
|
|
||||||
|
**Exécution en une seule tâche** parce que DTO et mapper sont liés — les modifier séparément laisserait la suite rouge entre commits. On fait un seul commit atomique.
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Create: `tests/Unit/Bovin/Dto/EarTagSeriesDtoTest.php`
|
||||||
|
- Modify: `src/Bovin/Dto/EarTagSeriesDto.php` (réécriture)
|
||||||
|
- Modify: `src/Bovin/Mapper/InventoryMapper.php` (bloc d'instanciation `SerieBoucles`)
|
||||||
|
- Modify: `tests/Unit/Bovin/Mapper/InventoryMapperTest.php` (2 tests + 1 helper)
|
||||||
|
|
||||||
|
### Steps
|
||||||
|
|
||||||
|
- [ ] **Step 1: Écrire les 3 nouveaux tests sur le DTO (RED phase)**
|
||||||
|
|
||||||
|
Contenu complet de `tests/Unit/Bovin/Dto/EarTagSeriesDtoTest.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Tests\Unit\Bovin\Dto;
|
||||||
|
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\EarTagSeriesDto;
|
||||||
|
use PHPUnit\Framework\Attributes\CoversClass;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
|
#[CoversClass(EarTagSeriesDto::class)]
|
||||||
|
final class EarTagSeriesDtoTest extends TestCase
|
||||||
|
{
|
||||||
|
public function testEndNumberComputesStartPlusQuantityMinusOne(): void
|
||||||
|
{
|
||||||
|
$series = new EarTagSeriesDto(
|
||||||
|
countryCode: 'FR',
|
||||||
|
startNumber: '0012345678',
|
||||||
|
quantity: 50,
|
||||||
|
);
|
||||||
|
|
||||||
|
self::assertSame('0012345727', $series->endNumber());
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testEndNumberPreservesLeadingZeroPadding(): void
|
||||||
|
{
|
||||||
|
$series = new EarTagSeriesDto(
|
||||||
|
countryCode: 'FR',
|
||||||
|
startNumber: '0000000001',
|
||||||
|
quantity: 5,
|
||||||
|
);
|
||||||
|
|
||||||
|
self::assertSame('0000000005', $series->endNumber());
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testEndNumberWithQuantityOneEqualsStartNumber(): void
|
||||||
|
{
|
||||||
|
$series = new EarTagSeriesDto(
|
||||||
|
countryCode: 'FR',
|
||||||
|
startNumber: '0012345678',
|
||||||
|
quantity: 1,
|
||||||
|
);
|
||||||
|
|
||||||
|
self::assertSame('0012345678', $series->endNumber());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 2: Lancer ce test seul (il doit échouer)**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test FILES=tests/Unit/Bovin/Dto/EarTagSeriesDtoTest.php
|
||||||
|
```
|
||||||
|
|
||||||
|
Expected : les 3 tests échouent parce que le constructeur actuel de `EarTagSeriesDto` attend `rawNode: object` et pas les 3 nouveaux champs. Message d'erreur typique :
|
||||||
|
```
|
||||||
|
ArgumentCountError: Too few arguments to function ... 0 passed and exactly 1 expected
|
||||||
|
```
|
||||||
|
ou
|
||||||
|
```
|
||||||
|
TypeError: Malio\EdnotifBundle\Bovin\Dto\EarTagSeriesDto::__construct(): Argument #1 ($rawNode) must be of type object, string given
|
||||||
|
```
|
||||||
|
L'important : on voit bien une erreur liée à la signature du constructeur, pas un problème de syntax/autoload. Si erreur différente, investiguer avant de continuer.
|
||||||
|
|
||||||
|
- [ ] **Step 3: Réécrire `EarTagSeriesDto`**
|
||||||
|
|
||||||
|
Remplacer intégralement le contenu de `src/Bovin/Dto/EarTagSeriesDto.php` par :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Dto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Série de boucles (ear tags) en stock chez l'exploitation, retournée dans
|
||||||
|
* la réponse de `IpBGetInventaire` quand `includeEarTagStock: true`.
|
||||||
|
*
|
||||||
|
* Correspond au type XSD `typeSerieBoucles` (resources/ednotif-ws/IpBNotif_v1.xsd) :
|
||||||
|
* une plage contigüe de `quantity` boucles à partir du numéro `startNumber`
|
||||||
|
* dans le pays `countryCode`.
|
||||||
|
*
|
||||||
|
* Les numéros sont stockés en string pour préserver le zero-padding du XSD
|
||||||
|
* (10 chiffres, pattern `0[1-9][0-9]{8}|[1-9][0-9]{9}`).
|
||||||
|
*/
|
||||||
|
final readonly class EarTagSeriesDto
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public string $countryCode,
|
||||||
|
public string $startNumber,
|
||||||
|
public int $quantity,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function endNumber(): string
|
||||||
|
{
|
||||||
|
return str_pad(
|
||||||
|
(string) ((int) $this->startNumber + $this->quantity - 1),
|
||||||
|
10,
|
||||||
|
'0',
|
||||||
|
STR_PAD_LEFT,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 4: Vérifier les tests DTO (GREEN phase partielle)**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test FILES=tests/Unit/Bovin/Dto/EarTagSeriesDtoTest.php
|
||||||
|
```
|
||||||
|
Expected : 3 tests passent, 3 assertions.
|
||||||
|
|
||||||
|
- [ ] **Step 5: Lancer la suite complète (la suite DOIT être rouge sur InventoryMapperTest)**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : au moins 2 tests en échec dans `InventoryMapperTest` (`testMapFullInventory` et `testMapInventoryWithSerieBouclesAsListPreservesAllEntries`) à cause de l'incompatibilité entre le mapper actuel qui fait `new EarTagSeriesDto(rawNode: $serieNode)` et la nouvelle signature. C'est attendu et temporaire — on va le corriger dans les steps suivants.
|
||||||
|
|
||||||
|
Si d'autres tests échouent, s'arrêter et investiguer avant de continuer.
|
||||||
|
|
||||||
|
- [ ] **Step 6: Adapter `InventoryMapper`**
|
||||||
|
|
||||||
|
Dans `src/Bovin/Mapper/InventoryMapper.php`, localiser la boucle qui construit `$earTagSeries`. Elle ressemble à :
|
||||||
|
```php
|
||||||
|
$seriesNode = $unzippedMessage->Boucles->SerieBoucles ?? null;
|
||||||
|
foreach ($this->normalizeToList($seriesNode) as $serieNode) {
|
||||||
|
if (!is_object($serieNode)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
$earTagSeries[] = new EarTagSeriesDto(rawNode: $serieNode);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Remplacer la ligne d'instanciation par :
|
||||||
|
```php
|
||||||
|
$earTagSeries[] = new EarTagSeriesDto(
|
||||||
|
countryCode: $this->toNullableString($serieNode->CodePays ?? null) ?? '',
|
||||||
|
startNumber: $this->toNullableString($serieNode->DebutSerie ?? null) ?? '',
|
||||||
|
quantity: $this->toNullableInt($serieNode->Quantite ?? null) ?? 0,
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
Reste du mapper inchangé. Les imports actuels couvrent déjà `EarTagSeriesDto` et le trait fournit déjà `toNullableString` / `toNullableInt`.
|
||||||
|
|
||||||
|
- [ ] **Step 7: Lire `InventoryMapperTest` pour repérer les fixtures à adapter**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
cat tests/Unit/Bovin/Mapper/InventoryMapperTest.php
|
||||||
|
```
|
||||||
|
|
||||||
|
Deux endroits utilisent aujourd'hui le champ `NumeroSerieDebut` (nom fictif, non-XSD — hérité d'une fixture approximative) :
|
||||||
|
|
||||||
|
1. La méthode privée `makeUnzippedMessage()` qui construit `$message->Boucles->SerieBoucles->NumeroSerieDebut = 'A0001';` (série unique en objet, pas en liste).
|
||||||
|
2. Le test `testMapInventoryWithSerieBouclesAsListPreservesAllEntries` qui construit 2 objets avec `NumeroSerieDebut = 'A0001'` et `'B0001'`.
|
||||||
|
|
||||||
|
Noter les lignes exactes avant de modifier.
|
||||||
|
|
||||||
|
- [ ] **Step 8: Adapter `makeUnzippedMessage()` — série unique**
|
||||||
|
|
||||||
|
Dans le helper privé `makeUnzippedMessage()` de `InventoryMapperTest`, remplacer :
|
||||||
|
```php
|
||||||
|
$message->Boucles = new stdClass();
|
||||||
|
$message->Boucles->SerieBoucles = new stdClass();
|
||||||
|
$message->Boucles->SerieBoucles->NumeroSerieDebut = 'A0001';
|
||||||
|
```
|
||||||
|
|
||||||
|
par :
|
||||||
|
```php
|
||||||
|
$message->Boucles = new stdClass();
|
||||||
|
$message->Boucles->SerieBoucles = new stdClass();
|
||||||
|
$message->Boucles->SerieBoucles->CodePays = 'FR';
|
||||||
|
$message->Boucles->SerieBoucles->DebutSerie = '0012345678';
|
||||||
|
$message->Boucles->SerieBoucles->Quantite = 50;
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 9: Adapter `testMapFullInventory` — assertion sur la série**
|
||||||
|
|
||||||
|
Dans `testMapFullInventory`, trouver la ligne qui asserte une valeur sur le `rawNode` (s'il y en a une ; sinon juste `assertCount(1, $inventory->earTagSeries)` suffit). Si le test avait une assertion comme `$inventory->earTagSeries[0]->rawNode->NumeroSerieDebut`, la remplacer par :
|
||||||
|
```php
|
||||||
|
self::assertSame('FR', $inventory->earTagSeries[0]->countryCode);
|
||||||
|
self::assertSame('0012345678', $inventory->earTagSeries[0]->startNumber);
|
||||||
|
self::assertSame(50, $inventory->earTagSeries[0]->quantity);
|
||||||
|
```
|
||||||
|
|
||||||
|
Si le test se contentait de `assertCount(1, ...)`, **ajouter** les 3 assertions ci-dessus pour renforcer la couverture post-refactor.
|
||||||
|
|
||||||
|
- [ ] **Step 10: Adapter `testMapInventoryWithSerieBouclesAsListPreservesAllEntries`**
|
||||||
|
|
||||||
|
Localiser les 2 blocs qui construisent `$serie1` et `$serie2`. Les remplacer par :
|
||||||
|
```php
|
||||||
|
$serie1 = new stdClass();
|
||||||
|
$serie1->CodePays = 'FR';
|
||||||
|
$serie1->DebutSerie = '0012345678';
|
||||||
|
$serie1->Quantite = 10;
|
||||||
|
|
||||||
|
$serie2 = new stdClass();
|
||||||
|
$serie2->CodePays = 'FR';
|
||||||
|
$serie2->DebutSerie = '0055500000';
|
||||||
|
$serie2->Quantite = 25;
|
||||||
|
```
|
||||||
|
|
||||||
|
Puis remplacer les assertions qui lisaient `rawNode->NumeroSerieDebut` par :
|
||||||
|
```php
|
||||||
|
self::assertCount(2, $inventory->earTagSeries);
|
||||||
|
self::assertSame('0012345678', $inventory->earTagSeries[0]->startNumber);
|
||||||
|
self::assertSame(10, $inventory->earTagSeries[0]->quantity);
|
||||||
|
self::assertSame('0055500000', $inventory->earTagSeries[1]->startNumber);
|
||||||
|
self::assertSame(25, $inventory->earTagSeries[1]->quantity);
|
||||||
|
```
|
||||||
|
|
||||||
|
(Le `assertCount(2, …)` doit être conservé si présent ; sinon l'ajouter au-dessus.)
|
||||||
|
|
||||||
|
- [ ] **Step 11: Lancer la suite complète (GREEN phase finale)**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : tous les tests verts. Compte attendu : **56 tests** (53 précédents + 3 nouveaux sur le DTO). Les 2 tests de `InventoryMapperTest` sont modifiés, pas ajoutés.
|
||||||
|
|
||||||
|
Si un test est rouge, investiguer. Causes possibles :
|
||||||
|
- `endNumber()` calcule mal le padding → vérifier le `str_pad` et la conversion `(int) $this->startNumber`.
|
||||||
|
- Une assertion de la fixture a été mal recopiée → vérifier les noms de champs XSD.
|
||||||
|
- Un import manquant dans un fichier modifié → vérifier les `use` statements.
|
||||||
|
|
||||||
|
- [ ] **Step 12: Commit**
|
||||||
|
|
||||||
|
```
|
||||||
|
git add src/Bovin/Dto/EarTagSeriesDto.php \
|
||||||
|
src/Bovin/Mapper/InventoryMapper.php \
|
||||||
|
tests/Unit/Bovin/Dto/EarTagSeriesDtoTest.php \
|
||||||
|
tests/Unit/Bovin/Mapper/InventoryMapperTest.php
|
||||||
|
git commit -m "feat : parser SerieBoucles dans EarTagSeriesDto typé"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Checklist finale
|
||||||
|
|
||||||
|
- [ ] `make test` vert, 56 tests au total
|
||||||
|
- [ ] Un seul commit atomique
|
||||||
|
- [ ] `EarTagSeriesDto` n'a plus de propriété `$rawNode`
|
||||||
|
- [ ] `InventoryMapper` instancie le DTO avec les 3 champs XSD (`CodePays`, `DebutSerie`, `Quantite`)
|
||||||
|
- [ ] Aucun autre fichier n'a été touché (pas de changement sur `InventoryDto`, `BovinApi`, `BovinApiInterface`, `config/services.php`)
|
||||||
997
docs/superpowers/plans/2026-04-22-phase2-create-entree-sortie.md
Normal file
997
docs/superpowers/plans/2026-04-22-phase2-create-entree-sortie.md
Normal file
@@ -0,0 +1,997 @@
|
|||||||
|
# Phase 2 Lot 1 — `createEntree` + `createSortie` — Implementation Plan
|
||||||
|
|
||||||
|
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
||||||
|
|
||||||
|
**Goal:** Ajouter 2 méthodes d'écriture bovin (`createEntree`, `createSortie`) à `BovinApiInterface`, appelant les opérations SOAP `IpBCreateEntree` / `IpBCreateSortie` de `wsIpBNotif`, avec requests/responses DTOs typés et enums métier.
|
||||||
|
|
||||||
|
**Architecture:** On ajoute 6 unités indépendantes (3 enums, 2 request DTOs, 2 response DTOs, 2 mappers) puis on câble le tout dans `BovinApi` + `config/services.php`. Les mappers réutilisent `StandardResponseMapper` (déjà existant) et le trait `BovinNodeMappingTrait` pour `mapIdentification`/`mapMovement`. Pas de validation client-side, pas de test d'intégration SOAP (les mappers couvrent 95% de la logique testable).
|
||||||
|
|
||||||
|
**Tech Stack:** PHP 8.4 (backed enums, readonly DTOs, named args), PHPUnit 12, Symfony 8 DI.
|
||||||
|
|
||||||
|
Spec de référence : `docs/superpowers/specs/2026-04-22-phase2-create-entree-sortie-design.md`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## File Structure
|
||||||
|
|
||||||
|
### À créer
|
||||||
|
|
||||||
|
```
|
||||||
|
src/Bovin/Enum/CauseEntree.php enum 3 cases (Achat/Naissance/PretOuPension)
|
||||||
|
src/Bovin/Enum/CauseSortie.php enum 6 cases
|
||||||
|
src/Bovin/Enum/CategorieBovinIPG.php enum 13 cases (code 2-lettres)
|
||||||
|
src/Bovin/Dto/CreateEntreeRequest.php request DTO
|
||||||
|
src/Bovin/Dto/CreateSortieRequest.php request DTO
|
||||||
|
src/Bovin/Dto/CreateEntreeResponseDto.php response DTO
|
||||||
|
src/Bovin/Dto/CreateSortieResponseDto.php response DTO
|
||||||
|
src/Bovin/Mapper/CreateEntreeResponseMapper.php mapper dédié
|
||||||
|
src/Bovin/Mapper/CreateSortieResponseMapper.php mapper dédié
|
||||||
|
tests/Unit/Bovin/Mapper/CreateEntreeResponseMapperTest.php 2 tests
|
||||||
|
tests/Unit/Bovin/Mapper/CreateSortieResponseMapperTest.php 2 tests
|
||||||
|
```
|
||||||
|
|
||||||
|
### À modifier
|
||||||
|
|
||||||
|
```
|
||||||
|
src/Bovin/Api/BovinApiInterface.php +2 méthodes, +imports
|
||||||
|
src/Bovin/Api/BovinApi.php +2 méthodes, +2 constructor deps, +imports
|
||||||
|
config/services.php +2 mappers registered, +2 args on BovinApi
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Task 1 — Les 3 enums
|
||||||
|
|
||||||
|
Pure data, aucune dépendance. Un seul commit pour les trois.
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Create: `src/Bovin/Enum/CauseEntree.php`
|
||||||
|
- Create: `src/Bovin/Enum/CauseSortie.php`
|
||||||
|
- Create: `src/Bovin/Enum/CategorieBovinIPG.php`
|
||||||
|
|
||||||
|
### Steps
|
||||||
|
|
||||||
|
- [ ] **Step 1: Créer `CauseEntree`**
|
||||||
|
|
||||||
|
Contenu complet de `src/Bovin/Enum/CauseEntree.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Enum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Cause d'une entrée de bovin sur l'exploitation (opération `IpBCreateEntree`).
|
||||||
|
*
|
||||||
|
* Source : `resources/ednotif-ws/CauseEntree.XSD` + doc IPG Table 9.
|
||||||
|
* Le `.value` est le code IPG transmis dans le payload SOAP.
|
||||||
|
*/
|
||||||
|
enum CauseEntree: string
|
||||||
|
{
|
||||||
|
/** Entrée par achat. */
|
||||||
|
case Achat = 'A';
|
||||||
|
|
||||||
|
/** Entrée par naissance. */
|
||||||
|
case Naissance = 'N';
|
||||||
|
|
||||||
|
/** Entrée par prêt ou pension. */
|
||||||
|
case PretOuPension = 'P';
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 2: Créer `CauseSortie`**
|
||||||
|
|
||||||
|
Contenu complet de `src/Bovin/Enum/CauseSortie.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Enum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Cause d'une sortie de bovin de l'exploitation (opération `IpBCreateSortie`).
|
||||||
|
*
|
||||||
|
* Source : `resources/ednotif-ws/CauseSortie.XSD` + doc IPG Table 9.
|
||||||
|
* Le `.value` est le code IPG transmis dans le payload SOAP.
|
||||||
|
*
|
||||||
|
* Le code `H` porte ici le sens "Sortie pour prêt ou pension" (équivalent du `P`
|
||||||
|
* sur une entrée) ; le WSDL garantit que chaque code n'apparaît que dans son sens,
|
||||||
|
* pas d'ambiguïté à gérer côté consommateur.
|
||||||
|
*/
|
||||||
|
enum CauseSortie: string
|
||||||
|
{
|
||||||
|
/** Sortie pour boucherie. */
|
||||||
|
case Boucherie = 'B';
|
||||||
|
|
||||||
|
/** Sortie pour auto-consommation. */
|
||||||
|
case Consommation = 'C';
|
||||||
|
|
||||||
|
/** Sortie pour élevage ou vente. */
|
||||||
|
case Elevage = 'E';
|
||||||
|
|
||||||
|
/** Sortie pour mort. */
|
||||||
|
case Mort = 'M';
|
||||||
|
|
||||||
|
/** Sortie pour prêt ou pension. */
|
||||||
|
case PretOuPension = 'H';
|
||||||
|
|
||||||
|
/** Autre cause (réservée aux reprises / données historiques). */
|
||||||
|
case Autre = 'X';
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 3: Créer `CategorieBovinIPG`**
|
||||||
|
|
||||||
|
Contenu complet de `src/Bovin/Enum/CategorieBovinIPG.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Enum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Catégorie IPG d'un bovin (champ optionnel de `IpBCreateEntree`).
|
||||||
|
*
|
||||||
|
* Source : `resources/ednotif-ws/CategorieBovinIPG.XSD`.
|
||||||
|
* Le `.value` est le code IPG (2 lettres) transmis dans le payload SOAP.
|
||||||
|
* Les case names suivent le code XSD, les libellés sont en docblock.
|
||||||
|
*/
|
||||||
|
enum CategorieBovinIPG: string
|
||||||
|
{
|
||||||
|
/** Boeuf. */
|
||||||
|
case BO = 'BO';
|
||||||
|
|
||||||
|
/** Broutard. */
|
||||||
|
case BR = 'BR';
|
||||||
|
|
||||||
|
/** Femelle à l'engraissement. */
|
||||||
|
case FE = 'FE';
|
||||||
|
|
||||||
|
/** Génisse laitière. */
|
||||||
|
case GL = 'GL';
|
||||||
|
|
||||||
|
/** Génisse viande. */
|
||||||
|
case GV = 'GV';
|
||||||
|
|
||||||
|
/** Mâle. */
|
||||||
|
case MA = 'MA';
|
||||||
|
|
||||||
|
/** Mâle reproducteur. */
|
||||||
|
case MR = 'MR';
|
||||||
|
|
||||||
|
/** Taurillon. */
|
||||||
|
case TA = 'TA';
|
||||||
|
|
||||||
|
/** Vache allaitante. */
|
||||||
|
case VA = 'VA';
|
||||||
|
|
||||||
|
/** Veau de boucherie. */
|
||||||
|
case VB = 'VB';
|
||||||
|
|
||||||
|
/** Veau. */
|
||||||
|
case VE = 'VE';
|
||||||
|
|
||||||
|
/** Vache laitière. */
|
||||||
|
case VL = 'VL';
|
||||||
|
|
||||||
|
/** Vache de réforme. */
|
||||||
|
case VR = 'VR';
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 4: Vérifier la suite (pas d'impact)**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : toujours 56 tests / 107 assertions verts (les enums ne sont pas encore référencés).
|
||||||
|
|
||||||
|
- [ ] **Step 5: Commit**
|
||||||
|
|
||||||
|
```
|
||||||
|
git add src/Bovin/Enum/
|
||||||
|
git commit -m "feat : enums CauseEntree, CauseSortie, CategorieBovinIPG"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Task 2 — Les 2 request DTOs
|
||||||
|
|
||||||
|
Pure data, dépend des enums de Task 1 et de `BovinRef`/`ExploitationRef` existants.
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Create: `src/Bovin/Dto/CreateEntreeRequest.php`
|
||||||
|
- Create: `src/Bovin/Dto/CreateSortieRequest.php`
|
||||||
|
|
||||||
|
### Steps
|
||||||
|
|
||||||
|
- [ ] **Step 1: Créer `CreateEntreeRequest`**
|
||||||
|
|
||||||
|
Contenu complet de `src/Bovin/Dto/CreateEntreeRequest.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Dto;
|
||||||
|
|
||||||
|
use DateTimeInterface;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Enum\CategorieBovinIPG;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Enum\CauseEntree;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Paramètres d'une déclaration d'entrée bovin (opération `IpBCreateEntree`).
|
||||||
|
*
|
||||||
|
* `codeAtelier` suit le pattern XSD `[LABEM][1-9]` (L=Lait, A=Allaitant,
|
||||||
|
* B=Veaux de boucherie, E=Engraissement autre, M=Manade). Non validé côté
|
||||||
|
* bundle : EDNOTIF rejette la valeur malformée via `EdnotifException`.
|
||||||
|
*/
|
||||||
|
final readonly class CreateEntreeRequest
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public BovinRef $bovin,
|
||||||
|
public DateTimeInterface $date,
|
||||||
|
public CauseEntree $cause,
|
||||||
|
public ExploitationRef $provenance,
|
||||||
|
public ?string $codeAtelier = null,
|
||||||
|
public ?CategorieBovinIPG $codeCategorieBovin = null,
|
||||||
|
) {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 2: Créer `CreateSortieRequest`**
|
||||||
|
|
||||||
|
Contenu complet de `src/Bovin/Dto/CreateSortieRequest.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Dto;
|
||||||
|
|
||||||
|
use DateTimeInterface;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Enum\CauseSortie;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Paramètres d'une déclaration de sortie bovin (opération `IpBCreateSortie`).
|
||||||
|
*/
|
||||||
|
final readonly class CreateSortieRequest
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public BovinRef $bovin,
|
||||||
|
public DateTimeInterface $date,
|
||||||
|
public CauseSortie $cause,
|
||||||
|
public ExploitationRef $destination,
|
||||||
|
) {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 3: Vérifier la suite (pas d'impact)**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : 56 tests toujours verts.
|
||||||
|
|
||||||
|
- [ ] **Step 4: Commit**
|
||||||
|
|
||||||
|
```
|
||||||
|
git add src/Bovin/Dto/CreateEntreeRequest.php src/Bovin/Dto/CreateSortieRequest.php
|
||||||
|
git commit -m "feat : request DTOs pour createEntree et createSortie"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Task 3 — `CreateEntreeResponseDto` + Mapper + Tests (TDD)
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Create: `src/Bovin/Dto/CreateEntreeResponseDto.php`
|
||||||
|
- Create: `src/Bovin/Mapper/CreateEntreeResponseMapper.php`
|
||||||
|
- Create: `tests/Unit/Bovin/Mapper/CreateEntreeResponseMapperTest.php`
|
||||||
|
|
||||||
|
### Steps
|
||||||
|
|
||||||
|
- [ ] **Step 1: Écrire le test (RED)**
|
||||||
|
|
||||||
|
Contenu complet de `tests/Unit/Bovin/Mapper/CreateEntreeResponseMapperTest.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Tests\Unit\Bovin\Mapper;
|
||||||
|
|
||||||
|
use DateTimeImmutable;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateEntreeResponseDto;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\CreateEntreeResponseMapper;
|
||||||
|
use Malio\EdnotifBundle\Shared\Mapper\StandardResponseMapper;
|
||||||
|
use PHPUnit\Framework\Attributes\CoversClass;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
use stdClass;
|
||||||
|
|
||||||
|
#[CoversClass(CreateEntreeResponseMapper::class)]
|
||||||
|
final class CreateEntreeResponseMapperTest extends TestCase
|
||||||
|
{
|
||||||
|
public function testMapPendingBdniValidation(): void
|
||||||
|
{
|
||||||
|
$soapResponse = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard->Resultat = true;
|
||||||
|
$soapResponse->ReponseSpecifique = new stdClass();
|
||||||
|
$soapResponse->ReponseSpecifique->AttenteValidationBDNi = true;
|
||||||
|
|
||||||
|
$dto = (new CreateEntreeResponseMapper(new StandardResponseMapper()))->map($soapResponse);
|
||||||
|
|
||||||
|
self::assertInstanceOf(CreateEntreeResponseDto::class, $dto);
|
||||||
|
self::assertTrue($dto->standardResponse->result);
|
||||||
|
self::assertTrue($dto->pendingBdniValidation);
|
||||||
|
self::assertNull($dto->identification);
|
||||||
|
self::assertNull($dto->entryMovement);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testMapValidatedEntry(): void
|
||||||
|
{
|
||||||
|
$soapResponse = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard->Resultat = true;
|
||||||
|
$soapResponse->ReponseSpecifique = new stdClass();
|
||||||
|
|
||||||
|
$validee = new stdClass();
|
||||||
|
$validee->IdentiteBovin = new stdClass();
|
||||||
|
$validee->IdentiteBovin->Sexe = 'F';
|
||||||
|
$validee->IdentiteBovin->Bovin = new stdClass();
|
||||||
|
$validee->IdentiteBovin->Bovin->CodePays = 'FR';
|
||||||
|
$validee->IdentiteBovin->Bovin->NumeroNational = 'FR1234567890';
|
||||||
|
|
||||||
|
$validee->MouvementEntreeBovin = new stdClass();
|
||||||
|
$validee->MouvementEntreeBovin->DateEntree = '2026-04-22';
|
||||||
|
$validee->MouvementEntreeBovin->CauseEntree = 'A';
|
||||||
|
|
||||||
|
$soapResponse->ReponseSpecifique->EntreeValidee = $validee;
|
||||||
|
|
||||||
|
$dto = (new CreateEntreeResponseMapper(new StandardResponseMapper()))->map($soapResponse);
|
||||||
|
|
||||||
|
self::assertFalse($dto->pendingBdniValidation);
|
||||||
|
self::assertNotNull($dto->identification);
|
||||||
|
self::assertSame('F', $dto->identification->sex);
|
||||||
|
self::assertSame('FR1234567890', $dto->identification->bovin?->nationalNumber);
|
||||||
|
self::assertNotNull($dto->entryMovement);
|
||||||
|
self::assertEquals(new DateTimeImmutable('2026-04-22'), $dto->entryMovement->date);
|
||||||
|
self::assertSame('A', $dto->entryMovement->cause);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 2: Lancer le test (doit échouer)**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test FILES=tests/Unit/Bovin/Mapper/CreateEntreeResponseMapperTest.php
|
||||||
|
```
|
||||||
|
Expected : erreur `Class ... not found` sur `CreateEntreeResponseDto` ou `CreateEntreeResponseMapper`.
|
||||||
|
|
||||||
|
- [ ] **Step 3: Créer `CreateEntreeResponseDto`**
|
||||||
|
|
||||||
|
Contenu complet de `src/Bovin/Dto/CreateEntreeResponseDto.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Dto;
|
||||||
|
|
||||||
|
use Malio\EdnotifBundle\Shared\Dto\StandardResponseDto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Réponse de `IpBCreateEntree`.
|
||||||
|
*
|
||||||
|
* Si `$pendingBdniValidation === true`, EDNOTIF a accepté la requête mais
|
||||||
|
* attend la validation asynchrone de la BDNi — `identification` et
|
||||||
|
* `entryMovement` sont `null`. Sinon, les deux sont populés avec les données
|
||||||
|
* validées du bovin et du mouvement d'entrée.
|
||||||
|
*/
|
||||||
|
final readonly class CreateEntreeResponseDto
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public StandardResponseDto $standardResponse,
|
||||||
|
public bool $pendingBdniValidation,
|
||||||
|
public ?BovinIdentificationDto $identification,
|
||||||
|
public ?MovementDto $entryMovement,
|
||||||
|
public ?object $rawSoapResponse,
|
||||||
|
) {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 4: Créer `CreateEntreeResponseMapper`**
|
||||||
|
|
||||||
|
Contenu complet de `src/Bovin/Mapper/CreateEntreeResponseMapper.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Mapper;
|
||||||
|
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateEntreeResponseDto;
|
||||||
|
use Malio\EdnotifBundle\Shared\Mapper\StandardResponseMapper;
|
||||||
|
|
||||||
|
final class CreateEntreeResponseMapper
|
||||||
|
{
|
||||||
|
use BovinNodeMappingTrait;
|
||||||
|
|
||||||
|
public function __construct(
|
||||||
|
private readonly StandardResponseMapper $standardResponseMapper,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function map(object $soapResponse): CreateEntreeResponseDto
|
||||||
|
{
|
||||||
|
$standardResponse = $this->standardResponseMapper->map($soapResponse->ReponseStandard ?? null);
|
||||||
|
|
||||||
|
$specific = $soapResponse->ReponseSpecifique ?? null;
|
||||||
|
|
||||||
|
$pending = false;
|
||||||
|
$identification = null;
|
||||||
|
$entryMovement = null;
|
||||||
|
|
||||||
|
if (is_object($specific)) {
|
||||||
|
$pendingFlag = $specific->AttenteValidationBDNi ?? null;
|
||||||
|
if (null !== $pendingFlag) {
|
||||||
|
$pending = (bool) $this->toNullableBool($pendingFlag);
|
||||||
|
}
|
||||||
|
|
||||||
|
$validee = $specific->EntreeValidee ?? null;
|
||||||
|
if (is_object($validee)) {
|
||||||
|
$identityNode = $validee->IdentiteBovin ?? null;
|
||||||
|
if (is_object($identityNode)) {
|
||||||
|
$identification = $this->mapIdentification($identityNode);
|
||||||
|
}
|
||||||
|
|
||||||
|
$movementNode = $validee->MouvementEntreeBovin ?? null;
|
||||||
|
if (is_object($movementNode)) {
|
||||||
|
$entryMovement = $this->mapMovement($movementNode, 'entry');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return new CreateEntreeResponseDto(
|
||||||
|
standardResponse: $standardResponse,
|
||||||
|
pendingBdniValidation: $pending,
|
||||||
|
identification: $identification,
|
||||||
|
entryMovement: $entryMovement,
|
||||||
|
rawSoapResponse: $soapResponse,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 5: Vérifier GREEN**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test FILES=tests/Unit/Bovin/Mapper/CreateEntreeResponseMapperTest.php
|
||||||
|
```
|
||||||
|
Expected : 2 tests passent.
|
||||||
|
|
||||||
|
- [ ] **Step 6: Vérifier la suite complète**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : 58 tests verts (56 existants + 2 nouveaux).
|
||||||
|
|
||||||
|
- [ ] **Step 7: Commit**
|
||||||
|
|
||||||
|
```
|
||||||
|
git add src/Bovin/Dto/CreateEntreeResponseDto.php \
|
||||||
|
src/Bovin/Mapper/CreateEntreeResponseMapper.php \
|
||||||
|
tests/Unit/Bovin/Mapper/CreateEntreeResponseMapperTest.php
|
||||||
|
git commit -m "feat : DTO et mapper de réponse pour IpBCreateEntree"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Task 4 — Câbler `createEntree` dans `BovinApi`
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Modify: `src/Bovin/Api/BovinApiInterface.php`
|
||||||
|
- Modify: `src/Bovin/Api/BovinApi.php`
|
||||||
|
- Modify: `config/services.php`
|
||||||
|
|
||||||
|
### Steps
|
||||||
|
|
||||||
|
- [ ] **Step 1: Ajouter la méthode à l'interface**
|
||||||
|
|
||||||
|
Dans `src/Bovin/Api/BovinApiInterface.php`, ajouter l'import et la méthode.
|
||||||
|
|
||||||
|
Ajouter ces imports en tête (après ceux déjà présents) :
|
||||||
|
```php
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateEntreeRequest;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateEntreeResponseDto;
|
||||||
|
```
|
||||||
|
|
||||||
|
Ajouter la méthode juste après `getPresumedExits(): PresumedExitsDto;` :
|
||||||
|
```php
|
||||||
|
public function createEntree(CreateEntreeRequest $request): CreateEntreeResponseDto;
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 2: Étendre `BovinApi`**
|
||||||
|
|
||||||
|
Dans `src/Bovin/Api/BovinApi.php`, ajouter les imports suivants (alphabétiques) :
|
||||||
|
```php
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateEntreeRequest;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateEntreeResponseDto;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\CreateEntreeResponseMapper;
|
||||||
|
```
|
||||||
|
|
||||||
|
Étendre le constructeur en ajoutant la nouvelle dépendance **juste après `$presumedExitsMapper`**, avant `$zipMessageDecoder` :
|
||||||
|
```php
|
||||||
|
private PresumedExitsMapper $presumedExitsMapper,
|
||||||
|
private CreateEntreeResponseMapper $createEntreeResponseMapper,
|
||||||
|
private ZipMessageDecoder $zipMessageDecoder,
|
||||||
|
```
|
||||||
|
|
||||||
|
Ajouter la méthode `createEntree` **juste après `getPresumedExits()`** :
|
||||||
|
```php
|
||||||
|
public function createEntree(CreateEntreeRequest $request): CreateEntreeResponseDto
|
||||||
|
{
|
||||||
|
$token = $this->tokenProvider->getToken();
|
||||||
|
|
||||||
|
$payload = [
|
||||||
|
'JetonAuthentification' => $token,
|
||||||
|
'Exploitation' => [
|
||||||
|
'CodePays' => $this->exploitationCountryCode,
|
||||||
|
'NumeroExploitation' => $this->exploitationNumber,
|
||||||
|
],
|
||||||
|
'Bovin' => [
|
||||||
|
'CodePays' => $request->bovin->countryCode,
|
||||||
|
'NumeroNational' => $request->bovin->nationalNumber,
|
||||||
|
],
|
||||||
|
'DateEntree' => $request->date->format('Y-m-d'),
|
||||||
|
'CauseEntree' => $request->cause->value,
|
||||||
|
'ExploitationProvenance' => [
|
||||||
|
'CodePays' => $request->provenance->countryCode,
|
||||||
|
'NumeroExploitation' => $request->provenance->exploitationNumber,
|
||||||
|
],
|
||||||
|
];
|
||||||
|
if (null !== $request->codeAtelier) {
|
||||||
|
$payload['CodeAtelier'] = $request->codeAtelier;
|
||||||
|
}
|
||||||
|
if (null !== $request->codeCategorieBovin) {
|
||||||
|
$payload['CodeCategorieBovin'] = $request->codeCategorieBovin->value;
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
/** @var object $soapResponse */
|
||||||
|
$soapResponse = $this->businessClient->__soapCall('IpBCreateEntree', [$payload]);
|
||||||
|
} catch (SoapFault $soapFault) {
|
||||||
|
throw new RuntimeException('SOAP Fault on IpBCreateEntree: '.$soapFault->getMessage(), 0, $soapFault);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->assertSuccessfulResponse($soapResponse, 'IpBCreateEntree');
|
||||||
|
|
||||||
|
return $this->createEntreeResponseMapper->map($soapResponse);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 3: Enregistrer le mapper dans `config/services.php`**
|
||||||
|
|
||||||
|
Ajouter l'import :
|
||||||
|
```php
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\CreateEntreeResponseMapper;
|
||||||
|
```
|
||||||
|
|
||||||
|
Enregistrer le mapper **juste après `PresumedExitsMapper`** (lignes 61-65 dans le fichier actuel) :
|
||||||
|
```php
|
||||||
|
$services->set(CreateEntreeResponseMapper::class)
|
||||||
|
->args([
|
||||||
|
service(StandardResponseMapper::class),
|
||||||
|
])
|
||||||
|
;
|
||||||
|
```
|
||||||
|
|
||||||
|
Mettre à jour le bloc `BovinApi` en insérant le service après `PresumedExitsMapper` et avant `ZipMessageDecoder` :
|
||||||
|
```php
|
||||||
|
$services->set(BovinApi::class)
|
||||||
|
->args([
|
||||||
|
service(TokenProvider::class),
|
||||||
|
service('ednotif.soap.business'),
|
||||||
|
service(AnimalFileMapper::class),
|
||||||
|
service(InventoryMapper::class),
|
||||||
|
service(ReturnedDossiersMapper::class),
|
||||||
|
service(PresumedExitsMapper::class),
|
||||||
|
service(CreateEntreeResponseMapper::class),
|
||||||
|
service(ZipMessageDecoder::class),
|
||||||
|
'%ednotif.exploitation_country_code%',
|
||||||
|
'%ednotif.exploitation_number%',
|
||||||
|
])
|
||||||
|
;
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 4: Vérifier la suite**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : 58 tests toujours verts (pas de nouveau test, mais pas de régression non plus).
|
||||||
|
|
||||||
|
- [ ] **Step 5: Commit**
|
||||||
|
|
||||||
|
```
|
||||||
|
git add src/Bovin/Api/BovinApiInterface.php src/Bovin/Api/BovinApi.php config/services.php
|
||||||
|
git commit -m "feat : expose IpBCreateEntree via BovinApi::createEntree"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Task 5 — `CreateSortieResponseDto` + Mapper + Tests (TDD)
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Create: `src/Bovin/Dto/CreateSortieResponseDto.php`
|
||||||
|
- Create: `src/Bovin/Mapper/CreateSortieResponseMapper.php`
|
||||||
|
- Create: `tests/Unit/Bovin/Mapper/CreateSortieResponseMapperTest.php`
|
||||||
|
|
||||||
|
### Steps
|
||||||
|
|
||||||
|
- [ ] **Step 1: Écrire le test (RED)**
|
||||||
|
|
||||||
|
Contenu complet de `tests/Unit/Bovin/Mapper/CreateSortieResponseMapperTest.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Tests\Unit\Bovin\Mapper;
|
||||||
|
|
||||||
|
use DateTimeImmutable;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateSortieResponseDto;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\CreateSortieResponseMapper;
|
||||||
|
use Malio\EdnotifBundle\Shared\Mapper\StandardResponseMapper;
|
||||||
|
use PHPUnit\Framework\Attributes\CoversClass;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
use stdClass;
|
||||||
|
|
||||||
|
#[CoversClass(CreateSortieResponseMapper::class)]
|
||||||
|
final class CreateSortieResponseMapperTest extends TestCase
|
||||||
|
{
|
||||||
|
public function testMapPendingBdniValidation(): void
|
||||||
|
{
|
||||||
|
$soapResponse = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard->Resultat = true;
|
||||||
|
$soapResponse->ReponseSpecifique = new stdClass();
|
||||||
|
$soapResponse->ReponseSpecifique->AttenteValidationBDNi = true;
|
||||||
|
|
||||||
|
$dto = (new CreateSortieResponseMapper(new StandardResponseMapper()))->map($soapResponse);
|
||||||
|
|
||||||
|
self::assertInstanceOf(CreateSortieResponseDto::class, $dto);
|
||||||
|
self::assertTrue($dto->pendingBdniValidation);
|
||||||
|
self::assertNull($dto->identification);
|
||||||
|
self::assertNull($dto->entryMovement);
|
||||||
|
self::assertNull($dto->exitMovement);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testMapValidatedExit(): void
|
||||||
|
{
|
||||||
|
$soapResponse = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard = new stdClass();
|
||||||
|
$soapResponse->ReponseStandard->Resultat = true;
|
||||||
|
$soapResponse->ReponseSpecifique = new stdClass();
|
||||||
|
|
||||||
|
$validee = new stdClass();
|
||||||
|
$validee->IdentiteBovin = new stdClass();
|
||||||
|
$validee->IdentiteBovin->Sexe = 'M';
|
||||||
|
$validee->IdentiteBovin->Bovin = new stdClass();
|
||||||
|
$validee->IdentiteBovin->Bovin->NumeroNational = 'FR9999999999';
|
||||||
|
|
||||||
|
$mouvement = new stdClass();
|
||||||
|
$mouvement->MouvementEntreeBovin = new stdClass();
|
||||||
|
$mouvement->MouvementEntreeBovin->DateEntree = '2024-01-10';
|
||||||
|
$mouvement->MouvementEntreeBovin->CauseEntree = 'A';
|
||||||
|
|
||||||
|
$mouvement->MouvementSortieBovin = new stdClass();
|
||||||
|
$mouvement->MouvementSortieBovin->DateSortie = '2026-04-22';
|
||||||
|
$mouvement->MouvementSortieBovin->CauseSortie = 'B';
|
||||||
|
|
||||||
|
$validee->MouvementBovin = $mouvement;
|
||||||
|
|
||||||
|
$soapResponse->ReponseSpecifique->SortieValidee = $validee;
|
||||||
|
|
||||||
|
$dto = (new CreateSortieResponseMapper(new StandardResponseMapper()))->map($soapResponse);
|
||||||
|
|
||||||
|
self::assertFalse($dto->pendingBdniValidation);
|
||||||
|
self::assertNotNull($dto->identification);
|
||||||
|
self::assertSame('M', $dto->identification->sex);
|
||||||
|
self::assertSame('FR9999999999', $dto->identification->bovin?->nationalNumber);
|
||||||
|
self::assertNotNull($dto->entryMovement);
|
||||||
|
self::assertEquals(new DateTimeImmutable('2024-01-10'), $dto->entryMovement->date);
|
||||||
|
self::assertSame('A', $dto->entryMovement->cause);
|
||||||
|
self::assertNotNull($dto->exitMovement);
|
||||||
|
self::assertEquals(new DateTimeImmutable('2026-04-22'), $dto->exitMovement->date);
|
||||||
|
self::assertSame('B', $dto->exitMovement->cause);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 2: Lancer le test (doit échouer)**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test FILES=tests/Unit/Bovin/Mapper/CreateSortieResponseMapperTest.php
|
||||||
|
```
|
||||||
|
Expected : classe introuvable.
|
||||||
|
|
||||||
|
- [ ] **Step 3: Créer `CreateSortieResponseDto`**
|
||||||
|
|
||||||
|
Contenu complet de `src/Bovin/Dto/CreateSortieResponseDto.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Dto;
|
||||||
|
|
||||||
|
use Malio\EdnotifBundle\Shared\Dto\StandardResponseDto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Réponse de `IpBCreateSortie`.
|
||||||
|
*
|
||||||
|
* Si `$pendingBdniValidation === true`, EDNOTIF a accepté la requête mais
|
||||||
|
* attend la validation asynchrone de la BDNi — `identification`, `entryMovement`
|
||||||
|
* et `exitMovement` sont `null`. Sinon, EDNOTIF renvoie la **période de présence
|
||||||
|
* clôturée** : l'entrée initiale du bovin sur l'exploitation (`entryMovement`)
|
||||||
|
* **et** la sortie qui vient d'être déclarée (`exitMovement`).
|
||||||
|
*/
|
||||||
|
final readonly class CreateSortieResponseDto
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public StandardResponseDto $standardResponse,
|
||||||
|
public bool $pendingBdniValidation,
|
||||||
|
public ?BovinIdentificationDto $identification,
|
||||||
|
public ?MovementDto $entryMovement,
|
||||||
|
public ?MovementDto $exitMovement,
|
||||||
|
public ?object $rawSoapResponse,
|
||||||
|
) {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 4: Créer `CreateSortieResponseMapper`**
|
||||||
|
|
||||||
|
Contenu complet de `src/Bovin/Mapper/CreateSortieResponseMapper.php` :
|
||||||
|
```php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Malio\EdnotifBundle\Bovin\Mapper;
|
||||||
|
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateSortieResponseDto;
|
||||||
|
use Malio\EdnotifBundle\Shared\Mapper\StandardResponseMapper;
|
||||||
|
|
||||||
|
final class CreateSortieResponseMapper
|
||||||
|
{
|
||||||
|
use BovinNodeMappingTrait;
|
||||||
|
|
||||||
|
public function __construct(
|
||||||
|
private readonly StandardResponseMapper $standardResponseMapper,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function map(object $soapResponse): CreateSortieResponseDto
|
||||||
|
{
|
||||||
|
$standardResponse = $this->standardResponseMapper->map($soapResponse->ReponseStandard ?? null);
|
||||||
|
|
||||||
|
$specific = $soapResponse->ReponseSpecifique ?? null;
|
||||||
|
|
||||||
|
$pending = false;
|
||||||
|
$identification = null;
|
||||||
|
$entryMovement = null;
|
||||||
|
$exitMovement = null;
|
||||||
|
|
||||||
|
if (is_object($specific)) {
|
||||||
|
$pendingFlag = $specific->AttenteValidationBDNi ?? null;
|
||||||
|
if (null !== $pendingFlag) {
|
||||||
|
$pending = (bool) $this->toNullableBool($pendingFlag);
|
||||||
|
}
|
||||||
|
|
||||||
|
$validee = $specific->SortieValidee ?? null;
|
||||||
|
if (is_object($validee)) {
|
||||||
|
$identityNode = $validee->IdentiteBovin ?? null;
|
||||||
|
if (is_object($identityNode)) {
|
||||||
|
$identification = $this->mapIdentification($identityNode);
|
||||||
|
}
|
||||||
|
|
||||||
|
$mouvementBovin = $validee->MouvementBovin ?? null;
|
||||||
|
if (is_object($mouvementBovin)) {
|
||||||
|
$entryNode = $mouvementBovin->MouvementEntreeBovin ?? null;
|
||||||
|
if (is_object($entryNode)) {
|
||||||
|
$entryMovement = $this->mapMovement($entryNode, 'entry');
|
||||||
|
}
|
||||||
|
|
||||||
|
$exitNode = $mouvementBovin->MouvementSortieBovin ?? null;
|
||||||
|
if (is_object($exitNode)) {
|
||||||
|
$exitMovement = $this->mapMovement($exitNode, 'exit');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return new CreateSortieResponseDto(
|
||||||
|
standardResponse: $standardResponse,
|
||||||
|
pendingBdniValidation: $pending,
|
||||||
|
identification: $identification,
|
||||||
|
entryMovement: $entryMovement,
|
||||||
|
exitMovement: $exitMovement,
|
||||||
|
rawSoapResponse: $soapResponse,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 5: Vérifier GREEN**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test FILES=tests/Unit/Bovin/Mapper/CreateSortieResponseMapperTest.php
|
||||||
|
```
|
||||||
|
Expected : 2 tests passent.
|
||||||
|
|
||||||
|
- [ ] **Step 6: Vérifier la suite complète**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : 60 tests verts (58 + 2).
|
||||||
|
|
||||||
|
- [ ] **Step 7: Commit**
|
||||||
|
|
||||||
|
```
|
||||||
|
git add src/Bovin/Dto/CreateSortieResponseDto.php \
|
||||||
|
src/Bovin/Mapper/CreateSortieResponseMapper.php \
|
||||||
|
tests/Unit/Bovin/Mapper/CreateSortieResponseMapperTest.php
|
||||||
|
git commit -m "feat : DTO et mapper de réponse pour IpBCreateSortie"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Task 6 — Câbler `createSortie` dans `BovinApi`
|
||||||
|
|
||||||
|
**Files:**
|
||||||
|
- Modify: `src/Bovin/Api/BovinApiInterface.php`
|
||||||
|
- Modify: `src/Bovin/Api/BovinApi.php`
|
||||||
|
- Modify: `config/services.php`
|
||||||
|
|
||||||
|
### Steps
|
||||||
|
|
||||||
|
- [ ] **Step 1: Ajouter la méthode à l'interface**
|
||||||
|
|
||||||
|
Dans `src/Bovin/Api/BovinApiInterface.php`, ajouter les imports :
|
||||||
|
```php
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateSortieRequest;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateSortieResponseDto;
|
||||||
|
```
|
||||||
|
|
||||||
|
Ajouter la méthode après `createEntree(...): CreateEntreeResponseDto;` :
|
||||||
|
```php
|
||||||
|
public function createSortie(CreateSortieRequest $request): CreateSortieResponseDto;
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 2: Étendre `BovinApi`**
|
||||||
|
|
||||||
|
Ajouter les imports dans `src/Bovin/Api/BovinApi.php` :
|
||||||
|
```php
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateSortieRequest;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Dto\CreateSortieResponseDto;
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\CreateSortieResponseMapper;
|
||||||
|
```
|
||||||
|
|
||||||
|
Ajouter la dépendance au constructeur **juste après `$createEntreeResponseMapper`** :
|
||||||
|
```php
|
||||||
|
private CreateEntreeResponseMapper $createEntreeResponseMapper,
|
||||||
|
private CreateSortieResponseMapper $createSortieResponseMapper,
|
||||||
|
private ZipMessageDecoder $zipMessageDecoder,
|
||||||
|
```
|
||||||
|
|
||||||
|
Ajouter la méthode après `createEntree(...)` :
|
||||||
|
```php
|
||||||
|
public function createSortie(CreateSortieRequest $request): CreateSortieResponseDto
|
||||||
|
{
|
||||||
|
$token = $this->tokenProvider->getToken();
|
||||||
|
|
||||||
|
$payload = [
|
||||||
|
'JetonAuthentification' => $token,
|
||||||
|
'Exploitation' => [
|
||||||
|
'CodePays' => $this->exploitationCountryCode,
|
||||||
|
'NumeroExploitation' => $this->exploitationNumber,
|
||||||
|
],
|
||||||
|
'Bovin' => [
|
||||||
|
'CodePays' => $request->bovin->countryCode,
|
||||||
|
'NumeroNational' => $request->bovin->nationalNumber,
|
||||||
|
],
|
||||||
|
'DateSortie' => $request->date->format('Y-m-d'),
|
||||||
|
'CauseSortie' => $request->cause->value,
|
||||||
|
'ExploitationDestination' => [
|
||||||
|
'CodePays' => $request->destination->countryCode,
|
||||||
|
'NumeroExploitation' => $request->destination->exploitationNumber,
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
try {
|
||||||
|
/** @var object $soapResponse */
|
||||||
|
$soapResponse = $this->businessClient->__soapCall('IpBCreateSortie', [$payload]);
|
||||||
|
} catch (SoapFault $soapFault) {
|
||||||
|
throw new RuntimeException('SOAP Fault on IpBCreateSortie: '.$soapFault->getMessage(), 0, $soapFault);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->assertSuccessfulResponse($soapResponse, 'IpBCreateSortie');
|
||||||
|
|
||||||
|
return $this->createSortieResponseMapper->map($soapResponse);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 3: Enregistrer le mapper dans `config/services.php`**
|
||||||
|
|
||||||
|
Ajouter l'import :
|
||||||
|
```php
|
||||||
|
use Malio\EdnotifBundle\Bovin\Mapper\CreateSortieResponseMapper;
|
||||||
|
```
|
||||||
|
|
||||||
|
Enregistrer le mapper juste après `CreateEntreeResponseMapper` :
|
||||||
|
```php
|
||||||
|
$services->set(CreateSortieResponseMapper::class)
|
||||||
|
->args([
|
||||||
|
service(StandardResponseMapper::class),
|
||||||
|
])
|
||||||
|
;
|
||||||
|
```
|
||||||
|
|
||||||
|
Mettre à jour le bloc `BovinApi` en insérant le service après `CreateEntreeResponseMapper` :
|
||||||
|
```php
|
||||||
|
$services->set(BovinApi::class)
|
||||||
|
->args([
|
||||||
|
service(TokenProvider::class),
|
||||||
|
service('ednotif.soap.business'),
|
||||||
|
service(AnimalFileMapper::class),
|
||||||
|
service(InventoryMapper::class),
|
||||||
|
service(ReturnedDossiersMapper::class),
|
||||||
|
service(PresumedExitsMapper::class),
|
||||||
|
service(CreateEntreeResponseMapper::class),
|
||||||
|
service(CreateSortieResponseMapper::class),
|
||||||
|
service(ZipMessageDecoder::class),
|
||||||
|
'%ednotif.exploitation_country_code%',
|
||||||
|
'%ednotif.exploitation_number%',
|
||||||
|
])
|
||||||
|
;
|
||||||
|
```
|
||||||
|
|
||||||
|
- [ ] **Step 4: Vérifier la suite complète**
|
||||||
|
|
||||||
|
Run :
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
Expected : 60 tests toujours verts. Le constructeur de `BovinApi` a maintenant 11 args.
|
||||||
|
|
||||||
|
- [ ] **Step 5: Commit**
|
||||||
|
|
||||||
|
```
|
||||||
|
git add src/Bovin/Api/BovinApiInterface.php src/Bovin/Api/BovinApi.php config/services.php
|
||||||
|
git commit -m "feat : expose IpBCreateSortie via BovinApi::createSortie"
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Checklist finale
|
||||||
|
|
||||||
|
- [ ] `make test` vert, 60 tests / ~115 assertions
|
||||||
|
- [ ] 6 commits propres, un par Task (aucune tâche ne laisse la suite rouge entre deux commits)
|
||||||
|
- [ ] `BovinApiInterface` expose 6 méthodes au total (4 reads + 2 writes)
|
||||||
|
- [ ] `BovinApi` constructeur : 11 args
|
||||||
|
- [ ] `config/services.php` : 11 services enregistrés dans le bloc `BovinApi->args()`
|
||||||
|
- [ ] Pas de validation client-side, pas de test SOAP mock — conforme au scope exclu
|
||||||
@@ -0,0 +1,138 @@
|
|||||||
|
# Parsing de `SerieBoucles` → `EarTagSeriesDto` typé
|
||||||
|
|
||||||
|
## Contexte
|
||||||
|
|
||||||
|
`EarTagSeriesDto` a été introduit en Phase 1 comme wrapper minimal (`$rawNode: object`) autour du noeud `SerieBoucles` retourné par `IpBGetInventaire` quand le consommateur passe `includeEarTagStock: true`. Le docblock actuel dit que le XSD `typeSerieBoucles` est « riche » et qu'on différera le parsing — c'est **faux**. Le XSD (`resources/ednotif-ws/IpBNotif_v1.xsd:1181-1197`) ne contient que 3 champs :
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<xsd:complexType name="typeSerieBoucles">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="CodePays" type="tns:typeCodePaysFr"/>
|
||||||
|
<xsd:element name="DebutSerie"> <!-- string, 10 digits, pattern 0[1-9][0-9]{8}|[1-9][0-9]{9} -->
|
||||||
|
<xsd:element name="Quantite" type="xsd:unsignedInt"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
```
|
||||||
|
|
||||||
|
Sémantique : « j'ai `Quantite` boucles consécutives à partir du numéro `DebutSerie` dans le pays `CodePays` ». Une série = une plage de boucles physiques non utilisées, en stock chez l'éleveur.
|
||||||
|
|
||||||
|
## But
|
||||||
|
|
||||||
|
Remplacer le wrapper `rawNode` par un DTO typé à 3 champs, plus un helper calculé `endNumber()` qui rend l'usage UI immédiat (afficher « 50 boucles de 0012345678 à 0012345727 »).
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
|
||||||
|
### Inclus
|
||||||
|
|
||||||
|
- `EarTagSeriesDto` plat : `countryCode: string`, `startNumber: string`, `quantity: int`.
|
||||||
|
- Une méthode `endNumber(): string` qui renvoie `startNumber + quantity - 1` avec zéro-padding à 10 chiffres.
|
||||||
|
- Adaptation du `InventoryMapper` : instancier le DTO avec les 3 champs lus depuis `$serieNode->CodePays`/`DebutSerie`/`Quantite` au lieu de passer le noeud brut.
|
||||||
|
- Tests unitaires sur le DTO (helper) et sur le mapper (les 2 tests existants pour `SerieBoucles` — full inventory + list — passent à travers les nouveaux champs).
|
||||||
|
- Mise à jour du docblock sur `EarTagSeriesDto` (le texte Phase 1 est à refaire).
|
||||||
|
|
||||||
|
### Exclus (YAGNI)
|
||||||
|
|
||||||
|
- `contains(string $tagNumber): bool` et `iterableNumbers(): Generator<string>` — à ajouter le jour où `IpBCreateRebouclage` ou une UI de sélection de boucle en aura vraiment besoin.
|
||||||
|
- Validation métier (vérifier que `startNumber` matche le pattern XSD `0[1-9][0-9]{8}|[1-9][0-9]{9}`) — EDNOTIF garantit déjà la forme, on n'ajoute pas une seconde ligne de défense.
|
||||||
|
- Changement du type de `$earTagSeries` dans `InventoryDto` — la liste reste `list<EarTagSeriesDto>`.
|
||||||
|
|
||||||
|
## Changement non-rétro-compatible assumé
|
||||||
|
|
||||||
|
Le remplacement de `$rawNode` par 3 champs casse l'API publique de `EarTagSeriesDto`. Comme cette DTO n'a **aucun consommateur connu à ce jour** (Ferme n'utilise pas `includeEarTagStock: true`), on fait le changement direct, sans transition. Si un consommateur tiers existait, il faudrait un cycle de dépréciation ; ce n'est pas le cas.
|
||||||
|
|
||||||
|
## Architecture
|
||||||
|
|
||||||
|
### DTO
|
||||||
|
|
||||||
|
```php
|
||||||
|
final readonly class EarTagSeriesDto
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public string $countryCode,
|
||||||
|
public string $startNumber,
|
||||||
|
public int $quantity,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function endNumber(): string
|
||||||
|
{
|
||||||
|
return str_pad(
|
||||||
|
(string) ((int) $this->startNumber + $this->quantity - 1),
|
||||||
|
10,
|
||||||
|
'0',
|
||||||
|
STR_PAD_LEFT,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Décisions à documenter dans le code :
|
||||||
|
|
||||||
|
- **`startNumber` en string**, pas int : le XSD impose 10 chiffres avec zéro-padding possible. Convertir en int ferait perdre le format (`'0012345678'` → `12345678`). Laisser en string préserve le format d'affichage.
|
||||||
|
- **`endNumber()` renvoie aussi une string** zéro-paddée à 10 chiffres, via `str_pad`. Cohérent avec `startNumber`.
|
||||||
|
- **`quantity` en int** : xsd:unsignedInt se mappe naturellement sur int PHP (les 10 milliards de boucles possibles tiennent dans int64 sans problème).
|
||||||
|
|
||||||
|
### Mapper
|
||||||
|
|
||||||
|
Dans `InventoryMapper::map()`, remplacer :
|
||||||
|
|
||||||
|
```php
|
||||||
|
$earTagSeries[] = new EarTagSeriesDto(rawNode: $serieNode);
|
||||||
|
```
|
||||||
|
|
||||||
|
par :
|
||||||
|
|
||||||
|
```php
|
||||||
|
$earTagSeries[] = new EarTagSeriesDto(
|
||||||
|
countryCode: $this->toNullableString($serieNode->CodePays ?? null) ?? '',
|
||||||
|
startNumber: $this->toNullableString($serieNode->DebutSerie ?? null) ?? '',
|
||||||
|
quantity: $this->toNullableInt($serieNode->Quantite ?? null) ?? 0,
|
||||||
|
);
|
||||||
|
```
|
||||||
|
|
||||||
|
Valeurs par défaut (`''`, `0`) pour les cas où EDNOTIF renverrait un noeud partiel — plus simple qu'une DTO avec des nullable partout, et `quantity = 0` / `startNumber = ''` sont des valeurs sentinelles immédiatement repérables en debug.
|
||||||
|
|
||||||
|
### Docblock actualisé
|
||||||
|
|
||||||
|
Remplacer le texte Phase 1 sur `EarTagSeriesDto` par une description factuelle de la structure XSD et de la sémantique (plage de boucles en stock).
|
||||||
|
|
||||||
|
## Edge cases
|
||||||
|
|
||||||
|
- **Noeud `SerieBoucles` partiel** (un des 3 champs manque) : le DTO est construit avec les valeurs sentinelles `''` ou `0`. Pas de crash, pas d'exception. Responsabilité du consommateur de filtrer si besoin.
|
||||||
|
- **`quantity = 0`** : `endNumber()` renvoie `startNumber - 1` (zéro-padded). Techniquement absurde côté métier mais techniquement déterministe. Ne vaut pas la peine de documenter un `throw`.
|
||||||
|
- **`startNumber` vide** : `(int) '' === 0`, `endNumber()` renvoie `str_pad((string)(-1), ...)` = `'00000000-1'`. Déjà en terrain « shouldn't happen ». Pas de garde défensive ajoutée.
|
||||||
|
- **`CodePays` vide** : `endNumber()` ne dépend pas du pays, aucun impact.
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
### DTO
|
||||||
|
|
||||||
|
Un fichier `tests/Unit/Bovin/Dto/EarTagSeriesDtoTest.php` :
|
||||||
|
|
||||||
|
- `testEndNumberComputesStartPlusQuantityMinusOne` — cas standard, ex : start `0012345678`, quantity 50, end `0012345727`.
|
||||||
|
- `testEndNumberPreservesLeadingZeroPadding` — cas avec leading zero, ex : start `0000000001`, quantity 5, end `0000000005`.
|
||||||
|
- `testEndNumberWithQuantityOne` — une seule boucle dans la série, end === start.
|
||||||
|
|
||||||
|
3 tests, ~15 assertions.
|
||||||
|
|
||||||
|
### Mapper
|
||||||
|
|
||||||
|
Les 2 tests existants (`testMapFullInventory` et `testMapInventoryWithSerieBouclesAsListPreservesAllEntries`) sont **modifiés** pour :
|
||||||
|
|
||||||
|
- Peupler `CodePays`, `DebutSerie`, `Quantite` dans les fixtures à la place de `NumeroSerieDebut`.
|
||||||
|
- Asserter sur `$inventory->earTagSeries[0]->startNumber` et `$inventory->earTagSeries[0]->quantity` au lieu de `rawNode->NumeroSerieDebut`.
|
||||||
|
|
||||||
|
Aucun nouveau test sur le mapper — la structure est déjà couverte.
|
||||||
|
|
||||||
|
## Impact sur les autres fichiers
|
||||||
|
|
||||||
|
- `src/Bovin/Dto/EarTagSeriesDto.php` — réécrit.
|
||||||
|
- `src/Bovin/Mapper/InventoryMapper.php` — un bloc modifié (instanciation de la DTO).
|
||||||
|
- `tests/Unit/Bovin/Mapper/InventoryMapperTest.php` — fixtures `SerieBoucles` adaptées (2 tests impactés).
|
||||||
|
- Nouveau : `tests/Unit/Bovin/Dto/EarTagSeriesDtoTest.php`.
|
||||||
|
|
||||||
|
Aucun autre fichier touché. `InventoryDto`, `BovinApi`, `BovinApiInterface`, `config/services.php` : inchangés.
|
||||||
|
|
||||||
|
## Comptage de tests attendu
|
||||||
|
|
||||||
|
Avant : 53 tests.
|
||||||
|
Après : 53 + 3 nouveaux sur le DTO = 56 tests (les 2 du mapper sont modifiés, pas ajoutés).
|
||||||
@@ -0,0 +1,330 @@
|
|||||||
|
# Phase 2 — Lot 1 : `IpBCreateEntree` + `IpBCreateSortie`
|
||||||
|
|
||||||
|
## Contexte
|
||||||
|
|
||||||
|
Phase 1 a livré les 4 lectures bovin (`getAnimalFile`, `getInventory`, `getReturnedDossiers`, `getPresumedExits`). Phase 2 démarre les opérations d'écriture : Ferme a besoin de déclarer ses entrées et sorties d'animaux auprès de l'IPG pour la saison à venir.
|
||||||
|
|
||||||
|
Ces 2 opérations partagent 80% de l'infrastructure (pattern SOAP, enveloppe `ReponseStandard`, factorisation déjà faite via `StandardResponseMapper` et `BovinNodeMappingTrait`), donc on les traite dans un spec commun.
|
||||||
|
|
||||||
|
## But
|
||||||
|
|
||||||
|
Ajouter 2 méthodes à `BovinApiInterface` : `createEntree(CreateEntreeRequest)` et `createSortie(CreateSortieRequest)`, qui appellent les opérations SOAP `IpBCreateEntree` / `IpBCreateSortie` du WS `wsIpBNotif` et retournent des DTOs typés.
|
||||||
|
|
||||||
|
## Décisions d'ergonomie (validées en brainstorming)
|
||||||
|
|
||||||
|
| Axe | Décision | Raison |
|
||||||
|
|---|---|---|
|
||||||
|
| API d'appel | Request DTOs dédiés (un par op) | Testable, futur-compatible avec buffering de drafts. |
|
||||||
|
| Codes métier (CauseEntree, CauseSortie) | Enums backed-by-string, case names = libellés métier, `.value` = code IPG | Lecture explicite côté consommateur, SOAP reçoit le code via `.value`. |
|
||||||
|
| `CategorieBovinIPG` | Enum backed-by-string, case names = codes 2-lettres IPG | 13 cases avec libellés XSD courts, pas de gain à les renommer. |
|
||||||
|
| Code atelier | `?string` free-form | Pattern `[LABEM][1-9]` = 45 combinaisons, enum serait trop lourd. |
|
||||||
|
| Réponse (choice BDNi pending / validée) | DTO plat avec `bool $pendingBdniValidation` + nullable fields | Cohérent avec les DTOs existants du bundle. |
|
||||||
|
| Validation client-side | Aucune | EDNOTIF rejette via `EdnotifException` ; valeurs arrivent déjà validées en amont. |
|
||||||
|
| Scope | 2 ops en un seul spec/plan | Partage d'infra, priorités métier identiques. |
|
||||||
|
|
||||||
|
## Architecture — fichiers
|
||||||
|
|
||||||
|
### À créer
|
||||||
|
|
||||||
|
```
|
||||||
|
src/Bovin/Enum/CauseEntree.php enum 3 cases (P, A, N)
|
||||||
|
src/Bovin/Enum/CauseSortie.php enum 6 cases (H, C, M, B, E, X)
|
||||||
|
src/Bovin/Enum/CategorieBovinIPG.php enum 13 cases (BO, BR, FE, ...)
|
||||||
|
src/Bovin/Dto/CreateEntreeRequest.php request DTO
|
||||||
|
src/Bovin/Dto/CreateEntreeResponseDto.php response DTO
|
||||||
|
src/Bovin/Dto/CreateSortieRequest.php request DTO
|
||||||
|
src/Bovin/Dto/CreateSortieResponseDto.php response DTO
|
||||||
|
src/Bovin/Mapper/CreateEntreeResponseMapper.php mapper de la réponse IpBCreateEntree
|
||||||
|
src/Bovin/Mapper/CreateSortieResponseMapper.php mapper de la réponse IpBCreateSortie
|
||||||
|
tests/Unit/Bovin/Mapper/CreateEntreeResponseMapperTest.php 2 tests (pending + validée)
|
||||||
|
tests/Unit/Bovin/Mapper/CreateSortieResponseMapperTest.php 2 tests (pending + validée)
|
||||||
|
```
|
||||||
|
|
||||||
|
### À modifier
|
||||||
|
|
||||||
|
```
|
||||||
|
src/Bovin/Api/BovinApiInterface.php +2 méthodes
|
||||||
|
src/Bovin/Api/BovinApi.php +2 méthodes, +2 mapper deps dans le constructeur
|
||||||
|
config/services.php enregistrer les 2 mappers + updater BovinApi args
|
||||||
|
```
|
||||||
|
|
||||||
|
## Enums
|
||||||
|
|
||||||
|
Conventions :
|
||||||
|
- **Backed-by-string** : `.value` = code IPG exact (ce qui part dans le payload SOAP).
|
||||||
|
- Case names = libellés métier pour `CauseEntree`/`CauseSortie` (lisibles côté consommateur).
|
||||||
|
- Case names = codes 2-lettres pour `CategorieBovinIPG` (13 cases, libellés XSD courts, pas de gain à les renommer).
|
||||||
|
- Docblock sur chaque case pour rappeler la correspondance.
|
||||||
|
- Pas de méthode `libelle()` ni de `values()` — YAGNI, à ajouter si un besoin métier concret remonte (I18N, UI de sélection).
|
||||||
|
|
||||||
|
**Note sur les codes P/H/X** : la Table 9 IPG marque ces codes comme ambigus (entrée ET sortie selon le contexte). Côté WSDL EDNOTIF, cette ambiguïté n'existe pas : chaque op a son propre enum XSD restrictif (`CauseEntreeType` = {P, A, N}, `CauseSortieType` = {H, C, M, B, E, X}). Le sens est porté par l'op appelée, pas par le code. Le bundle n'a donc rien à faire de particulier à ce sujet.
|
||||||
|
|
||||||
|
### `Malio\EdnotifBundle\Bovin\Enum\CauseEntree`
|
||||||
|
|
||||||
|
Source : `CauseEntree.XSD` + doc IPG Table 9.
|
||||||
|
|
||||||
|
```php
|
||||||
|
enum CauseEntree: string
|
||||||
|
{
|
||||||
|
case Achat = 'A'; // Entrée par achat
|
||||||
|
case Naissance = 'N'; // Entrée par naissance
|
||||||
|
case PretOuPension = 'P'; // Entrée par prêt ou pension
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### `Malio\EdnotifBundle\Bovin\Enum\CauseSortie`
|
||||||
|
|
||||||
|
Source : `CauseSortie.XSD` + doc IPG Table 9.
|
||||||
|
|
||||||
|
```php
|
||||||
|
enum CauseSortie: string
|
||||||
|
{
|
||||||
|
case Boucherie = 'B'; // Sortie pour boucherie
|
||||||
|
case Consommation = 'C'; // Sortie pour auto-consommation
|
||||||
|
case Elevage = 'E'; // Sortie pour élevage ou vente
|
||||||
|
case Mort = 'M'; // Sortie pour mort
|
||||||
|
case PretOuPension = 'H'; // Sortie pour prêt ou pension (H sur sortie = équivalent du P sur entrée)
|
||||||
|
case Autre = 'X'; // Autre cause (réservée reprise / données historiques)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### `Malio\EdnotifBundle\Bovin\Enum\CategorieBovinIPG`
|
||||||
|
|
||||||
|
Source : `CategorieBovinIPG.XSD`. 13 cases documentés depuis les `<documentation>` du XSD :
|
||||||
|
|
||||||
|
| Case | Libellé XSD |
|
||||||
|
|---|---|
|
||||||
|
| `BO` | Boeuf |
|
||||||
|
| `BR` | Broutard |
|
||||||
|
| `FE` | Femelle à l'engraissement |
|
||||||
|
| `GL` | Génisse laitière |
|
||||||
|
| `GV` | Génisse viande |
|
||||||
|
| `MA` | Mâle |
|
||||||
|
| `MR` | Mâle reproducteur |
|
||||||
|
| `TA` | Taurillon |
|
||||||
|
| `VA` | Vache allaitante |
|
||||||
|
| `VB` | Veau de boucherie |
|
||||||
|
| `VE` | Veau |
|
||||||
|
| `VL` | Vache laitière |
|
||||||
|
| `VR` | Vache de réforme |
|
||||||
|
|
||||||
|
## Request DTOs
|
||||||
|
|
||||||
|
### `CreateEntreeRequest`
|
||||||
|
|
||||||
|
```php
|
||||||
|
final readonly class CreateEntreeRequest
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public BovinRef $bovin,
|
||||||
|
public DateTimeInterface $date,
|
||||||
|
public CauseEntree $cause,
|
||||||
|
public ExploitationRef $provenance,
|
||||||
|
public ?string $codeAtelier = null,
|
||||||
|
public ?CategorieBovinIPG $codeCategorieBovin = null,
|
||||||
|
) {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
- `bovin` / `provenance` réutilisent les DTOs existants (`BovinRef`, `ExploitationRef`).
|
||||||
|
- `codeAtelier` : string libre, pattern `[LABEM][1-9]` documenté en phpdoc.
|
||||||
|
- Les 2 derniers sont optionnels comme dans le XSD (`minOccurs="0"`).
|
||||||
|
|
||||||
|
### `CreateSortieRequest`
|
||||||
|
|
||||||
|
```php
|
||||||
|
final readonly class CreateSortieRequest
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public BovinRef $bovin,
|
||||||
|
public DateTimeInterface $date,
|
||||||
|
public CauseSortie $cause,
|
||||||
|
public ExploitationRef $destination,
|
||||||
|
) {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Pas de champs optionnels côté Sortie (tous requis dans le XSD).
|
||||||
|
|
||||||
|
## Response DTOs
|
||||||
|
|
||||||
|
### `CreateEntreeResponseDto`
|
||||||
|
|
||||||
|
```php
|
||||||
|
final readonly class CreateEntreeResponseDto
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public StandardResponseDto $standardResponse,
|
||||||
|
public bool $pendingBdniValidation,
|
||||||
|
public ?BovinIdentificationDto $identification,
|
||||||
|
public ?MovementDto $entryMovement,
|
||||||
|
public ?object $rawSoapResponse,
|
||||||
|
) {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Invariant : si `$pendingBdniValidation === true`, alors `$identification === null` et `$entryMovement === null`. Inversement, si `$pendingBdniValidation === false`, les 2 autres sont populés.
|
||||||
|
|
||||||
|
### `CreateSortieResponseDto`
|
||||||
|
|
||||||
|
```php
|
||||||
|
final readonly class CreateSortieResponseDto
|
||||||
|
{
|
||||||
|
public function __construct(
|
||||||
|
public StandardResponseDto $standardResponse,
|
||||||
|
public bool $pendingBdniValidation,
|
||||||
|
public ?BovinIdentificationDto $identification,
|
||||||
|
public ?MovementDto $entryMovement, // première entrée de la période clôturée
|
||||||
|
public ?MovementDto $exitMovement, // sortie elle-même
|
||||||
|
public ?object $rawSoapResponse,
|
||||||
|
) {}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
La réponse `SortieValidee` renvoie **la période de présence complète** (entrée + sortie de l'animal sur l'exploitation), d'où les 2 `MovementDto`.
|
||||||
|
|
||||||
|
## Mappers
|
||||||
|
|
||||||
|
### `CreateEntreeResponseMapper`
|
||||||
|
|
||||||
|
```php
|
||||||
|
final class CreateEntreeResponseMapper
|
||||||
|
{
|
||||||
|
use BovinNodeMappingTrait;
|
||||||
|
|
||||||
|
public function __construct(
|
||||||
|
private readonly StandardResponseMapper $standardResponseMapper,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public function map(object $soapResponse): CreateEntreeResponseDto
|
||||||
|
{
|
||||||
|
// 1. mapStandardResponse
|
||||||
|
// 2. Lire ReponseSpecifique.AttenteValidationBDNi (bool) ou .EntreeValidee (struct)
|
||||||
|
// Le choice XSD garantit une seule des deux présente.
|
||||||
|
// 3. Si pending : retourne le DTO avec pending=true, identification/entryMovement=null
|
||||||
|
// Sinon : mapIdentification (trait) + mapMovement (trait) sur EntreeValidee
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### `CreateSortieResponseMapper`
|
||||||
|
|
||||||
|
Même pattern, mais la branche validée lit `SortieValidee.MouvementBovin.MouvementEntreeBovin` et `SortieValidee.MouvementBovin.MouvementSortieBovin`. Deux appels à `mapMovement` au lieu d'un.
|
||||||
|
|
||||||
|
### Pourquoi 2 mappers séparés
|
||||||
|
|
||||||
|
Les shapes de `EntreeValidee` et `SortieValidee` diffèrent : entrée plate (juste l'entrée), sortie imbriquée (entrée + sortie). Factoriser maintenant obligerait à introduire des paramètres de configuration abstraits (noms de champs, nombre de movements attendus) qui n'apportent rien pour 2 mappers. Reconsidérer si un 3ᵉ `Create*` arrive avec une shape similaire.
|
||||||
|
|
||||||
|
## API methods
|
||||||
|
|
||||||
|
### `BovinApiInterface`
|
||||||
|
|
||||||
|
```php
|
||||||
|
public function createEntree(CreateEntreeRequest $request): CreateEntreeResponseDto;
|
||||||
|
|
||||||
|
public function createSortie(CreateSortieRequest $request): CreateSortieResponseDto;
|
||||||
|
```
|
||||||
|
|
||||||
|
### `BovinApi::createEntree`
|
||||||
|
|
||||||
|
```php
|
||||||
|
public function createEntree(CreateEntreeRequest $request): CreateEntreeResponseDto
|
||||||
|
{
|
||||||
|
$token = $this->tokenProvider->getToken();
|
||||||
|
|
||||||
|
$payload = [
|
||||||
|
'JetonAuthentification' => $token,
|
||||||
|
'Exploitation' => [
|
||||||
|
'CodePays' => $this->exploitationCountryCode,
|
||||||
|
'NumeroExploitation' => $this->exploitationNumber,
|
||||||
|
],
|
||||||
|
'Bovin' => [
|
||||||
|
'CodePays' => $request->bovin->countryCode,
|
||||||
|
'NumeroNational' => $request->bovin->nationalNumber,
|
||||||
|
],
|
||||||
|
'DateEntree' => $request->date->format('Y-m-d'),
|
||||||
|
'CauseEntree' => $request->cause->value,
|
||||||
|
'ExploitationProvenance' => [
|
||||||
|
'CodePays' => $request->provenance->countryCode,
|
||||||
|
'NumeroExploitation' => $request->provenance->exploitationNumber,
|
||||||
|
],
|
||||||
|
];
|
||||||
|
if (null !== $request->codeAtelier) { $payload['CodeAtelier'] = $request->codeAtelier; }
|
||||||
|
if (null !== $request->codeCategorieBovin) { $payload['CodeCategorieBovin'] = $request->codeCategorieBovin->value; }
|
||||||
|
|
||||||
|
try {
|
||||||
|
$soapResponse = $this->businessClient->__soapCall('IpBCreateEntree', [$payload]);
|
||||||
|
} catch (SoapFault $e) {
|
||||||
|
throw new RuntimeException('SOAP Fault on IpBCreateEntree: '.$e->getMessage(), 0, $e);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->assertSuccessfulResponse($soapResponse, 'IpBCreateEntree');
|
||||||
|
|
||||||
|
return $this->createEntreeResponseMapper->map($soapResponse);
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### `BovinApi::createSortie`
|
||||||
|
|
||||||
|
Pattern identique. Payload plus simple (4 champs métier), op `IpBCreateSortie`, mapper dédié.
|
||||||
|
|
||||||
|
### Injection
|
||||||
|
|
||||||
|
Constructeur `BovinApi` passe de 9 à **11 args** (ajout de `CreateEntreeResponseMapper` et `CreateSortieResponseMapper` entre `PresumedExitsMapper` et `ZipMessageDecoder`).
|
||||||
|
|
||||||
|
`config/services.php` :
|
||||||
|
- Enregistrer `CreateEntreeResponseMapper` et `CreateSortieResponseMapper` avec `service(StandardResponseMapper::class)` en dep.
|
||||||
|
- Updater `BovinApi->args()` pour refléter les 11 args.
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
### Scope
|
||||||
|
|
||||||
|
- **Mappers** : 2 tests chacun × 2 mappers = **4 tests** (cas pending + cas validée).
|
||||||
|
- **Enums** : aucun test dédié. Les enums sont auto-testés par leur usage dans les request DTOs.
|
||||||
|
- **Request DTOs** : aucun test dédié. Constructeur simple, pas de logique.
|
||||||
|
- **Response DTOs** : aucun test dédié. Même raison.
|
||||||
|
- **API methods** (`createEntree`, `createSortie`) : **pas testés** en l'état. Le bundle n'a pas d'infrastructure de mock SoapClient. Les mappers couvrent 95% de la logique, le reste étant du payload-shaping trivial. Si un bug apparaît plus tard côté appel SOAP, on ajoutera un test avec un mock.
|
||||||
|
|
||||||
|
### Fixtures attendues (résumé)
|
||||||
|
|
||||||
|
- `CreateEntreeResponseMapperTest::testMapPendingValidation` — réponse avec `AttenteValidationBDNi=true`, assert que `pendingBdniValidation === true` et que les 2 fields bovin sont null.
|
||||||
|
- `CreateEntreeResponseMapperTest::testMapValidatedEntry` — réponse avec `EntreeValidee` populée, assert `pendingBdniValidation === false`, identification + entryMovement bien mappés.
|
||||||
|
- Idem pour `CreateSortieResponseMapperTest`, avec la shape imbriquée `SortieValidee.MouvementBovin`.
|
||||||
|
|
||||||
|
Compte attendu post-implémentation : 56 + 4 = **60 tests**.
|
||||||
|
|
||||||
|
## Gestion d'erreurs
|
||||||
|
|
||||||
|
- **`Resultat=false` côté EDNOTIF** : `assertSuccessfulResponse()` lève `EdnotifException` — même pattern que les reads, pas de nouveau code.
|
||||||
|
- **SoapFault** : remonté en `RuntimeException` wrapping.
|
||||||
|
- **Réponse "validée" mais champs absents** (shouldn't happen selon XSD) : mapper renvoie un DTO avec les fields null. Pas d'exception levée — l'anomalie remonte via la lecture logique par le consommateur.
|
||||||
|
|
||||||
|
## Périmètre EXCLU (explicite)
|
||||||
|
|
||||||
|
- Validation client-side des inputs (pattern `nationalNumber` = 10 chiffres, `codeAtelier` = `[LABEM][1-9]`, etc.)
|
||||||
|
- Factorisation d'un `CreateResponseMapper` abstrait/trait — à reconsidérer quand le 3ᵉ `Create*` arrivera.
|
||||||
|
- Gestion métier du statut `pendingBdniValidation` côté bundle (polling, callback). C'est la responsabilité de Ferme — le bundle expose juste l'info.
|
||||||
|
- Tests d'intégration SOAP avec mock client.
|
||||||
|
- Les 8 autres opérations `IpBCreate*` (naissance, mort-né, rebouclage, échange, import, insémination, commande boucles). Elles feront l'objet de spec/plan séparés en Phase 2 Lot 2+.
|
||||||
|
|
||||||
|
## Impact sur le consommateur (Ferme)
|
||||||
|
|
||||||
|
Aucune breaking change — les 4 méthodes de lecture existantes gardent leur signature. Les 2 nouvelles méthodes sont additives sur `BovinApiInterface`.
|
||||||
|
|
||||||
|
Mise à jour côté Ferme : `composer update malio/ednotif-bundle` une fois la PR mergée, puis usage direct :
|
||||||
|
|
||||||
|
```php
|
||||||
|
$response = $this->ednotif->createEntree(new CreateEntreeRequest(
|
||||||
|
bovin: new BovinRef('FR', 'FR1234567890'),
|
||||||
|
date: new DateTimeImmutable('2026-04-22'),
|
||||||
|
cause: CauseEntree::Achat,
|
||||||
|
provenance: new ExploitationRef('FR', '12345678'),
|
||||||
|
));
|
||||||
|
|
||||||
|
if ($response->pendingBdniValidation) {
|
||||||
|
// planifier un getReturnedDossiers dans quelques jours
|
||||||
|
} else {
|
||||||
|
// l'animal est dans le cheptel : $response->identification->bovin->nationalNumber
|
||||||
|
}
|
||||||
|
```
|
||||||
188
docs/ws-catalog.md
Normal file
188
docs/ws-catalog.md
Normal file
@@ -0,0 +1,188 @@
|
|||||||
|
# Catalogue des WebServices EDNOTIF
|
||||||
|
|
||||||
|
Inventaire des opérations exposées par les WSDL embarqués dans
|
||||||
|
`resources/ednotif-ws/`, avec le statut d'implémentation et une
|
||||||
|
recommandation de priorisation.
|
||||||
|
|
||||||
|
## Légende statut
|
||||||
|
|
||||||
|
- **Implémenté** — opération couverte par le bundle
|
||||||
|
- **À faire** — opération pertinente non encore implémentée
|
||||||
|
- **Optionnel** — opération hors périmètre probable, à confirmer selon le consommateur
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. wsIpBNotif — Notifications IPG Bovin
|
||||||
|
|
||||||
|
WS métier principal : déclarations réglementaires d'un cheptel bovin auprès de l'IPG.
|
||||||
|
|
||||||
|
### Lecture
|
||||||
|
|
||||||
|
| Opération | Statut | Description probable |
|
||||||
|
|---|---|---|
|
||||||
|
| `IpBGetDossierAnimal` | Implémenté | Dossier complet d'un bovin (identifications, mouvements, parents…) |
|
||||||
|
| `IpBGetInventaire` | Implémenté | Inventaire des animaux présents sur l'exploitation |
|
||||||
|
| `IpBGetRetourDossiers` | Implémenté | Retours de traitement des notifications envoyées |
|
||||||
|
| `IpBGetSortiesPresumees` | Implémenté | Animaux sortis selon l'IPG mais non déclarés par l'éleveur |
|
||||||
|
|
||||||
|
### Écriture
|
||||||
|
|
||||||
|
| Opération | Statut | Description probable |
|
||||||
|
|---|---|---|
|
||||||
|
| `IpBCreateEntree` | À faire | Déclaration d'entrée d'un bovin sur l'exploitation |
|
||||||
|
| `IpBCreateSortie` | À faire | Déclaration de sortie (vente, mort, abattage…) |
|
||||||
|
| `IpBCreateNaissance` | À faire | Déclaration de naissance |
|
||||||
|
| `IpBCreateMortNe` | À faire | Déclaration de mort-né |
|
||||||
|
| `IpBCreateAnimalEchange` | À faire | Échange intra-UE |
|
||||||
|
| `IpBCreateAnimalImporte` | À faire | Import pays tiers |
|
||||||
|
| `IpBCreateAvisAnimalImporte` | À faire | Avis d'import |
|
||||||
|
| `IpBCreateRebouclage` | À faire | Rebouclage / remplacement de boucle |
|
||||||
|
| `IpBCreateCommandeBoucles` | À faire | Commande de boucles |
|
||||||
|
| `IpBCreateInsemination` | À faire | Déclaration d'insémination |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. wsDmB\* — Déclarations de Mouvement Bovin
|
||||||
|
|
||||||
|
Famille orientée gestion des mouvements / transporteurs.
|
||||||
|
|
||||||
|
### wsDmBConsultation
|
||||||
|
- `DmBConsultationGetListeDonneesIT` — consultation de données (IT = identifiants traces ?)
|
||||||
|
- `DmBConsultationGetListeStatutDeplacement` — statuts de déplacement
|
||||||
|
|
||||||
|
### wsDmBGestion
|
||||||
|
- `DmBGestionCreateDroitAccesListeAnimalActeur` — gestion droits d'accès
|
||||||
|
- `DmBGestionCreateListeICA` — création listes ICA (information chaîne alimentaire)
|
||||||
|
|
||||||
|
### wsDmBListe
|
||||||
|
- `DmBListeCreateListeBovins` / `DmBListeGetListeBovins` — listes de bovins (lots)
|
||||||
|
|
||||||
|
### wsDmBTransport
|
||||||
|
- `DmBTransportCreateChargement` — chargement camion
|
||||||
|
- `DmBTransportCreateDechargement` — déchargement camion
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. wsMdBEdel — Maîtrise des Données Bovin (Edel)
|
||||||
|
|
||||||
|
Consultation en lecture seule : génétique, lactation, IA, races.
|
||||||
|
|
||||||
|
| Opération | Rôle |
|
||||||
|
|---|---|
|
||||||
|
| `MdBGetDonneesGenetiquesAnimales` | Données génétiques d'animaux |
|
||||||
|
| `MdBGetDonneesMalesPublics` | Catalogue mâles reproducteurs publics |
|
||||||
|
| `MdBGetDonneesOrganismeHabilite` | Référentiel organismes habilités |
|
||||||
|
| `MdBGetDonneesOrganismeTiers` | Référentiel organismes tiers |
|
||||||
|
| `ClBGetDonneesCL` | Contrôle laitier |
|
||||||
|
| `CpBGetDonneesCPB` | Contrôle de performances bouchères |
|
||||||
|
| `IaBGetDonneesIA` | Données d'insémination |
|
||||||
|
| `OsBGetDonneesRAC` | Données race (RAC = race certifiée ?) |
|
||||||
|
| `TkBGetDonneesTE` | Transfert embryonnaire |
|
||||||
|
| `VaBGetDonneesCPV` | Contrôle performances veaux (?) |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. wsMdCEdel — Maîtrise des Données Caprin
|
||||||
|
|
||||||
|
Équivalent caprin : CRUD + reproduction + lactation. 15 opérations (`MdCCreate*` pour l'écriture, `MdCGet*` avec variantes `MAJ` pour les deltas).
|
||||||
|
|
||||||
|
| Groupe | Opérations |
|
||||||
|
|---|---|
|
||||||
|
| Caprin | `MdCCreateCaprin`, `MdCGetDonneesCaprin`, `MdCGetDonneesCaprinMAJ` |
|
||||||
|
| Reproduction | `MdCCreateSaillie`, `MdCCreateFinGestation`, `MdCGetFinGestation[/MAJ]`, `MdCGetEvenementReproduction[/MAJ]` |
|
||||||
|
| Mouvement | `MdCCreateMouvement` |
|
||||||
|
| Contrôle laitier | `MdCGetCLDonneesBrutes[/MAJ]`, `MdCGetCLDonneesElaborees[/MAJ]` |
|
||||||
|
| Contrats | `MdCGetContratsExploitation` |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 5. wsIpEdel — Identification Pérenne Edel
|
||||||
|
|
||||||
|
- `IpGetDonneesExploitation` — données descriptives de l'exploitation
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 6. wsMrAde — Échanges ICAR
|
||||||
|
|
||||||
|
Conforme aux standards ICAR (flux laitiers internationaux).
|
||||||
|
|
||||||
|
- `GetHerdList`
|
||||||
|
- `UpdateAnimal`
|
||||||
|
- `UpdateDevice`
|
||||||
|
- `UpdateLivestockLocation`
|
||||||
|
- `UpdateMilkingResults`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 7. WsAnnuaire — Annuaire Guichet
|
||||||
|
|
||||||
|
Métadonnées techniques du guichet (pas du métier).
|
||||||
|
|
||||||
|
- `tkGetServices` — liste des WS disponibles
|
||||||
|
- `tkGetVersionsService` — versions d'un WS
|
||||||
|
- `tkGetOperationsServiceVersion` — opérations d'une version
|
||||||
|
- `tkGetUrl` — URL d'un service
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Recommandation de priorisation
|
||||||
|
|
||||||
|
Proposition d'ordre, à valider selon le périmètre réel du consommateur.
|
||||||
|
|
||||||
|
### Phase 1 — Compléter le bovin (priorité haute)
|
||||||
|
Continuer sur **wsIpBNotif**, en commençant par la **lecture** :
|
||||||
|
|
||||||
|
1. `IpBGetInventaire` — donne immédiatement la liste du cheptel, utile pour toute UI
|
||||||
|
2. `IpBGetRetourDossiers` — indispensable pour savoir si les notifs passent côté IPG
|
||||||
|
3. `IpBGetSortiesPresumees` — flux de rapprochement éleveur ↔ IPG
|
||||||
|
|
||||||
|
**Raison** : le dossier animal seul est peu utile sans l'inventaire qui permet de savoir *pour quels animaux* appeler `getAnimalFile`. Et sans `RetourDossiers`, toute écriture future est aveugle.
|
||||||
|
|
||||||
|
### Phase 2 — Écriture bovin (notifications obligatoires)
|
||||||
|
Implémenter les déclarations **dans l'ordre des cycles de vie d'un animal** :
|
||||||
|
|
||||||
|
4. `IpBCreateNaissance`
|
||||||
|
5. `IpBCreateEntree` / `IpBCreateSortie`
|
||||||
|
6. `IpBCreateMortNe`
|
||||||
|
7. `IpBCreateRebouclage` / `IpBCreateCommandeBoucles`
|
||||||
|
8. `IpBCreateAnimalEchange` / `IpBCreateAnimalImporte` / `IpBCreateAvisAnimalImporte` (si imports/échanges dans le périmètre)
|
||||||
|
9. `IpBCreateInsemination` (si non couvert par un autre outil)
|
||||||
|
|
||||||
|
### Phase 3 — Mouvements / transport
|
||||||
|
Si le consommateur gère du transport ou des lots :
|
||||||
|
|
||||||
|
10. `wsDmBListe` (lots bovins)
|
||||||
|
11. `wsDmBTransport` (chargement/déchargement)
|
||||||
|
12. `wsDmBConsultation` et `wsDmBGestion` selon besoin
|
||||||
|
|
||||||
|
### Phase 4 — Référentiels génétiques (optionnel)
|
||||||
|
Si le consommateur fait de la sélection / génétique :
|
||||||
|
|
||||||
|
13. `wsMdBEdel` — lectures ponctuelles, ne justifient une implémentation que s'il y a un usage métier concret
|
||||||
|
|
||||||
|
### Phase 5 — Caprin / ICAR (optionnel)
|
||||||
|
À activer uniquement si multi-espèces ou conformité ICAR requise.
|
||||||
|
|
||||||
|
### Hors priorité
|
||||||
|
- **wsIpEdel** : 1 op, à implémenter *en passant* si besoin ponctuel
|
||||||
|
- **WsAnnuaire** : utile pour du diagnostic / supervision, pas pour le métier
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Découpage structurel proposé
|
||||||
|
|
||||||
|
Pour garder un code cohérent, reproduire le pattern existant (`src/Bovin/`) par domaine :
|
||||||
|
|
||||||
|
```
|
||||||
|
src/
|
||||||
|
├── Auth/ (existant)
|
||||||
|
├── Bovin/ (IpBNotif + IpEdel exploitation)
|
||||||
|
├── Mouvement/ (DmB*)
|
||||||
|
├── Genetique/ (MdBEdel, optionnel)
|
||||||
|
├── Caprin/ (MdCEdel, optionnel)
|
||||||
|
├── Icar/ (MrAde, optionnel)
|
||||||
|
├── Annuaire/ (WsAnnuaire, optionnel)
|
||||||
|
└── Shared/ (existant)
|
||||||
|
```
|
||||||
|
|
||||||
|
Chaque domaine expose une `*ApiInterface` publique + une implémentation `readonly`, avec ses DTOs et mappers dédiés. Le `TokenProvider` et `SoapClientFactory` restent partagés via `Shared/`.
|
||||||
7
makefile
7
makefile
@@ -86,4 +86,9 @@ php-cs-fixer-allow-risky:
|
|||||||
$(EXEC_PHP_CS_FIXER) fix --config=.php-cs-fixer.dist.php --allow-risky=yes $(FILES)
|
$(EXEC_PHP_CS_FIXER) fix --config=.php-cs-fixer.dist.php --allow-risky=yes $(FILES)
|
||||||
|
|
||||||
wait:
|
wait:
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
|
# Lance la suite PHPUnit. Usage : make test (tout)
|
||||||
|
# make test FILES=<path> (un fichier/dossier)
|
||||||
|
test:
|
||||||
|
$(EXEC_PHP) php vendor/bin/phpunit $(FILES)
|
||||||
19
phpunit.xml.dist
Normal file
19
phpunit.xml.dist
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
|
bootstrap="tests/bootstrap.php"
|
||||||
|
colors="true"
|
||||||
|
failOnWarning="true"
|
||||||
|
failOnRisky="true"
|
||||||
|
cacheDirectory=".phpunit.cache">
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Unit">
|
||||||
|
<directory>tests/Unit</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
<source>
|
||||||
|
<include>
|
||||||
|
<directory>src</directory>
|
||||||
|
</include>
|
||||||
|
</source>
|
||||||
|
</phpunit>
|
||||||
41
resources/ednotif-ws/ADE_v1.xsd
Normal file
41
resources/ednotif-ws/ADE_v1.xsd
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:icar="ICARAggregateBusinessInformationEntity:1" xmlns:rsm="ADEType:1" xmlns:ns1="urn:un:unece:uncefact:identifierlist:standard:5:ISO316612A:SecondEdition2006VI-13" targetNamespace="ADEType:1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ===== Imports ===== -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<xsd:import namespace="ICARAggregateBusinessInformationEntity:1" schemaLocation="ICARAggregateBusinessInformationEntity_1ap0.xsd"/>
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ===== Import of Unqualified DataType Schema Module ===== -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ===== Import of Qualified DataType Schema Module ===== -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ===== Import of Reusable Aggregate Business Information Entity Schema Module ===== -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ===== Import of ICAR ADE Aggregate Business Information Entity Schema Module ===== -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ===== Element Declarations ===== -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ===Version 1.7 ========================================================= -->
|
||||||
|
<!-- ======Create 5 March 2014 FVD================================ -->
|
||||||
|
<!-- ======Update 8 April 2014 JPA================================ -->
|
||||||
|
<!-- ======Update 23 Mai 2014 JPA================================ -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<!-- ===== Root Element Declarations ===== -->
|
||||||
|
<!-- ======================================================================= -->
|
||||||
|
<xsd:element name="GetHerdListRequest" type="icar:GetHerdListRequestType"/>
|
||||||
|
<xsd:element name="GetHerdListResponse" type="icar:GetHerdListResponseType"/>
|
||||||
|
<xsd:element name="UpdateAnimalRequest" type="icar:UpdateAnimalRequestType"/>
|
||||||
|
<xsd:element name="UpdateAnimalResponse" type="icar:UpdateAnimalResponseType"/>
|
||||||
|
<xsd:element name="UpdateDeviceRequest" type="icar:UpdateDeviceRequestType"/>
|
||||||
|
<xsd:element name="UpdateDeviceResponse" type="icar:UpdateDeviceResponseType"/>
|
||||||
|
<xsd:element name="UpdateLivestockLocationRequest" type="icar:UpdateLivestockLocationRequestType"/>
|
||||||
|
<xsd:element name="UpdateLivestockLocationResponse" type="icar:UpdateLivestockLocationResponseType"/>
|
||||||
|
<xsd:element name="UpdateMilkingResultsRequest" type="icar:UpdateMilkingResultRequestType"/>
|
||||||
|
<xsd:element name="UpdateMilkingResultsResponse" type="icar:UpdateMilkingResultResponseType"/>
|
||||||
|
<!-- ================================================================== -->
|
||||||
|
<!-- ===== Type Definitions ===== -->
|
||||||
|
<!-- ================================================================== -->
|
||||||
|
</xsd:schema>
|
||||||
35
resources/ednotif-ws/AtelierBovinIPG.XSD
Normal file
35
resources/ednotif-ws/AtelierBovinIPG.XSD
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:AtelierBovinIPG:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:AtelierBovinIPG:1">
|
||||||
|
<xsd:simpleType name="AtelierBovinIPGType">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Type d'atelier bovins]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:pattern value="L[1-9]">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Lait</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:pattern>
|
||||||
|
<xsd:pattern value="A[1-9]">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Allaitant</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:pattern>
|
||||||
|
<xsd:pattern value="B[1-9]">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Veaux de boucherie</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:pattern>
|
||||||
|
<xsd:pattern value="E[1-9]">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Engraissement autre</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:pattern>
|
||||||
|
<xsd:pattern value="M[1-9]">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Manade</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:pattern>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
14
resources/ednotif-ws/CategorieBoucIA.XSD
Normal file
14
resources/ednotif-ws/CategorieBoucIA.XSD
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CategorieBoucIA:1" xmlns="urn:fr:agri:elevage:codelist:CategorieBoucIA:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCategorieBoucIA">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="3"/>
|
||||||
|
<xsd:enumeration value="4"/>
|
||||||
|
<xsd:enumeration value="5"/>
|
||||||
|
<xsd:enumeration value="6"/>
|
||||||
|
<xsd:enumeration value="7"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
31
resources/ednotif-ws/CategorieBovin.XSD
Normal file
31
resources/ednotif-ws/CategorieBovin.XSD
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CategorieBovin:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CategorieBovin:1">
|
||||||
|
<xsd:simpleType name="CategorieBovinType">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Type identifiant immatriculation]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="vache_laitiere"/>
|
||||||
|
<xsd:enumeration value="vache_laitiere_tarie"/>
|
||||||
|
<xsd:enumeration value="vache_laitiere_de_reforme"/>
|
||||||
|
<xsd:enumeration value="vache_allaitante_sans_veau"/>
|
||||||
|
<xsd:enumeration value="femelle_plus_2_ans"/>
|
||||||
|
<xsd:enumeration value="femelle_1_a_2_ans"/>
|
||||||
|
<xsd:enumeration value="femelle_1_a_2_ans_croissance"/>
|
||||||
|
<xsd:enumeration value="femelle_1_a_2_ans_engraissement"/>
|
||||||
|
<xsd:enumeration value="femelle_moins_1_an"/>
|
||||||
|
<xsd:enumeration value="broutarde_moins_1_an_engraissement"/>
|
||||||
|
<xsd:enumeration value="femelle_moins_1_an_veau_elevage"/>
|
||||||
|
<xsd:enumeration value="male_plus_2_ans"/>
|
||||||
|
<xsd:enumeration value="male_1_a_2_ans"/>
|
||||||
|
<xsd:enumeration value="male_1_a_2_ans_croissance"/>
|
||||||
|
<xsd:enumeration value="male_1_a_2_ans_engraissement"/>
|
||||||
|
<xsd:enumeration value="male_moins_1_an"/>
|
||||||
|
<xsd:enumeration value="male_moins_1_an_croissance"/>
|
||||||
|
<xsd:enumeration value="male_moins_1_an_boucherie"/>
|
||||||
|
<xsd:enumeration value="broutard_moins_1_an_engraissement"/>
|
||||||
|
<xsd:enumeration value="male_moins_1_an_veau_elevage"/>
|
||||||
|
<xsd:enumeration value="veau_boucherie_produit"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
75
resources/ednotif-ws/CategorieBovinIPG.XSD
Normal file
75
resources/ednotif-ws/CategorieBovinIPG.XSD
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CategorieBovinIPG:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CategorieBovinIPG:1">
|
||||||
|
<xsd:simpleType name="CategorieBovinIPGType">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Type Categorie Bovin IPG]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="BO">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Boeuf</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="BR">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Broutard</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="FE">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Femelle à l'engraissement</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="GL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Génisse laitière</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="GV">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Génisse viande</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="MA">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mâle</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="MR">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mâle reproducteur</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="TA">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Taurillon</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="VA">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Vache allaitante</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="VB">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Veau de boucherie</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="VE">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Veau</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="VL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Vache laitière</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="VR">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Vache de réforme</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
11
resources/ednotif-ws/CategorieConsentement.XSD
Normal file
11
resources/ednotif-ws/CategorieConsentement.XSD
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CategorieConsentement:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CategorieConsentement:1">
|
||||||
|
<xsd:simpleType name="TypeCategorieConsentement">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="3"/>
|
||||||
|
<xsd:enumeration value="4"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
15
resources/ednotif-ws/CauseAbsenceTaux.xsd
Normal file
15
resources/ednotif-ws/CauseAbsenceTaux.xsd
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CauseAbsenceTaux:1" xmlns="urn:fr:agri:elevage:codelist:CauseAbsenceTaux:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCauseAbsenceTaux">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="3"/>
|
||||||
|
<xsd:enumeration value="4"/>
|
||||||
|
<xsd:enumeration value="5"/>
|
||||||
|
<xsd:enumeration value="6"/>
|
||||||
|
<xsd:enumeration value="X"/>
|
||||||
|
<xsd:enumeration value="I"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
42
resources/ednotif-ws/CauseAbsenceTauxBovin.XSD
Normal file
42
resources/ednotif-ws/CauseAbsenceTauxBovin.XSD
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CauseAbsenceTauxBovine:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CauseAbsenceTauxBovine:1">
|
||||||
|
<xsd:simpleType name="TypeCauseAbsenceTauxBovine">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>hors normes</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>non analyse</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>resultat partiel</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>lait seul</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>tx analyseur non garanti</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>tx analyseur garanti</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>tx labo non garanti</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
13
resources/ednotif-ws/CauseEntree.XSD
Normal file
13
resources/ednotif-ws/CauseEntree.XSD
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CauseEntree:1" xmlns="urn:fr:agri:elevage:codelist:CauseEntree:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Cause entree des animaux chez le detenteur]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:simpleType name="CauseEntreeType">
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="P"/>
|
||||||
|
<xsd:enumeration value="A"/>
|
||||||
|
<xsd:enumeration value="N"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
56
resources/ednotif-ws/CauseEntreeHistorique.XSD
Normal file
56
resources/ednotif-ws/CauseEntreeHistorique.XSD
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- version 1.02 modifiée du 11/02/2015 -->
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CauseEntreeHistorique:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CauseEntreeHistorique:1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Cause entree historique des animaux chez le detenteur]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:simpleType name="CauseEntreeHistoriqueType">
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="O">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>mouvement présumé calculé</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Achat</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Centre de rassemblement</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="G">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Exploitation de négoce</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="J">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Estives</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="L">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Location</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="N">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Naissance</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="P">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Prêt ou Pension</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Autre cause d'entrée</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
35
resources/ednotif-ws/CauseEntreeOC.XSD
Normal file
35
resources/ednotif-ws/CauseEntreeOC.XSD
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CauseEntreeOC:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CauseEntreeOC:1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Cause entree des ovins caprins]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:simpleType name="CauseEntreeOCType">
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="P">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PRET OU PENSION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ACHAT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="N">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>NAISSANCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="J">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MOUVEMENT SAISONNIER</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>INCONNUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
205
resources/ednotif-ws/CauseMort.XSD
Normal file
205
resources/ednotif-ws/CauseMort.XSD
Normal file
@@ -0,0 +1,205 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CauseMort:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CauseMort:1">
|
||||||
|
<xsd:simpleType name="TypeCauseMort">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Cause mort]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="010000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mise-bas</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="010200">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pas de contraction/dilatation</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="010300">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Prolapsus</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="010400">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mal placé</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="010500">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Noyé, pas respiré(dans poches)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="010600">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Trop gros</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="010700">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Césarienne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="012500">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Brebis malade / toxémie</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="020000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Conformation de l’agneau</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="020100">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Malformé</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="020800">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Très petit / chétif / maigre</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="030000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Tétée</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="031300">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Incapacité à téter</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="032400">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Brebis sans lait</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="032600">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Non accepté</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="040000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Sanitaire</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="040900">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mou</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="041000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Baveur (colibacilose)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="041100">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Trembleur hirsute (border)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="041800">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Ecthyma</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="041900">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Respiratoire</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="042000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Arthrite / gros nombril</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="042300">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Lithiase urinaire</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="045000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Nerveux / métabolique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="045016">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Raide</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="045017">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Tétanos</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="045021">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Nécrose du cortex cérébral</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="045100">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Digestif</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="045112">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Diarrhée</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="045125">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Ballonné ou entérotoxémie</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="045127">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Coccidiose</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="050000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Autres</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="051400">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Ecrasé</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="052200">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Maigre</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="052800">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Accident</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="052900">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Disparu</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="053000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Autre</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="060000">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Inconnue</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>code de suppression</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
23
resources/ednotif-ws/CauseMouvement.XSD
Normal file
23
resources/ednotif-ws/CauseMouvement.XSD
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CauseMouvement:1" xmlns="urn:fr:agri:elevage:codelist:CauseMouvement:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCauseMouvement">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="N"/>
|
||||||
|
<xsd:enumeration value="A"/>
|
||||||
|
<xsd:enumeration value="X"/>
|
||||||
|
<xsd:enumeration value="0"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="6"/>
|
||||||
|
<xsd:enumeration value="ML"/>
|
||||||
|
<xsd:enumeration value="MA"/>
|
||||||
|
<xsd:enumeration value="AC"/>
|
||||||
|
<xsd:enumeration value="PR"/>
|
||||||
|
<xsd:enumeration value="PI"/>
|
||||||
|
<xsd:enumeration value="VE"/>
|
||||||
|
<xsd:enumeration value="BO"/>
|
||||||
|
<xsd:enumeration value="MM"/>
|
||||||
|
<xsd:enumeration value="CI"/>
|
||||||
|
<xsd:enumeration value="MD"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
27
resources/ednotif-ws/CauseNonControle.XSD
Normal file
27
resources/ednotif-ws/CauseNonControle.XSD
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CauseNonControle:1" xmlns="urn:fr:agri:elevage:codelist:CauseNonControle:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCauseNonControle">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="10"/>
|
||||||
|
<xsd:enumeration value="11"/>
|
||||||
|
<xsd:enumeration value="12"/>
|
||||||
|
<xsd:enumeration value="14"/>
|
||||||
|
<xsd:enumeration value="30"/>
|
||||||
|
<xsd:enumeration value="31"/>
|
||||||
|
<xsd:enumeration value="32"/>
|
||||||
|
<xsd:enumeration value="33"/>
|
||||||
|
<xsd:enumeration value="34"/>
|
||||||
|
<xsd:enumeration value="35"/>
|
||||||
|
<xsd:enumeration value="50"/>
|
||||||
|
<xsd:enumeration value="51"/>
|
||||||
|
<xsd:enumeration value="52"/>
|
||||||
|
<xsd:enumeration value="75"/>
|
||||||
|
<xsd:enumeration value="76"/>
|
||||||
|
<xsd:enumeration value="77"/>
|
||||||
|
<xsd:enumeration value="85"/>
|
||||||
|
<xsd:enumeration value="86"/>
|
||||||
|
<xsd:enumeration value="87"/>
|
||||||
|
<xsd:enumeration value="06"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
13
resources/ednotif-ws/CauseSortie.XSD
Normal file
13
resources/ednotif-ws/CauseSortie.XSD
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CauseSortie:1" xmlns="urn:fr:agri:elevage:codelist:CauseSortie:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="CauseSortieType">
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="H"/>
|
||||||
|
<xsd:enumeration value="C"/>
|
||||||
|
<xsd:enumeration value="M"/>
|
||||||
|
<xsd:enumeration value="B"/>
|
||||||
|
<xsd:enumeration value="E"/>
|
||||||
|
<xsd:enumeration value="X"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
78
resources/ednotif-ws/CauseSortieHistorique.XSD
Normal file
78
resources/ednotif-ws/CauseSortieHistorique.XSD
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- version 1.02 modifiée du 11/02/2015 -->
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CauseSortieHistorique:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CauseSortieHistorique:1">
|
||||||
|
<xsd:simpleType name="CauseSortieHistoriqueType">
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="O">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>mouvement présumé calculé</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Boucherie</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="C">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Auto-Consommation</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="D">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Don</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Elevage ou vente</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="H">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Prêt ou pension</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="J">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Estives</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="L">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Location</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="M">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mort</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="P">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Prêt ou Pension</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="S">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Centre de rassemblement</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Exploitation de négoce</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="U">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Multipropriété</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Autre cause de sortie</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
45
resources/ednotif-ws/CauseSortieOC.XSD
Normal file
45
resources/ednotif-ws/CauseSortieOC.XSD
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CauseSortieOC:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CauseSortieOC:1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Cause sortie des ovins caprins]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:simpleType name="CauseSortieOCType">
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="H">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PRET OU PENSION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="C">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUTO-CONSOMMATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="M">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MORT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>VENTE BOUCHERIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>VENTE REPRODUCTEUR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="J">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MOUVEMENT SAISONNIER</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>INCONNUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
28
resources/ednotif-ws/ClasseMeriteBovin.XSD
Normal file
28
resources/ednotif-ws/ClasseMeriteBovin.XSD
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:ClasseMerite:1" xmlns="urn:fr:agri:elevage:codelist:ClasseMerite:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeClasseMerite">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="CPB"/>
|
||||||
|
<xsd:enumeration value="EPREU0"/>
|
||||||
|
<xsd:enumeration value="EPREU1"/>
|
||||||
|
<xsd:enumeration value="EPREU2"/>
|
||||||
|
<xsd:enumeration value="EPREUV"/>
|
||||||
|
<xsd:enumeration value="HISTOR"/>
|
||||||
|
<xsd:enumeration value="INIREG"/>
|
||||||
|
<xsd:enumeration value="ORIAUT"/>
|
||||||
|
<xsd:enumeration value="ORIPER"/>
|
||||||
|
<xsd:enumeration value="SAET1F"/>
|
||||||
|
<xsd:enumeration value="SAET1M"/>
|
||||||
|
<xsd:enumeration value="SAET2F"/>
|
||||||
|
<xsd:enumeration value="SAET2M"/>
|
||||||
|
<xsd:enumeration value="SAET3F"/>
|
||||||
|
<xsd:enumeration value="SAET3M"/>
|
||||||
|
<xsd:enumeration value="SPET1F"/>
|
||||||
|
<xsd:enumeration value="SPET1M"/>
|
||||||
|
<xsd:enumeration value="SPET2F"/>
|
||||||
|
<xsd:enumeration value="SPET2M"/>
|
||||||
|
<xsd:enumeration value="SPET3F"/>
|
||||||
|
<xsd:enumeration value="SPET3M"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
12
resources/ednotif-ws/ClassificationCellules.XSD
Normal file
12
resources/ednotif-ws/ClassificationCellules.XSD
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:ClassificationCellules:1" xmlns="urn:fr:agri:elevage:codelist:ClassificationCellules:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeClassificationCellules">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="S"/>
|
||||||
|
<xsd:enumeration value="I"/>
|
||||||
|
<xsd:enumeration value="G"/>
|
||||||
|
<xsd:enumeration value="*"/>
|
||||||
|
<xsd:enumeration value="X"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
210
resources/ednotif-ws/CodeAgnelage.XSD
Normal file
210
resources/ednotif-ws/CodeAgnelage.XSD
Normal file
@@ -0,0 +1,210 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeAgnelage:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeAgnelage:1">
|
||||||
|
<xsd:simpleType name="TypeCodeAgnelage">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[CodeAgnelage]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="10">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="11">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="12">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="13">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="14">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="15">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="16">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="17">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="18">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="19">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'automne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="20">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="21">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="22">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="23">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="24">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="25">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="26">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="27">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="28">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="29">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'hiver</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="30">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="31">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="32">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="33">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="34">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="35">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="36">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="37">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="38">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="39">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage de printemps</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="40">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="41">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="42">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="43">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="44">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="45">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="46">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="47">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="48">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="49">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agnelage d'été</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
16
resources/ednotif-ws/CodeAllele.XSD
Normal file
16
resources/ednotif-ws/CodeAllele.XSD
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeAllele:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeAllele:1">
|
||||||
|
<xsd:simpleType name="TypeCodeAllele">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="AHQ"/>
|
||||||
|
<xsd:enumeration value="ARR"/>
|
||||||
|
<xsd:enumeration value="ARQ"/>
|
||||||
|
<xsd:enumeration value="VRQ"/>
|
||||||
|
<xsd:enumeration value="">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>code de suppression</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
12
resources/ednotif-ws/CodeAnimalEvalueBovin.XSD
Normal file
12
resources/ednotif-ws/CodeAnimalEvalueBovin.XSD
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeAnimalEvalue:1" xmlns="urn:fr:agri:elevage:codelist:CodeAnimalEvalue:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeAnimalEvalue">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="3"/>
|
||||||
|
<xsd:enumeration value="4"/>
|
||||||
|
<xsd:enumeration value="5"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
4848
resources/ednotif-ws/CodeAnomalie.XSD
Normal file
4848
resources/ednotif-ws/CodeAnomalie.XSD
Normal file
File diff suppressed because it is too large
Load Diff
9
resources/ednotif-ws/CodeAnomalieCaprin.xsd
Normal file
9
resources/ednotif-ws/CodeAnomalieCaprin.xsd
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeAnomalieCaprin:1" xmlns="urn:fr:agri:elevage:codelist:CodeAnomalieCaprin:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeAnomalieCaprin">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="000001"/>
|
||||||
|
<xsd:enumeration value="000002"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
25
resources/ednotif-ws/CodeCategorieProduction.XSD
Normal file
25
resources/ednotif-ws/CodeCategorieProduction.XSD
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeCategorieProduction:1" xmlns="urn:fr:agri:elevage:codelist:CodeCategorieProduction:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeCategorieProduction">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code categorie production]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AGNEAU</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FUTUR REPRODUCTEUR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REPRODUCTEUR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
60
resources/ednotif-ws/CodeCauseEntree.XSD
Normal file
60
resources/ednotif-ws/CodeCauseEntree.XSD
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeCauseEntree:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeCauseEntree:1">
|
||||||
|
<xsd:simpleType name="TypeCodeCauseEntree">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code cause entree]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>NAISSANCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CREATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RENOUVELLEMENT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ACHAT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MUTATION INTERNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REACTIVATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PRET OU PENSION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ENTREE EN SCI OU CE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="8">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REPRISE EN SCI OU CE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="9">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>INCONNUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
60
resources/ednotif-ws/CodeCauseSortie.XSD
Normal file
60
resources/ednotif-ws/CodeCauseSortie.XSD
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeCauseSortie:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeCauseSortie:1">
|
||||||
|
<xsd:simpleType name="TypeCodeCauseSortie">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code cause sortie]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SORTIE DE SCI OU CE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MORT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>VENTE BOUCHERIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>VENTE REPRODUCTEUR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MUTATION INTERNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ERREUR DE NUMERO</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PRET OU PENSION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SORTIE AUTOMATIQUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="8">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUTO-CONSOMMATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="9">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>INCONNUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
90
resources/ednotif-ws/CodeCauseZootReforme.XSD
Normal file
90
resources/ednotif-ws/CodeCauseZootReforme.XSD
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeCauseZootReforme:1" xmlns="urn:fr:agri:elevage:codelist:CodeCauseZootReforme:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeCauseZootReforme">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code cause zootechnique de reforme]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="01">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MAMMITES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="02">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PB MAMMAIRES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="03">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CARACTERE LAITIER</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="04">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TROUBLES RESPIRATOIRES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="05">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TROUBLES REPRODUCTION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="06">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TROUBLES DIGESTIFS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="07">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TROUBLES NERVEUX</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="08">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TROUBLES LOCOMOTEURS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="09">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TROUBLES CUTANES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="10">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CONFORMATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="11">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ETAT GENERAL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="12">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUTRES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="13">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AGE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="14">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>COMPORTEMENT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="15">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ACCIDENTS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="16">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SORTIE VOLONTAIRE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
13
resources/ednotif-ws/CodeConditionVelageBovin.XSD
Normal file
13
resources/ednotif-ws/CodeConditionVelageBovin.XSD
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeConditionVelage:1" xmlns="urn:fr:agri:elevage:codelist:CodeConditionVelage:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeConditionVelage">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="5"/>
|
||||||
|
<xsd:enumeration value="3"/>
|
||||||
|
<xsd:enumeration value="4"/>
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="I"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
22
resources/ednotif-ws/CodeConseilUtilisationBovin.XSD
Normal file
22
resources/ednotif-ws/CodeConseilUtilisationBovin.XSD
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeConseilUtilisation:1" xmlns="urn:fr:agri:elevage:codelist:CodeConseilUtilisation:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeConseilUtilisation">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="3"/>
|
||||||
|
<xsd:enumeration value="4"/>
|
||||||
|
<xsd:enumeration value="5"/>
|
||||||
|
<xsd:enumeration value="6"/>
|
||||||
|
<xsd:enumeration value="A"/>
|
||||||
|
<xsd:enumeration value="B"/>
|
||||||
|
<xsd:enumeration value="C"/>
|
||||||
|
<xsd:enumeration value="D"/>
|
||||||
|
<xsd:enumeration value="E"/>
|
||||||
|
<xsd:enumeration value="F"/>
|
||||||
|
<xsd:enumeration value="M"/>
|
||||||
|
<xsd:enumeration value="P"/>
|
||||||
|
<xsd:enumeration value="T"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
20
resources/ednotif-ws/CodeDeclarationInitialeMaleBovin.XSD
Normal file
20
resources/ednotif-ws/CodeDeclarationInitialeMaleBovin.XSD
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeDeclarationInitialeMale:1" xmlns="urn:fr:agri:elevage:codelist:CodeDeclarationInitialeMale:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeDeclarationInitialeMale">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="01"/>
|
||||||
|
<xsd:enumeration value="02"/>
|
||||||
|
<xsd:enumeration value="03"/>
|
||||||
|
<xsd:enumeration value="04"/>
|
||||||
|
<xsd:enumeration value="05"/>
|
||||||
|
<xsd:enumeration value="07"/>
|
||||||
|
<xsd:enumeration value="08"/>
|
||||||
|
<xsd:enumeration value="10"/>
|
||||||
|
<xsd:enumeration value="11"/>
|
||||||
|
<xsd:enumeration value="12"/>
|
||||||
|
<xsd:enumeration value="13"/>
|
||||||
|
<xsd:enumeration value="90"/>
|
||||||
|
<xsd:enumeration value="99"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
447
resources/ednotif-ws/CodeDefaut.XSD
Normal file
447
resources/ednotif-ws/CodeDefaut.XSD
Normal file
@@ -0,0 +1,447 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeDefaut:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeDefaut:1">
|
||||||
|
<xsd:simpleType name="TypeCodeDefaut">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code defauts]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="A0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>manque de developpement</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>animal trop grand</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>animal trop long</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>dos casse</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>dos autre</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="C0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autres defauts conformation</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="D0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>poitrine serree</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>aplombs</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="G0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>aplombs avants</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="H0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>aplombs arrieres</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="J0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autres defauts aplombs</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="K0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>taches</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="L0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>cornes</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="M0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>couleur tete</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="M1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>tête : tâches</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="N0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>forme tete</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="O0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>laine sur la tete</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="P0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>oreilles</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="R0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autre defaut tete</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="S0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>toison</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>begue</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="U0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>grignard</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="V0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>type racial</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="W0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>génotype prp</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Y0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>testicules</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="X0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>manque de conformation</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autre</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>animal noir</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>typé Sarde</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>issu de croisement</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>causes multiples</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pis en poche</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autre défaut mamelle</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>présence de kyste lacté</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z8">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>trayons mal implantés</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z9">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>trayons trop gros</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut OVALL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="10">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>manque de developpement</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="11">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>animal trop grand</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="12">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>animal trop long</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="20">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>dos casse</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="21">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>dos autre</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="39">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autres defauts conformation</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="22">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>poitrine serree</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="30">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>aplombs</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="31">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>aplombs avants</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="32">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>aplombs arrieres</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="33">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autres defauts aplombs</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="40">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>taches</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="50">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>cornes</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="51">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>couleur tete</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="55">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>tête : tâches</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="52">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>forme tete</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="53">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>laine sur la tete</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="54">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>oreilles</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="59">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autre defaut tete</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="60">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>toison</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="65">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>begue</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="64">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>grignard</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="68">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>type racial</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="90">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>génotype prp</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="95">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>testicules</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="38">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>manque de conformation</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="69">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autre</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="61">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>animal noir</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="67">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>typé Sarde</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="66">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>issu de croisement</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="80">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>causes multiples</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="70">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pis en poche</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="71">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>autre défaut mamelle</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="72">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>présence de kyste lacté</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="73">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>trayons mal implantés</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="74">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>trayons trop gros</xsd:documentation>
|
||||||
|
<xsd:documentation>defaut SIEOL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
6
resources/ednotif-ws/CodeErreur.XSD
Normal file
6
resources/ednotif-ws/CodeErreur.XSD
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeErreur:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeErreur:1">
|
||||||
|
<xsd:simpleType name="TypeCodeErreur">
|
||||||
|
<xsd:restriction base="xsd:token"/>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
10
resources/ednotif-ws/CodeEspece.XSD
Normal file
10
resources/ednotif-ws/CodeEspece.XSD
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeEspece:1" xmlns="urn:fr:agri:elevage:codelist:CodeEspece:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeEspece">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="C"/>
|
||||||
|
<xsd:enumeration value="B"/>
|
||||||
|
<xsd:enumeration value="O"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
22
resources/ednotif-ws/CodeEtatFemelleBovin.XSD
Normal file
22
resources/ednotif-ws/CodeEtatFemelleBovin.XSD
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeEtatFemelle:1" xmlns="urn:fr:agri:elevage:codelist:CodeEtatFemelle:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeEtatFemelle">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="P">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pesee</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="N">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Non Controlee</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Tarie</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
21
resources/ednotif-ws/CodeEvenement.XSD
Normal file
21
resources/ednotif-ws/CodeEvenement.XSD
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeEvenement:1" xmlns="urn:fr:agri:elevage:codelist:CodeEvenement:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeEvenement">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Type evenement]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="IntroductionBovin"/>
|
||||||
|
<xsd:enumeration value="IntroductionBovinImporte"/>
|
||||||
|
<xsd:enumeration value="SortieBovin"/>
|
||||||
|
<xsd:enumeration value="NaissanceBovin"/>
|
||||||
|
<xsd:enumeration value="Avortement"/>
|
||||||
|
<xsd:enumeration value="Mammite clinique"/>
|
||||||
|
<xsd:enumeration value="Insemination"/>
|
||||||
|
<xsd:enumeration value="Velage"/>
|
||||||
|
<xsd:enumeration value="Transfert embryon"/>
|
||||||
|
<xsd:enumeration value="Monte naturelle"/>
|
||||||
|
<xsd:enumeration value="Collecte embryon"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
10
resources/ednotif-ws/CodeEvenementDebutLactationBovin.XSD
Normal file
10
resources/ednotif-ws/CodeEvenementDebutLactationBovin.XSD
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeEvenementDebutLactation:1" xmlns="urn:fr:agri:elevage:codelist:CodeEvenementDebutLactation:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeEvenementDebutLactation">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="V"/>
|
||||||
|
<xsd:enumeration value="H"/>
|
||||||
|
<xsd:enumeration value="A"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
157
resources/ednotif-ws/CodeFamilleDonnee.XSD
Normal file
157
resources/ednotif-ws/CodeFamilleDonnee.XSD
Normal file
@@ -0,0 +1,157 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeFamilleDonnee:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeFamilleDonnee:1">
|
||||||
|
<xsd:simpleType name="TypeCodeFamilleDonnee">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="APL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Analyses Paiement Lait</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="CIA">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Insemination Animale</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="CL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Controle Laitier</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="COMV">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Normabev</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="CPB">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Certification Parente</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="CPV">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Controle Perfo Viande</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="CZ">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Certif. Zootechnique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="ETE">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Transplant. Embryon</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="GES">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Constat de Gestation</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="GIN">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Genes D'Inter t</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="GNO">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Genotypes</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IBO">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Index Iboval</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IFC">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Index Fonctionnels</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IMF">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Index Morpho</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IND">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Index</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="INV">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Inventaire</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IOT">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees I.O.T.</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IPG">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Identite-Tracabilite</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IPL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Index Prod Laitiere</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IST">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Index Stations</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="ISY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Index ISU (Index Synthese)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="JOU">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Abonnement Journal SIG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="MIR">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees De Spectres MIR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="RAC">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees race responsabilite OS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="RGL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees regl HORS Base Select.</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="SAN">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees De Sante</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="SCI">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Stations SE Et CI</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="SMA">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Sante - Mamelle</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="SPI">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Sante - Pied</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="TMP">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Donnees Taureau Monte Publique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
9
resources/ednotif-ws/CodeIndexAscendanceBovin.XSD
Normal file
9
resources/ednotif-ws/CodeIndexAscendanceBovin.XSD
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeIndexAscendance:1" xmlns="urn:fr:agri:elevage:codelist:CodeIndexAscendance:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeIndexAscendance">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="O"/>
|
||||||
|
<xsd:enumeration value="N"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
142
resources/ednotif-ws/CodeIndicateurGenealogieCertifieeBovin.XSD
Normal file
142
resources/ednotif-ws/CodeIndicateurGenealogieCertifieeBovin.XSD
Normal file
@@ -0,0 +1,142 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeIndicateurGenealogieCertifiee:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeIndicateurGenealogieCertifiee:1">
|
||||||
|
<xsd:simpleType name="TypeCodeIndicateurGenealogieCertifiee">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>cause justifiee</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ascendance modifiee hors T3</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>certifie hors T3 avt init T3</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>certifie hors T3 premature</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>certif hors T3 peres race dif</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>certifie hors T3 triple</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>certif hors T3 - 2 peres poss</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>certif hors T3 avec VCG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="8">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>certifie hors T3 ? cas divers</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="9">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>certifie a l'etranger</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Monte naturelle</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="C">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Monte etrangere (IA ou MN)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="D">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE valid. compatib. genetique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE etranger valid. compat. gen</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA valid. compatib. genetique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="G">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MN valid. compatib. genetique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="H">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mte etrangere valid. comp. gen</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="I">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA seule</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="J">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA sur algo 2 peres possibles</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="K">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MN seule</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="L">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MN sur algo 2 peres possibles</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="M">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mere seule</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="N">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere declare plausible-pas evt</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>initialisation T3 RAGENE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Y">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>INITIALISATION T5 P3</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>init. genealogie genetique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
10
resources/ednotif-ws/CodeIndicateurVelageMultipleBovin.XSD
Normal file
10
resources/ednotif-ws/CodeIndicateurVelageMultipleBovin.XSD
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeIndicateurVelageMultiple:1" xmlns="urn:fr:agri:elevage:codelist:CodeIndicateurVelageMultiple:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeIndicateurVelageMultiple">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="I"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
35
resources/ednotif-ws/CodeMB.XSD
Normal file
35
resources/ednotif-ws/CodeMB.XSD
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeMB:1" xmlns="urn:fr:agri:elevage:codelist:CodeMB:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeMB">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code mise bas]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="M">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MISE-BAS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AVORTEMENT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="N">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>NON PRECISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="V">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>VIDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="L">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>NON LUTTEE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
30
resources/ednotif-ws/CodeMethodeAllaitement.XSD
Normal file
30
resources/ednotif-ws/CodeMethodeAllaitement.XSD
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeMethodeAllaitement:1" xmlns="urn:fr:agri:elevage:codelist:CodeMethodeAllaitement:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeMethodeAllaitement">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code methode allaitement]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ALLAITEMENT MATERNEL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ALLAITEMENT ARTIFICIEL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ADOPTE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BIBERONNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
12
resources/ednotif-ws/CodeMethodeAnalyse.XSD
Normal file
12
resources/ednotif-ws/CodeMethodeAnalyse.XSD
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeMethodeAnalyse:1" xmlns="urn:fr:agri:elevage:codelist:CodeMethodeAnalyse:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeMethodeAnalyse">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Methode de mesure]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="comptagecellule"/>
|
||||||
|
<xsd:enumeration value="infrarouge"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
75
resources/ednotif-ws/CodeMethodeReproduction.XSD
Normal file
75
resources/ednotif-ws/CodeMethodeReproduction.XSD
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeMethodeReproduction:1" xmlns="urn:fr:agri:elevage:codelist:CodeMethodeReproduction:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeMethodeReproduction">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code methode reproduction]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="E">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TRANSFERT EMBRYONNAIRE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="I">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>OESTRUS INDUIT + IA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="J">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>OESTRUS NATUREL + IA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="K">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>OESTRUS INDUIT + IA MELANGE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="L">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation> OESTRUS NATUREL + IA MELANGE </xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="M">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MELATONINE + MN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="N">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MONTE NATURELLE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Q">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RETOUR SUITE A OI+MN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="R">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation> RETOUR SUITE A OI</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="S">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation> RETOUR SUITE A OI+IA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>OESTRUS INDUIT + MN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="U">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IMMUNISATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>INCONNU</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
10
resources/ednotif-ws/CodeMiseBas.xsd
Normal file
10
resources/ednotif-ws/CodeMiseBas.xsd
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeMiseBas:1" xmlns="urn:fr:agri:elevage:codelist:CodeMiseBas:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeMiseBas">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="M"/>
|
||||||
|
<xsd:enumeration value="A"/>
|
||||||
|
<xsd:enumeration value="N"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
9
resources/ednotif-ws/CodeModeConduiteBovin.XSD
Normal file
9
resources/ednotif-ws/CodeModeConduiteBovin.XSD
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeModeConduite:1" xmlns="urn:fr:agri:elevage:codelist:CodeModeConduite:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeModeConduite">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="N"/>
|
||||||
|
<xsd:enumeration value="T"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
9
resources/ednotif-ws/CodeModeConservationBovin.XSD
Normal file
9
resources/ednotif-ws/CodeModeConservationBovin.XSD
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeModeConservation:1" xmlns="urn:fr:agri:elevage:codelist:CodeModeConservation:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeModeConservation">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="3"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
30
resources/ednotif-ws/CodeMortalite.XSD
Normal file
30
resources/ednotif-ws/CodeMortalite.XSD
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeMortalite:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeMortalite:1">
|
||||||
|
<xsd:simpleType name="TypeCodeMortalite">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code mortalite]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mort ne</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mort - de 20 jours</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mort + de 20 jours</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>code de suppression</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
9
resources/ednotif-ws/CodeNatureCollecteBovin.XSD
Normal file
9
resources/ednotif-ws/CodeNatureCollecteBovin.XSD
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeNatureCollecte:1" xmlns="urn:fr:agri:elevage:codelist:CodeNatureCollecte:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeNatureCollecte">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
92
resources/ednotif-ws/CodeNonQualificationLactationBovin.XSD
Normal file
92
resources/ednotif-ws/CodeNonQualificationLactationBovin.XSD
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeNonQualificationLactation:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeNonQualificationLactation:1">
|
||||||
|
<xsd:simpleType name="TypeCodeNonQualificationLactation">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Intervalle MB-1er trop long</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Plus de 2 non controles</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Plus de 3 controles sans taux</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Intervalle interdit</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>+ d'1 intervalle except. long</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Plus de 3 Intervalles longs</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Intervalle moyen trop long</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="8">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>2 N.C. + 2 controles sans taux</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="9">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>1 N.C. + 3 controles sans taux</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Intervalle MB-1er trop long</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>moins de 3 ctrl compl. - 305j</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="C">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Intervalle interdit</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="D">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Intervalle moyen trop long</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>lactation etrangere</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="I">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>lactation a titre initial</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="N">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>protocole contrat interdit</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="G">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>absence methode estimation TB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
12
resources/ednotif-ws/CodeOrganisme.xsd
Normal file
12
resources/ednotif-ws/CodeOrganisme.xsd
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeOrganisme:1" xmlns="urn:fr:agri:elevage:codelist:CodeOrganisme:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeOrganisme">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="N"/>
|
||||||
|
<xsd:enumeration value=" "/>
|
||||||
|
<xsd:enumeration value="0"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
10
resources/ednotif-ws/CodeOrigineCollecteMammiteBovin.XSD
Normal file
10
resources/ednotif-ws/CodeOrigineCollecteMammiteBovin.XSD
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeOrigineCollecteMammite:1" xmlns="urn:fr:agri:elevage:codelist:CodeOrigineCollecteMammite:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeOrigineCollecteMammite">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="A"/>
|
||||||
|
<xsd:enumeration value="C"/>
|
||||||
|
<xsd:enumeration value="B"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
22
resources/ednotif-ws/CodePailletteFractionneeBovin.XSD
Normal file
22
resources/ednotif-ws/CodePailletteFractionneeBovin.XSD
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodePailletteFractionnee:1" xmlns="urn:fr:agri:elevage:codelist:CodePailletteFractionnee:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodePailletteFractionnee">
|
||||||
|
<xsd:union>
|
||||||
|
<xsd:simpleType>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="Q"/>
|
||||||
|
<xsd:enumeration value="B"/>
|
||||||
|
<xsd:enumeration value="P"/>
|
||||||
|
<xsd:enumeration value="D"/>
|
||||||
|
<xsd:enumeration value="T"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
<xsd:simpleType>
|
||||||
|
<xsd:restriction base="xsd:int">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:union>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
253
resources/ednotif-ws/CodePays.XSD
Normal file
253
resources/ednotif-ws/CodePays.XSD
Normal file
@@ -0,0 +1,253 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodePays:1" xmlns="urn:fr:agri:elevage:codelist:CodePays:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodePays">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code pays]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="CD"/>
|
||||||
|
<xsd:enumeration value="TL"/>
|
||||||
|
<xsd:enumeration value="ZA"/>
|
||||||
|
<xsd:enumeration value="AL"/>
|
||||||
|
<xsd:enumeration value="DZ"/>
|
||||||
|
<xsd:enumeration value="DE"/>
|
||||||
|
<xsd:enumeration value="AD"/>
|
||||||
|
<xsd:enumeration value="AO"/>
|
||||||
|
<xsd:enumeration value="AI"/>
|
||||||
|
<xsd:enumeration value="AQ"/>
|
||||||
|
<xsd:enumeration value="AG"/>
|
||||||
|
<xsd:enumeration value="AN"/>
|
||||||
|
<xsd:enumeration value="SA"/>
|
||||||
|
<xsd:enumeration value="AR"/>
|
||||||
|
<xsd:enumeration value="AM"/>
|
||||||
|
<xsd:enumeration value="AW"/>
|
||||||
|
<xsd:enumeration value="AU"/>
|
||||||
|
<xsd:enumeration value="AT"/>
|
||||||
|
<xsd:enumeration value="AZ"/>
|
||||||
|
<xsd:enumeration value="BS"/>
|
||||||
|
<xsd:enumeration value="BH"/>
|
||||||
|
<xsd:enumeration value="BD"/>
|
||||||
|
<xsd:enumeration value="BB"/>
|
||||||
|
<xsd:enumeration value="BY"/>
|
||||||
|
<xsd:enumeration value="BE"/>
|
||||||
|
<xsd:enumeration value="BZ"/>
|
||||||
|
<xsd:enumeration value="BJ"/>
|
||||||
|
<xsd:enumeration value="BM"/>
|
||||||
|
<xsd:enumeration value="BT"/>
|
||||||
|
<xsd:enumeration value="BO"/>
|
||||||
|
<xsd:enumeration value="BV"/>
|
||||||
|
<xsd:enumeration value="BR"/>
|
||||||
|
<xsd:enumeration value="BN"/>
|
||||||
|
<xsd:enumeration value="BG"/>
|
||||||
|
<xsd:enumeration value="BF"/>
|
||||||
|
<xsd:enumeration value="BI"/>
|
||||||
|
<xsd:enumeration value="KY"/>
|
||||||
|
<xsd:enumeration value="KH"/>
|
||||||
|
<xsd:enumeration value="CM"/>
|
||||||
|
<xsd:enumeration value="CA"/>
|
||||||
|
<xsd:enumeration value="CV"/>
|
||||||
|
<xsd:enumeration value="CF"/>
|
||||||
|
<xsd:enumeration value="CL"/>
|
||||||
|
<xsd:enumeration value="CN"/>
|
||||||
|
<xsd:enumeration value="CX"/>
|
||||||
|
<xsd:enumeration value="CY"/>
|
||||||
|
<xsd:enumeration value="CC"/>
|
||||||
|
<xsd:enumeration value="CO"/>
|
||||||
|
<xsd:enumeration value="KM"/>
|
||||||
|
<xsd:enumeration value="CG"/>
|
||||||
|
<xsd:enumeration value="MS"/>
|
||||||
|
<xsd:enumeration value="ME"/>
|
||||||
|
<xsd:enumeration value="MZ"/>
|
||||||
|
<xsd:enumeration value="MM"/>
|
||||||
|
<xsd:enumeration value="NA"/>
|
||||||
|
<xsd:enumeration value="NR"/>
|
||||||
|
<xsd:enumeration value="TZ"/>
|
||||||
|
<xsd:enumeration value="TD"/>
|
||||||
|
<xsd:enumeration value="CZ"/>
|
||||||
|
<xsd:enumeration value="TF"/>
|
||||||
|
<xsd:enumeration value="TH"/>
|
||||||
|
<xsd:enumeration value="TG"/>
|
||||||
|
<xsd:enumeration value="TK"/>
|
||||||
|
<xsd:enumeration value="TO"/>
|
||||||
|
<xsd:enumeration value="TT"/>
|
||||||
|
<xsd:enumeration value="TN"/>
|
||||||
|
<xsd:enumeration value="TM"/>
|
||||||
|
<xsd:enumeration value="TC"/>
|
||||||
|
<xsd:enumeration value="TR"/>
|
||||||
|
<xsd:enumeration value="TV"/>
|
||||||
|
<xsd:enumeration value="UA"/>
|
||||||
|
<xsd:enumeration value="UY"/>
|
||||||
|
<xsd:enumeration value="VU"/>
|
||||||
|
<xsd:enumeration value="VA"/>
|
||||||
|
<xsd:enumeration value="VE"/>
|
||||||
|
<xsd:enumeration value="VN"/>
|
||||||
|
<xsd:enumeration value="PF"/>
|
||||||
|
<xsd:enumeration value="PR"/>
|
||||||
|
<xsd:enumeration value="QA"/>
|
||||||
|
<xsd:enumeration value="PT"/>
|
||||||
|
<xsd:enumeration value="RE"/>
|
||||||
|
<xsd:enumeration value="RO"/>
|
||||||
|
<xsd:enumeration value="UK"/>
|
||||||
|
<xsd:enumeration value="CH"/>
|
||||||
|
<xsd:enumeration value="YE"/>
|
||||||
|
<xsd:enumeration value="WF"/>
|
||||||
|
<xsd:enumeration value="ZW"/>
|
||||||
|
<xsd:enumeration value="SR"/>
|
||||||
|
<xsd:enumeration value="SJ"/>
|
||||||
|
<xsd:enumeration value="SE"/>
|
||||||
|
<xsd:enumeration value="SZ"/>
|
||||||
|
<xsd:enumeration value="ZM"/>
|
||||||
|
<xsd:enumeration value="SY"/>
|
||||||
|
<xsd:enumeration value="TJ"/>
|
||||||
|
<xsd:enumeration value="TW"/>
|
||||||
|
<xsd:enumeration value="RS"/>
|
||||||
|
<xsd:enumeration value="PS"/>
|
||||||
|
<xsd:enumeration value="CK"/>
|
||||||
|
<xsd:enumeration value="KR"/>
|
||||||
|
<xsd:enumeration value="KP"/>
|
||||||
|
<xsd:enumeration value="CR"/>
|
||||||
|
<xsd:enumeration value="CI"/>
|
||||||
|
<xsd:enumeration value="HR"/>
|
||||||
|
<xsd:enumeration value="CU"/>
|
||||||
|
<xsd:enumeration value="AF"/>
|
||||||
|
<xsd:enumeration value="DM"/>
|
||||||
|
<xsd:enumeration value="EG"/>
|
||||||
|
<xsd:enumeration value="SV"/>
|
||||||
|
<xsd:enumeration value="AE"/>
|
||||||
|
<xsd:enumeration value="EC"/>
|
||||||
|
<xsd:enumeration value="ER"/>
|
||||||
|
<xsd:enumeration value="ES"/>
|
||||||
|
<xsd:enumeration value="EE"/>
|
||||||
|
<xsd:enumeration value="US"/>
|
||||||
|
<xsd:enumeration value="ET"/>
|
||||||
|
<xsd:enumeration value="FK"/>
|
||||||
|
<xsd:enumeration value="FO"/>
|
||||||
|
<xsd:enumeration value="FJ"/>
|
||||||
|
<xsd:enumeration value="FI"/>
|
||||||
|
<xsd:enumeration value="FR"/>
|
||||||
|
<xsd:enumeration value="FX"/>
|
||||||
|
<xsd:enumeration value="GA"/>
|
||||||
|
<xsd:enumeration value="GM"/>
|
||||||
|
<xsd:enumeration value="GE"/>
|
||||||
|
<xsd:enumeration value="GS"/>
|
||||||
|
<xsd:enumeration value="GH"/>
|
||||||
|
<xsd:enumeration value="GI"/>
|
||||||
|
<xsd:enumeration value="EL"/>
|
||||||
|
<xsd:enumeration value="GD"/>
|
||||||
|
<xsd:enumeration value="GL"/>
|
||||||
|
<xsd:enumeration value="GP"/>
|
||||||
|
<xsd:enumeration value="BA"/>
|
||||||
|
<xsd:enumeration value="BW"/>
|
||||||
|
<xsd:enumeration value="GQ"/>
|
||||||
|
<xsd:enumeration value="GY"/>
|
||||||
|
<xsd:enumeration value="GF"/>
|
||||||
|
<xsd:enumeration value="HT"/>
|
||||||
|
<xsd:enumeration value="HM"/>
|
||||||
|
<xsd:enumeration value="HN"/>
|
||||||
|
<xsd:enumeration value="HK"/>
|
||||||
|
<xsd:enumeration value="HU"/>
|
||||||
|
<xsd:enumeration value="UM"/>
|
||||||
|
<xsd:enumeration value="VG"/>
|
||||||
|
<xsd:enumeration value="VI"/>
|
||||||
|
<xsd:enumeration value="IN"/>
|
||||||
|
<xsd:enumeration value="ID"/>
|
||||||
|
<xsd:enumeration value="IR"/>
|
||||||
|
<xsd:enumeration value="IQ"/>
|
||||||
|
<xsd:enumeration value="IE"/>
|
||||||
|
<xsd:enumeration value="IS"/>
|
||||||
|
<xsd:enumeration value="IL"/>
|
||||||
|
<xsd:enumeration value="IT"/>
|
||||||
|
<xsd:enumeration value="JM"/>
|
||||||
|
<xsd:enumeration value="JP"/>
|
||||||
|
<xsd:enumeration value="JO"/>
|
||||||
|
<xsd:enumeration value="KZ"/>
|
||||||
|
<xsd:enumeration value="KE"/>
|
||||||
|
<xsd:enumeration value="KG"/>
|
||||||
|
<xsd:enumeration value="DK"/>
|
||||||
|
<xsd:enumeration value="DJ"/>
|
||||||
|
<xsd:enumeration value="DO"/>
|
||||||
|
<xsd:enumeration value="LB"/>
|
||||||
|
<xsd:enumeration value="LR"/>
|
||||||
|
<xsd:enumeration value="LY"/>
|
||||||
|
<xsd:enumeration value="LI"/>
|
||||||
|
<xsd:enumeration value="LT"/>
|
||||||
|
<xsd:enumeration value="LU"/>
|
||||||
|
<xsd:enumeration value="MO"/>
|
||||||
|
<xsd:enumeration value="MG"/>
|
||||||
|
<xsd:enumeration value="MY"/>
|
||||||
|
<xsd:enumeration value="MW"/>
|
||||||
|
<xsd:enumeration value="MV"/>
|
||||||
|
<xsd:enumeration value="ML"/>
|
||||||
|
<xsd:enumeration value="MT"/>
|
||||||
|
<xsd:enumeration value="MP"/>
|
||||||
|
<xsd:enumeration value="MA"/>
|
||||||
|
<xsd:enumeration value="MH"/>
|
||||||
|
<xsd:enumeration value="MQ"/>
|
||||||
|
<xsd:enumeration value="MU"/>
|
||||||
|
<xsd:enumeration value="MR"/>
|
||||||
|
<xsd:enumeration value="YT"/>
|
||||||
|
<xsd:enumeration value="MX"/>
|
||||||
|
<xsd:enumeration value="FM"/>
|
||||||
|
<xsd:enumeration value="MC"/>
|
||||||
|
<xsd:enumeration value="MD"/>
|
||||||
|
<xsd:enumeration value="GU"/>
|
||||||
|
<xsd:enumeration value="MK"/>
|
||||||
|
<xsd:enumeration value="GT"/>
|
||||||
|
<xsd:enumeration value="GN"/>
|
||||||
|
<xsd:enumeration value="GW"/>
|
||||||
|
<xsd:enumeration value="NP"/>
|
||||||
|
<xsd:enumeration value="NI"/>
|
||||||
|
<xsd:enumeration value="NE"/>
|
||||||
|
<xsd:enumeration value="NG"/>
|
||||||
|
<xsd:enumeration value="NU"/>
|
||||||
|
<xsd:enumeration value="NF"/>
|
||||||
|
<xsd:enumeration value="NO"/>
|
||||||
|
<xsd:enumeration value="NC"/>
|
||||||
|
<xsd:enumeration value="NZ"/>
|
||||||
|
<xsd:enumeration value="IO"/>
|
||||||
|
<xsd:enumeration value="OM"/>
|
||||||
|
<xsd:enumeration value="UG"/>
|
||||||
|
<xsd:enumeration value="UZ"/>
|
||||||
|
<xsd:enumeration value="PK"/>
|
||||||
|
<xsd:enumeration value="PW"/>
|
||||||
|
<xsd:enumeration value="PA"/>
|
||||||
|
<xsd:enumeration value="PG"/>
|
||||||
|
<xsd:enumeration value="PY"/>
|
||||||
|
<xsd:enumeration value="NL"/>
|
||||||
|
<xsd:enumeration value="PE"/>
|
||||||
|
<xsd:enumeration value="PH"/>
|
||||||
|
<xsd:enumeration value="PN"/>
|
||||||
|
<xsd:enumeration value="PL"/>
|
||||||
|
<xsd:enumeration value="KI"/>
|
||||||
|
<xsd:enumeration value="KW"/>
|
||||||
|
<xsd:enumeration value="LA"/>
|
||||||
|
<xsd:enumeration value="LS"/>
|
||||||
|
<xsd:enumeration value="LV"/>
|
||||||
|
<xsd:enumeration value="RU"/>
|
||||||
|
<xsd:enumeration value="RW"/>
|
||||||
|
<xsd:enumeration value="EH"/>
|
||||||
|
<xsd:enumeration value="SH"/>
|
||||||
|
<xsd:enumeration value="KN"/>
|
||||||
|
<xsd:enumeration value="LC"/>
|
||||||
|
<xsd:enumeration value="SM"/>
|
||||||
|
<xsd:enumeration value="PM"/>
|
||||||
|
<xsd:enumeration value="VC"/>
|
||||||
|
<xsd:enumeration value="SB"/>
|
||||||
|
<xsd:enumeration value="WS"/>
|
||||||
|
<xsd:enumeration value="AS"/>
|
||||||
|
<xsd:enumeration value="ST"/>
|
||||||
|
<xsd:enumeration value="SN"/>
|
||||||
|
<xsd:enumeration value="SC"/>
|
||||||
|
<xsd:enumeration value="SL"/>
|
||||||
|
<xsd:enumeration value="SG"/>
|
||||||
|
<xsd:enumeration value="SK"/>
|
||||||
|
<xsd:enumeration value="SI"/>
|
||||||
|
<xsd:enumeration value="SO"/>
|
||||||
|
<xsd:enumeration value="SD"/>
|
||||||
|
<xsd:enumeration value="LK"/>
|
||||||
|
<xsd:enumeration value="MN"/>
|
||||||
|
<xsd:enumeration value="GB"/>
|
||||||
|
<xsd:enumeration value="XI"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
325
resources/ednotif-ws/CodePaysAnimal.XSD
Normal file
325
resources/ednotif-ws/CodePaysAnimal.XSD
Normal file
@@ -0,0 +1,325 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodePaysAnimal:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodePaysAnimal:1">
|
||||||
|
<xsd:simpleType name="TypeCodePaysAnimal">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code pays]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="040">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUTRICHE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="056">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BELGIQUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="100">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BULGARIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="191">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CROATIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="196">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHYPRE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="203">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REPUBLIQUE TCHEQUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="208">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>DANEMARK</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="233">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ESTONIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="246">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FINLANDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="250">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FRANCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="276">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ALLEMAGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="300">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>GRECE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="348">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>HONGRIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="372">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IRLANDE DU SUD</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="380">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ITALIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="428">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LETTONIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="470">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALTE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="440">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LITUANIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="442">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LUXEMBOURG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="528">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PAYS-BAS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="616">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>POLOGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="620">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PORTUGAL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="642">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROUMANIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="703">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SLOVAQUIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="705">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SLOVENIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="724">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ESPAGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="756">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SUISSE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="752">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SUEDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="826">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROYAUME-UNI</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="AT">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUTRICHE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="BE">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BELGIQUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="BG">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BULGARIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="CH">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SUISSE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="CZ">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REPUBLIQUE TCHEQUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="CY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHYPRE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="DE">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ALLEMAGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="DK">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>DANEMARK</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="EE">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ESTONIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="EL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>GRECE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="ES">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ESPAGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="FI">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FINLANDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="FR">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FRANCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="HR">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CROATIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="HU">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>HONGRIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IE">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IRLANDE DU SUD</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="IT">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ITALIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="LT">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LITUANIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="LU">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LUXEMBOURG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="LV">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LETTONIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="MT">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALTE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="NL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PAYS-BAS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="PL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>POLOGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="PT">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PORTUGAL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="RO">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROUMANIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="SE">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SUEDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="SI">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SLOVENIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="SK">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SLOVAQUIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="UK">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROYAUME UNI-pour donnees AVANT Brexit</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="899">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IRLANDE DU NORD</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="XI">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IRLANDE DU NORD</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="900">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>GRANDE BRETAGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="GB">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>GRANDE BRETAGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="RS">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SERBIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
13
resources/ednotif-ws/CodePoidsAgeTypeBovin.XSD
Normal file
13
resources/ednotif-ws/CodePoidsAgeTypeBovin.XSD
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodePoidsAgeType:1" xmlns="urn:fr:agri:elevage:codelist:CodePoidsAgeType:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodePoidsAgeType">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="04"/>
|
||||||
|
<xsd:enumeration value="06"/>
|
||||||
|
<xsd:enumeration value="07"/>
|
||||||
|
<xsd:enumeration value="12"/>
|
||||||
|
<xsd:enumeration value="18"/>
|
||||||
|
<xsd:enumeration value="24"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
27
resources/ednotif-ws/CodeProtocoleCLBovin.XSD
Normal file
27
resources/ednotif-ws/CodeProtocoleCLBovin.XSD
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeProtocoleCL:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeProtocoleCL:1">
|
||||||
|
<xsd:simpleType name="TypeCodeProtocoleCL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code protocole du controle laitier]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="A"/>
|
||||||
|
<xsd:enumeration value="C"/>
|
||||||
|
<xsd:enumeration value="CR"/>
|
||||||
|
<xsd:enumeration value="AR"/>
|
||||||
|
<xsd:enumeration value="CT"/>
|
||||||
|
<xsd:enumeration value="AT"/>
|
||||||
|
<xsd:enumeration value="CZ"/>
|
||||||
|
<xsd:enumeration value="BR"/>
|
||||||
|
<xsd:enumeration value="B"/>
|
||||||
|
<xsd:enumeration value="AZ"/>
|
||||||
|
<xsd:enumeration value="BT"/>
|
||||||
|
<xsd:enumeration value="BZ"/>
|
||||||
|
<xsd:enumeration value="AP"/>
|
||||||
|
<xsd:enumeration value="AQ"/>
|
||||||
|
<xsd:enumeration value="CS"/>
|
||||||
|
<xsd:enumeration value="AU"/>
|
||||||
|
<xsd:enumeration value="BU"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
65
resources/ednotif-ws/CodeQualifAdulte.XSD
Normal file
65
resources/ednotif-ws/CodeQualifAdulte.XSD
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeQualifAdulte:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeQualifAdulte:1">
|
||||||
|
<xsd:simpleType name="TypeCodeQualifAdulte">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[CodeQualifAdulte]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="25">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="26">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MJ</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="27">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="29">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="42">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AM</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="45">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AMPR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="50">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AMVL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="60">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AMCR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="63">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AMEL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="65">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AMBO</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="70">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>EL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
100
resources/ednotif-ws/CodeQualifJeune.XSD
Normal file
100
resources/ednotif-ws/CodeQualifJeune.XSD
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeQualifJeune:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeQualifJeune:1">
|
||||||
|
<xsd:simpleType name="TypeCodeQualifJeune">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[CodeQualifJeune]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="01">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ESP</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="02">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RI</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="03">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>R</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="05">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="06">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RC</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="08">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="10">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="12">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RM</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="15">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Rdable</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="20">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RDEE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="30">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RDC</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="31">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RDB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="33">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RDT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="35">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RDA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="37">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RDM</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="39">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RD*</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="90">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REV</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="95">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>NR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
452
resources/ednotif-ws/CodeQualificationLactationBovin.XSD
Normal file
452
resources/ednotif-ws/CodeQualificationLactationBovin.XSD
Normal file
@@ -0,0 +1,452 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeQualificationLactation:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeQualificationLactation:1">
|
||||||
|
<xsd:simpleType name="TypeCodeQualificationLactation">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="AY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>A9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="BY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>B9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="RY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="1Y">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="ZY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2Y">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="TY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3Y">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="27">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="37">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR*4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR*5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR*6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR*7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="EY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR*9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="EX">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR*8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT*4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT*5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT*6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT*7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="FX">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT*8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="FY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT*9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="G4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ*4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="G5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ*5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="G6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ*6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="G7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ*7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="GX">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ*8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="GY">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ*9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="54">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR*4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="55">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR*5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="56">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR*6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="57">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR*7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="5X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR*8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="5Y">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR*9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="64">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ*4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="65">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ*5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="66">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ*6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="67">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ*7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="6X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ*8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="6Y">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ*9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="74">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT*4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="75">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT*5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="76">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT*6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="77">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT*7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="7X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT*8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="7Y">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT*9</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>A30</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="AL">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>A42</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="AT">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT30</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="AX">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>A 8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>A4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>A5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>A6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>A7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="BX">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>B 8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>B4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>B5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>B6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>B7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="LE">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Lactation Etrangere</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="NQ">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Non qualifiee</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="RX">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>R 8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="R4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="R5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="R6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="R7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AR7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="TX">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AT6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="ZX">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="Z6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CZ6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="1X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR8</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="14">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="15">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="16">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="17">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BR7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="24">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="25">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="26">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BZ6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT7</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="34">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT4</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="35">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT5</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="36">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BT6</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
1180
resources/ednotif-ws/CodeRace.XSD
Normal file
1180
resources/ednotif-ws/CodeRace.XSD
Normal file
File diff suppressed because it is too large
Load Diff
468
resources/ednotif-ws/CodeRaceBovin.XSD
Normal file
468
resources/ednotif-ws/CodeRaceBovin.XSD
Normal file
@@ -0,0 +1,468 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeRaceBovin:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeRaceBovin:1">
|
||||||
|
<xsd:simpleType name="TypeCodeRaceBovin">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code race bovine]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="00">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>INCONNU</xsd:documentation>
|
||||||
|
<xsd:documentation>Reserve historique - Attribution interdite</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="10">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BISON</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="11">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PIRENAICA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="12">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ABONDANCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="13">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>WAGYU</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="14">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUBRAC</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="15">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>JERSIAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="16">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-02-1993</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="17">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ANGUS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="18">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AYRSHIRE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="19">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PIE ROUGE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="20">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BUFFLE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="21">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BRUNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="22">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BLEUE DE BAZOUGERS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="23">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SALERS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="24">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BAZADAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="25">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BLANC BLEU</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="26">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BORDELAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="27">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-10-1980</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="28">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REDYBLACK</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="29">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BRETONNE PIE NOIR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="30">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUROCHS RECONSTITUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="31">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TARENTAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="32">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHIANINA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="33">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LOURDAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="34">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LIMOUSINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="35">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SIMMENTAL FRANCAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="36">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CORSE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="37">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RACO DI BIOU</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="38">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHAROLAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="39">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CROISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="40">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>3/4 MONTBELIARDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="41">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROUGE DES PRES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="42">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>DAIRY SHORTHORN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="43">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ARMORICAINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="44">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUTR. RACES TRAITES ETRANGERES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="45">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SOUTH DEVON</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="46">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MONTBELIARDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="47">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-02-1993</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="48">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUTR. RA. ALLAITAN. ETRANGERES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="49">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MARCHIGIANA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="50">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>3/4 NORMANDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="51">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BRAVE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="52">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BLEUE DU NORD</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="53">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>VILLARD DE LANS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="54">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>N'DAMA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="55">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CREOLE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="56">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>NORMANDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="57">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>VOSGIENNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="58">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MARAICHINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="59">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-07-1985</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="60">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>3/4 PRIM'HOLSTEIN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="61">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BEARNAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="62">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-10-1980</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="63">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROUGE FLAMANDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="64">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MARINE LANDAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="65">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FERRANDAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="66">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PRIM'HOLSTEIN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="67">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PRG. FEDER. EUROP. PIE ROUGE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="68">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-10-1980</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="69">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FROMENT DU LEON</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="70">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BRUNA D' ANDORRA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="71">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PARTHENAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="72">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>GASCONNE DES PYRENEES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="73">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>GALLOWAY</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="74">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>GUERNESEY</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="75">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PIEMONTAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="76">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>NANTAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="77">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MIRANDAISE (Gasconne areolee)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="78">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>GELBVIEH</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="79">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BLONDE D'AQUITAINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="80">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MOKA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="81">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BRAHMA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="82">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>HERENS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="83">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-10-1980</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="84">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PROGRAMME RED HOLSTEIN X MONTBELIARDE</xsd:documentation>
|
||||||
|
<xsd:documentation>Code cloture le 01-07-2000</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="85">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>HEREFORD</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="86">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>HIGHLAND CATTLE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="87">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PROGRAMME RED HOLSTEIN X PIE- ROUGE DES PLAINES</xsd:documentation>
|
||||||
|
<xsd:documentation>Code cloture le 01-01-2004</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="88">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SAOSNOISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="89">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-10-1980</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="90">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ZEBU MAHORAIS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="91">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PRG. RED HOLST. X ABONDANCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="92">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CANADIENNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="93">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>COOPELSO 93</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="94">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-10-1980</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="95">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>INRA 95</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="96">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-10-1980</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="97">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CASTA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="98">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-10-1980</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="99">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code cloture le 01-10-1980</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
97
resources/ednotif-ws/CodeRaceGenetique.XSD
Normal file
97
resources/ednotif-ws/CodeRaceGenetique.XSD
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- version 1.02 modifi<66>e du 09/03/2015 -->
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeRaceGenetique:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeRaceGenetique:1">
|
||||||
|
<xsd:simpleType name="TypeCodeRaceGenetique">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code race bovine]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="00"/>
|
||||||
|
<xsd:enumeration value="10"/>
|
||||||
|
<xsd:enumeration value="12"/>
|
||||||
|
<xsd:enumeration value="14"/>
|
||||||
|
<xsd:enumeration value="15"/>
|
||||||
|
<xsd:enumeration value="16"/>
|
||||||
|
<xsd:enumeration value="17"/>
|
||||||
|
<xsd:enumeration value="18"/>
|
||||||
|
<xsd:enumeration value="19"/>
|
||||||
|
<xsd:enumeration value="20"/>
|
||||||
|
<xsd:enumeration value="21"/>
|
||||||
|
<xsd:enumeration value="22"/>
|
||||||
|
<xsd:enumeration value="23"/>
|
||||||
|
<xsd:enumeration value="24"/>
|
||||||
|
<xsd:enumeration value="25"/>
|
||||||
|
<xsd:enumeration value="26"/>
|
||||||
|
<xsd:enumeration value="27"/>
|
||||||
|
<xsd:enumeration value="28"/>
|
||||||
|
<xsd:enumeration value="29"/>
|
||||||
|
<xsd:enumeration value="30"/>
|
||||||
|
<xsd:enumeration value="31"/>
|
||||||
|
<xsd:enumeration value="32"/>
|
||||||
|
<xsd:enumeration value="33"/>
|
||||||
|
<xsd:enumeration value="34"/>
|
||||||
|
<xsd:enumeration value="35"/>
|
||||||
|
<xsd:enumeration value="36"/>
|
||||||
|
<xsd:enumeration value="37"/>
|
||||||
|
<xsd:enumeration value="38"/>
|
||||||
|
<xsd:enumeration value="39"/>
|
||||||
|
<xsd:enumeration value="40"/>
|
||||||
|
<xsd:enumeration value="41"/>
|
||||||
|
<xsd:enumeration value="42"/>
|
||||||
|
<xsd:enumeration value="43"/>
|
||||||
|
<xsd:enumeration value="44"/>
|
||||||
|
<xsd:enumeration value="45"/>
|
||||||
|
<xsd:enumeration value="46"/>
|
||||||
|
<xsd:enumeration value="47"/>
|
||||||
|
<xsd:enumeration value="48"/>
|
||||||
|
<xsd:enumeration value="49"/>
|
||||||
|
<xsd:enumeration value="50"/>
|
||||||
|
<xsd:enumeration value="51"/>
|
||||||
|
<xsd:enumeration value="52"/>
|
||||||
|
<xsd:enumeration value="53"/>
|
||||||
|
<xsd:enumeration value="54"/>
|
||||||
|
<xsd:enumeration value="55"/>
|
||||||
|
<xsd:enumeration value="56"/>
|
||||||
|
<xsd:enumeration value="57"/>
|
||||||
|
<xsd:enumeration value="58"/>
|
||||||
|
<xsd:enumeration value="59"/>
|
||||||
|
<xsd:enumeration value="60"/>
|
||||||
|
<xsd:enumeration value="61"/>
|
||||||
|
<xsd:enumeration value="62"/>
|
||||||
|
<xsd:enumeration value="63"/>
|
||||||
|
<xsd:enumeration value="65"/>
|
||||||
|
<xsd:enumeration value="66"/>
|
||||||
|
<xsd:enumeration value="67"/>
|
||||||
|
<xsd:enumeration value="68"/>
|
||||||
|
<xsd:enumeration value="69"/>
|
||||||
|
<xsd:enumeration value="71"/>
|
||||||
|
<xsd:enumeration value="72"/>
|
||||||
|
<xsd:enumeration value="73"/>
|
||||||
|
<xsd:enumeration value="74"/>
|
||||||
|
<xsd:enumeration value="75"/>
|
||||||
|
<xsd:enumeration value="76"/>
|
||||||
|
<xsd:enumeration value="77"/>
|
||||||
|
<xsd:enumeration value="78"/>
|
||||||
|
<xsd:enumeration value="79"/>
|
||||||
|
<xsd:enumeration value="81"/>
|
||||||
|
<xsd:enumeration value="82"/>
|
||||||
|
<xsd:enumeration value="83"/>
|
||||||
|
<xsd:enumeration value="84"/>
|
||||||
|
<xsd:enumeration value="85"/>
|
||||||
|
<xsd:enumeration value="86"/>
|
||||||
|
<xsd:enumeration value="87"/>
|
||||||
|
<xsd:enumeration value="89"/>
|
||||||
|
<xsd:enumeration value="91"/>
|
||||||
|
<xsd:enumeration value="70"/>
|
||||||
|
<xsd:enumeration value="93"/>
|
||||||
|
<xsd:enumeration value="94"/>
|
||||||
|
<xsd:enumeration value="95"/>
|
||||||
|
<xsd:enumeration value="96"/>
|
||||||
|
<xsd:enumeration value="97"/>
|
||||||
|
<xsd:enumeration value="98"/>
|
||||||
|
<xsd:enumeration value="99"/>
|
||||||
|
<xsd:enumeration value="88"/>
|
||||||
|
<xsd:enumeration value="92"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
65
resources/ednotif-ws/CodeRacePhenotypiqueCaprin.XSD
Normal file
65
resources/ednotif-ws/CodeRacePhenotypiqueCaprin.XSD
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeRacePhenotypiqueCaprin:1" xmlns="urn:fr:agri:elevage:codelist:CodeRacePhenotypiqueCaprin:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeRacePhenotypiqueCaprin">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code race phenotypique caprine]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="011">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SAANEN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="013">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ALPINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="039">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CROISEE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="041">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PROVENCALE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="042">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PYRENEENNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="043">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROVE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="044">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHEVRES FOSSES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="049">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AUTRES RACES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="051">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CORSE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="052">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CREOLE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="076">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>POITEVINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
770
resources/ednotif-ws/CodeRacePhenotypiqueOvin.XSD
Normal file
770
resources/ednotif-ws/CodeRacePhenotypiqueOvin.XSD
Normal file
@@ -0,0 +1,770 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeRacePhenotypiqueOvin:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeRacePhenotypiqueOvin:1">
|
||||||
|
<xsd:simpleType name="TypeCodeRacePhenotypiqueOvin">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code race phenotypique ovine]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="001">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ILE DE FRANCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="002">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MOUTONS CHARROLAIS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="003">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RAVA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="004">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHARMOISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="005">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SOUTHDOWN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="006">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BERRICHON DU CHER</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="007">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>EST A LAINE MERINOS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="008">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LIMOUSINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="009">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BLEU DU MAINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="010">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LACAUNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="011">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ARDES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="012">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TEXEL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="013">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SUFFOLK</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="014">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>COTENTIN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="015">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>HAMPSHIRE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="016">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MERINOS D'ARLES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="017">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PREALPES DU SUD</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="018">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BIZET</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="019">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>NOIR DU VELAY</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="020">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SOLOGNOTE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="021">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CASTILLONNAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="022">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AURE ET CAMPAN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="023">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>COMMUNE DES ALPES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="024">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BLANC DU MASSIF CENTRAL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="025">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MERINOS PRECOCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="026">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BASQUAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="027">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MANECH</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="028">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CAUSSES DU LOT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="029">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SARDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="030">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BASCO-BEARNAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="031">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BERRICHON DE L'INDRE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="032">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MERINOS DE RAMBOUILLET</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="033">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BOULONNAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="034">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BORDER LEICESTER</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="035">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROMANOV</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="036">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CLUN-FOREST</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="037">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHEVIOT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="038">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AVRANCHIN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="039">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>GRIVETTE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="040">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FINNOISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="041">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MOUTONS VENDEENS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="042">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>DORSET-DOWN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="043">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROUGE DE L'OUEST</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="044">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TARASCONNAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="045">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>THONES ET MARTHOD</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="046">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CORSE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="047">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BLACKFACE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="048">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MOUREROUS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="049">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BAREGEOISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="050">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LOURDAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="051">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CAUSSENARDE DES GARRIGUES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="052">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MANECH TETE NOIRE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="053">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MANECH TETE ROUSSE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="054">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FRISONNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="055">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHIOS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="056">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AWASSI</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="057">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROUGE DU ROUSSILLON</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="058">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROMANE (CODE 058)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="059">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 401 X FEMELLE 095-067-092</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="060">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 401 X FEMELLE 059</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="061">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 401 X FEMELLE 060</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="062">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROUSSIN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="063">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RAIOLE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="064">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ROMANE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="067">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 401 X FEMELLE LOCALE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="068">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 401 X FEMELLE 067</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="069">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 401 X FEMELLE 068</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="070">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 401 X FEMELLE 069</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="073">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 075 X FEMELLE SUFFOLK</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="074">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 075 X FEMELLE TEXEL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="075">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>POPULATION HAUTE VIENNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="076">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE OIF X FEMELLE F1 (F1 77)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="077">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ROMANOV X FEMELLE OIF</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="078">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FSL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="079">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FSL X ROLP</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="080">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FRISONNE X ROLP</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="081">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FSL X LACAUNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="082">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FRISONNE X LACAUNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="083">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CORSE X SARDE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="084">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE (F1) X FEMELLE (F1-F2)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="085">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RACE EXPERIMENTALE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="086">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>M PREALPES X F MERINOS D'ARLES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="087">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE CLUN X FEMELLE TEXEL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="088">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE DORSET X FEMELLE SOUTHDOWN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="089">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE FINNOIS X FEMELLE F2</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="090">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALES LOCAUX X F (F1 - F2)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="091">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALES LOCAUX X FEMELLE (F2)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="092">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>M LOCAUX X FEMELLE ROMANOV F1</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="093">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>M LOCAUX X FEMELLE FINNOIS F1</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="094">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE FINNOIS X F LOCALE F1</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="095">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ROMANOV X F LOCALE F1</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="096">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CROISEMENT ALTERNATIF</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="097">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE LIMOUSIN X FEMELLE RAVA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="098">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE SOUTHDOWN X FEMELLE BIZET</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="099">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>RACES INDETERMINEES OU VARIEES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="100">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ILE DE FRANCE X RAVA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="101">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SUFFOLK X RAVA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="102">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CAMBRIDGE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="103">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHAROLLAIS X RAVA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="104">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TIMAHDITE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="105">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE SUFFOLK X F LIMOUSINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="106">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE BCF X FEMELLE LIMOUSINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="107">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE TEXEL X FEMELLE LIMOUSINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="108">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ILE DE FRANCE X FEMELLE LIMOUSINE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="109">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BOOROOLA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="110">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>M BOOROOLA X F MERINOS ARLES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="111">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>M BOOROOLA X FEMELLE 110</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="112">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>M ROMANOV X FEMELLE 110</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="113">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 110 X F MERINOS D'ARLES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="114">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE MERINOS D'ARLES X F 113</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="115">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ROMANOV X F 113</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="116">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE MERINOS ARLES X F 114</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="117">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ROMANOV X F 114</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="118">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE SUFFOLK X F LACAUNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="119">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ROUGE OUEST X F LACAUNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="124">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>5/8 ILE DE FRANCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="125">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>3/4 ILE DE FRANCE 2EME GENE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="126">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 125 X F 125 3/4 OIF 3E G</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="127">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 126 X F 126 3/4 OIF 3E G</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="128">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE 127 X F 127 3/4 OIF 3E G</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="129">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE OIF X F CAUSSES DU LOT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="130">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>DEMANE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="131">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MARTINIK</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="133">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BENI GUIL</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="134">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BOUJAAD</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="135">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SARDI</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="141">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE VENDEEN X F 142</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="142">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE CHAROLLAIS X F LOCALE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="143">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ROUGE OUEST X F 141</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="144">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ROUGE OUEST X F 143</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="145">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ROUGE OUEST X F 144</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="146">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE ROUGE OUEST X F 145</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="152">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE TEXEL X FEMELLE 142</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="153">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE SUFFOLK X FEMELLE 142</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="154">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LANDES DE BRETAGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="155">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>OUESSANT</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="156">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BELLE ISLE (DE-DEUX)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="157">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>BRIGASQUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="158">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE SUFFOLK X F EST MERINOS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="159">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE OIF X F EST MERINOS</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="161">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>LANDAISE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="162">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MONTAGNE NOIRE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="163">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE OIF X FEMELLE GRIVETTE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="164">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>XAXI-ARDIA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="170">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MOUTON DJALLONKE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="171">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MOUTON DE VOGAN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="172">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MOUTON PEULH</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="176">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHEVRE NAINE GUINEENNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="177">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHEVRE SAHELIENNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="178">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CHEVRE ROUSSE DE MARADI</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="999">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TOUTES RACES POSSIBLES</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Code de suppression</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
417
resources/ednotif-ws/CodeRefusFiliationBovin.XSD
Normal file
417
resources/ednotif-ws/CodeRefusFiliationBovin.XSD
Normal file
@@ -0,0 +1,417 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeRefusFiliation:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeRefusFiliation:1">
|
||||||
|
<xsd:simpleType name="TypeCodeRefusFiliation">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="87">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere notifie - plausible - sans VCG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="88">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere TE notifies - TE trouvee - mere sans ref ADN utilisable</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>délai notif 8-14 j</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>délai notif sup 14 j</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>calcul notif absent</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="84">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere notif - VCG incompatible</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="85">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA priv notif - pere sans ADN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="83">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif-evt hors ECB-pas VCG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="82">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Race mere diff ty rac mere notif</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="50">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE notifiee - trouvee sans ADN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="51">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>fec hors CPB-pere notf-pas VCG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="52">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>fec° hors CPB-IA notif-pas dIA</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="53">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>fec° hors CPB-IA noti-sans VCG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="54">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>fec° hors CPB-TE notif-pas TE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="55">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE notif trve race inco TYRAPE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="56">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>fecond° hors CPB -sans VCG -TE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="57">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere-TE notif -trouve pere diff</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="58">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE notif -trouvee -VCG incomp</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="59">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere notif -pres com ou IA HB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="60">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>prel priv hors CPB - pas VCG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="61">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere notif-pas carac plausible</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="62">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere notif-plausible-sans ADN</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="63">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere notif-evt non regl-inv P</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="64">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notifiee - pas d'IA trouvee</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="65">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif-trouvee gest° tp long</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="66">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif-trouve gest° tp court</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="67">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif-IA trouvees HB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="68">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif -evt non regl-inv P</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="69">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif-plsrs peres race diff</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="70">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif-trouv race inc TYRAPE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="71">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif -trouvee -VCG incomp.</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="72">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE notifiee - gest° tp longue</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="73">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE notifiee - gest° tp courte</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="74">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE notifiee - gest° HB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="75">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE notif - plsrs peres poss.</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="76">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mention NE SAIS PAS notifiee</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="77">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pas de notification pere</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="78">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere notf-evt non regl-inv P+M</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="79">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif -evt non regl-inv P+M</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="80">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>IA notif-plsrs IA peres race =</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="81">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>pere notif de race inco TYRAPE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="38">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>absence ref genetique parent</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="34">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pere declare diff trouve race =</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="35">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pere declare diff trouve race diff</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="36">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Plrs peres possibles races =</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="37">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Plrs peres possibles races diff</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="31">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pere declare diff pere trouve TE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="32">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pere IPG diff pere trouve TE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="33">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Rac pere TE diff ty rac pere not</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="27">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Plrs peres possibles dont TE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="28">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pere IPG diff pere trouve</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="29">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Race pere diff ty rac pere notif</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="30">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>gestation hors bornes avec TE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="25">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Evt non regl HB P-M invalides</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="26">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Evt non regl HB Pere invalide</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="23">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mere achetee chez non adh. ECB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="24">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pgm testage sans res compatibl</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="01">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Notification naissance tardive</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="02">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Contrat ECB non valide</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="03">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Contrat ECB suspendu</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="04">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pas d'evt fecond-nvel adh ECB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="05">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pas d'evt fecondant trouve</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="06">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mere achetee sans evt fecond.</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="07">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Evt non regl. invalidant P-M</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="08">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Evt non regl. invalidant Pere</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="09">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Evt repro declare tardivement</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="10">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mere absente de l'exploitation</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="11">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mere connue comme male</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="12">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Intervalle Vel Vel trop court</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="14">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Duree gestation hors bornes</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="15">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Duree gestation trop courte</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="16">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Duree gestation trop longue</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="18">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE attente resul compatibilite</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="19">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Parents incompatibles genetiqt</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="20">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Mere inconnue a l'inventaire</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="21">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pere trouve pas ds prg testage</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="22">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Incompatibilite race/type rac</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="EX">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>race sans délai notif</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="LR">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>levée refus T1</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="86">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>TE trouvé - pas de VCG</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="13">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Pere declare diff pere trouve</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="17">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Plusieurs peres possibles</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
8
resources/ednotif-ws/CodeRejetCaprin.xsd
Normal file
8
resources/ednotif-ws/CodeRejetCaprin.xsd
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeRejetCaprin:1" xmlns="urn:fr:agri:elevage:codelist:CodeRejetCaprin:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeRejetCaprin">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="000001"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
9
resources/ednotif-ws/CodeSectionBovin.XSD
Normal file
9
resources/ednotif-ws/CodeSectionBovin.XSD
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeSection:1" xmlns="urn:fr:agri:elevage:codelist:CodeSection:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeSection">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="A"/>
|
||||||
|
<xsd:enumeration value="P"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
12
resources/ednotif-ws/CodeSemenceSexeeBovin.XSD
Normal file
12
resources/ednotif-ws/CodeSemenceSexeeBovin.XSD
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeSemenceSexee:1" xmlns="urn:fr:agri:elevage:codelist:CodeSemenceSexee:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeSemenceSexee">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="N"/>
|
||||||
|
<xsd:enumeration value=" "/>
|
||||||
|
<xsd:enumeration value="0"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
9
resources/ednotif-ws/CodeSeveriteMammiteBovin.XSD
Normal file
9
resources/ednotif-ws/CodeSeveriteMammiteBovin.XSD
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeSeveriteMammite:1" xmlns="urn:fr:agri:elevage:codelist:CodeSeveriteMammite:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeSeveriteMammite">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
11
resources/ednotif-ws/CodeSevragePointageBovin.XSD
Normal file
11
resources/ednotif-ws/CodeSevragePointageBovin.XSD
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeSevragePointage:1" xmlns="urn:fr:agri:elevage:codelist:CodeSevragePointage:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeSevragePointage">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="JS"/>
|
||||||
|
<xsd:enumeration value="NR"/>
|
||||||
|
<xsd:enumeration value="NS"/>
|
||||||
|
<xsd:enumeration value="SV"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
35
resources/ednotif-ws/CodeSexe.XSD
Normal file
35
resources/ednotif-ws/CodeSexe.XSD
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeSexe:1" xmlns="urn:fr:agri:elevage:codelist:CodeSexe:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeSexe">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code sexe]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FEMELLE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="M">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MALE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FEMELLE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="X">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MORT-NE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
9
resources/ednotif-ws/CodeSituationParticuliereBovin.XSD
Normal file
9
resources/ednotif-ws/CodeSituationParticuliereBovin.XSD
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeSituationParticuliere:1" xmlns="urn:fr:agri:elevage:codelist:CodeSituationParticuliere:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeSituationParticuliere">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
15
resources/ednotif-ws/CodeTypeAnalyse.XSD
Normal file
15
resources/ednotif-ws/CodeTypeAnalyse.XSD
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeAnalyse:1" xmlns="urn:fr:agri:elevage:codelist:CodeTypeAnalyse:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeAnalyse">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Type analyte]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="TA"/>
|
||||||
|
<xsd:enumeration value="TB"/>
|
||||||
|
<xsd:enumeration value="Uree"/>
|
||||||
|
<xsd:enumeration value="TP"/>
|
||||||
|
<xsd:enumeration value="Leuco"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
9
resources/ednotif-ws/CodeTypeAnomalie.XSD
Normal file
9
resources/ednotif-ws/CodeTypeAnomalie.XSD
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeAnomalie:1" xmlns="urn:fr:agri:elevage:codelist:CodeTypeAnomalie:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeAnomalie">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
12
resources/ednotif-ws/CodeTypeBaseIndexationBovin.XSD
Normal file
12
resources/ednotif-ws/CodeTypeBaseIndexationBovin.XSD
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeBaseIndexation:1" xmlns="urn:fr:agri:elevage:codelist:CodeTypeBaseIndexation:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeBaseIndexation">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Type analyte]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="R"/>
|
||||||
|
<xsd:enumeration value="T"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
12
resources/ednotif-ws/CodeTypeConduiteBovin.XSD
Normal file
12
resources/ednotif-ws/CodeTypeConduiteBovin.XSD
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeConduite:1" xmlns="urn:fr:agri:elevage:codelist:CodeTypeConduite:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeConduite">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="3"/>
|
||||||
|
<xsd:enumeration value="4"/>
|
||||||
|
<xsd:enumeration value="5"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
17
resources/ednotif-ws/CodeTypeDemande.XSD
Normal file
17
resources/ednotif-ws/CodeTypeDemande.XSD
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeDemande:1" xmlns="urn:fr:agri:elevage:codelist:CodeTypeDemande:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeDemande">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="R"/>
|
||||||
|
<xsd:enumeration value="Demande passeport"/>
|
||||||
|
<xsd:enumeration value="Demande de rebouclage N"/>
|
||||||
|
<xsd:enumeration value="Demande de rebouclage T"/>
|
||||||
|
<xsd:enumeration value="I"/>
|
||||||
|
<xsd:enumeration value="Demande passage agent pour rebouclage"/>
|
||||||
|
<xsd:enumeration value="Demande taureaux I"/>
|
||||||
|
<xsd:enumeration value="Demande taureaux R"/>
|
||||||
|
<xsd:enumeration value="Demande Animaux Expl I"/>
|
||||||
|
<xsd:enumeration value="Demande Animaux Expl R"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
25
resources/ednotif-ws/CodeTypeIndexBovin.XSD
Normal file
25
resources/ednotif-ws/CodeTypeIndexBovin.XSD
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeTypeIndex:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeIndex:1">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeIndex">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Type index bovin]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="G">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Genomique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="P">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Polygenique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Ascendance</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
11
resources/ednotif-ws/CodeTypeMonteNaturelleBovin.XSD
Normal file
11
resources/ednotif-ws/CodeTypeMonteNaturelleBovin.XSD
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeMonteNaturelle:1" xmlns="urn:fr:agri:elevage:codelist:CodeTypeMonteNaturelle:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeMonteNaturelle">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
<xsd:enumeration value="2"/>
|
||||||
|
<xsd:enumeration value="4"/>
|
||||||
|
<xsd:enumeration value="3"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
32
resources/ednotif-ws/CodeTypeOperateurBovin.XSD
Normal file
32
resources/ednotif-ws/CodeTypeOperateurBovin.XSD
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeTypeOperateur:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeOperateur:1">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeOperateur">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Bovin Croissance</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="C">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Operateur commercial</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Eleveur</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="S">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Agent station</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="T">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Autopesee</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
90
resources/ednotif-ws/CodeTypePesee.XSD
Normal file
90
resources/ednotif-ws/CodeTypePesee.XSD
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeTypePesee:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeTypePesee:1">
|
||||||
|
<xsd:simpleType name="TypeCodeTypePesee">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code cause de pesee]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ELEVEUR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="1">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>OFFICIELLE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="2">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>NAISSANCE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="3">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SEVRAGE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>DEPART BOUCHERIE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>VENTE EN VIF</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PREMIERE LUTTE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>INDETERMINEE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="8">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>OFFICIELLE TESTAGE AB</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="9">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AGENT REPRODUCTEUR</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="A">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ENTREE STATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="B">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>DEBUT CONTROLE 1 STATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="C">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>DEBUT CONTROLE 2 STATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="D">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MI CONTROLE STATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="E">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FIN CONTROLE 1 STATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="F">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FIN CONTROLE 1 STATION</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
92
resources/ednotif-ws/CodeTypeProgrammeAgrementBovin.XSD
Normal file
92
resources/ednotif-ws/CodeTypeProgrammeAgrementBovin.XSD
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeTypeProgrammeAgrement:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeProgrammeAgrement:1">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeProgrammeAgrement">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="01">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>L = Lait</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="02">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FN = Facilité de Naissance</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="03">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>MP = Musculature Précoce</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="04">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AB = Aptitude Bouchère</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="05">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>QM = Qualités Maternelles</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="06">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>FE = IBOVAL sevrage</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="07">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PCG = Programme Conservation Génétique</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="08">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SE = Station d’Evaluation</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="09">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>CI = Contrôle Individuel</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="41">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ABA = Aptitude Bouchère VB Atelier</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="42">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ABS = Aptitude Bouchère JB Station</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="43">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ABF = Aptitudes boucheres JB ferme</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="44">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>ABV = Aptitudes bouchères VB ferme</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="51">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>QMS = Qualités Maternelles Station</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="52">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>QMF = Qualités mat et post-sev ferme</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="98">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>AIM = Allaitants Importes</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="99">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>DIV = Divers (à préciser)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
9
resources/ednotif-ws/CodeTypeProgrammeBovin.XSD
Normal file
9
resources/ednotif-ws/CodeTypeProgrammeBovin.XSD
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeProgramme:1" xmlns="urn:fr:agri:elevage:codelist:CodeTypeProgramme:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeProgramme">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="E"/>
|
||||||
|
<xsd:enumeration value="I"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
30
resources/ednotif-ws/CodeTypeReforme.XSD
Normal file
30
resources/ednotif-ws/CodeTypeReforme.XSD
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsd:schema xmlns="urn:fr:agri:elevage:codelist:CodeTypeReforme:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:fr:agri:elevage:codelist:CodeTypeReforme:1">
|
||||||
|
<xsd:simpleType name="TypeCodeTypeReforme">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Code cause zootechnique de reforme]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:token">
|
||||||
|
<xsd:enumeration value="4">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REFORME AUTOMATIQUE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="5">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REFORME INTER-CAMPAGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="6">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>PENDANT LA CAMPAGNE</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
<xsd:enumeration value="7">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>REFORME BELIER</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:enumeration>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
15
resources/ednotif-ws/CodeUniteMesure.XSD
Normal file
15
resources/ednotif-ws/CodeUniteMesure.XSD
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeUniteMesure:1" xmlns="urn:fr:agri:elevage:codelist:CodeUniteMesure:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeUniteMesure">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[Symbole unite expression mesuree]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="gr/l"/>
|
||||||
|
<xsd:enumeration value="mil/ml"/>
|
||||||
|
<xsd:enumeration value="gr/kg"/>
|
||||||
|
<xsd:enumeration value="1/10000"/>
|
||||||
|
<xsd:enumeration value="mg/kg"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<xsd:schema targetNamespace="urn:fr:agri:elevage:codelist:CodeUtilisationExtrapolation60Jours:1" xmlns="urn:fr:agri:elevage:codelist:CodeUtilisationExtrapolation60Jours:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<xsd:simpleType name="TypeCodeUtilisationExtrapolation60Jours">
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:enumeration value="0"/>
|
||||||
|
<xsd:enumeration value="1"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:schema>
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user