From 2ebb3bd013165645eced7b32c3cda0ccccded039 Mon Sep 17 00:00:00 2001 From: jboinembalome Date: Thu, 12 Nov 2020 16:11:51 +0100 Subject: [PATCH] =?UTF-8?q?MAJ=20des=20sch=C3=A9mas=20pour=20la=20partie?= =?UTF-8?q?=20Saisie=20en=20fonction=20des=20sp=C3=A9cifications=20techniq?= =?UTF-8?q?ues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schemas/saisie/champ.yaml | 7 ++++++- schemas/saisie/saisie.yaml | 17 ++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/schemas/saisie/champ.yaml b/schemas/saisie/champ.yaml index 54e164e..be53816 100644 --- a/schemas/saisie/champ.yaml +++ b/schemas/saisie/champ.yaml @@ -1,17 +1,22 @@ type: object -description: Les champs d'un EP ou d'une évaluation à remplir +description: DTO concernant les champs des documents properties: id: type: integer format: int64 + description: Id du champ texte: type: string + description: Texte du champ section: type: string + description: Section à laquelle appartient le champ soussection: type: string + description: Sous-section à laquelle appartient le champ ordre: type: integer + description: Ordre du champ dans sa section ou sous-section typeChamp: $ref: ../enum/typeChamps.yaml typeSaisie: diff --git a/schemas/saisie/saisie.yaml b/schemas/saisie/saisie.yaml index f664759..de3a8b4 100644 --- a/schemas/saisie/saisie.yaml +++ b/schemas/saisie/saisie.yaml @@ -1,22 +1,21 @@ type: object -description: Saisi d'un collaborateur ou d'un référent sur un champ +description: DTO concernant la saisie des documents de l'EP properties: id: type: string format: int64 - typeSaisie: - $ref: ../enum/typeEP.yaml + description: Id de la saisie note: type: integer + description: Note saisie texte: type: string - texte2: - type: string - niveau: - type: integer + description: Texte saisi champ: $ref: ./champ.yaml + typeSaisie: + $ref: ../enum/typeEP.yaml required: - id - - type - - champ \ No newline at end of file + - champ + - typeSaisie \ No newline at end of file