From 29a34c0ce673af9c472927758fad191d74715683 Mon Sep 17 00:00:00 2001 From: juliebrunetto83 <122871677+juliebrunetto83@users.noreply.github.com> Date: Tue, 5 Mar 2024 09:44:03 +0100 Subject: [PATCH] feat(stages): renommage salaire vers remuneration (#281) --- .../content-types/offre-de-stage/schema.json | 6 ++-- .../1.0.0/full_documentation.json | 34 ++++++++++++++++++- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/src/api/offre-de-stage/content-types/offre-de-stage/schema.json b/src/api/offre-de-stage/content-types/offre-de-stage/schema.json index 4a06b8dc..5493f088 100644 --- a/src/api/offre-de-stage/content-types/offre-de-stage/schema.json +++ b/src/api/offre-de-stage/content-types/offre-de-stage/schema.json @@ -98,15 +98,15 @@ "type": "date", "required": false }, - "salaireMin": { + "remunerationMin": { "min": 0, "type": "decimal" }, - "salaireMax": { + "remunerationMax": { "type": "decimal", "min": 0 }, - "periodeSalaire": { + "remunerationPeriode": { "type": "enumeration", "enum": [ "HOURLY", diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json index cf3f6042..bf1cdc2d 100644 --- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "MIT", "url": "https://github.com/DNUM-SocialGouv/1j1s-stage-orchestrateur-transform-load/blob/main/LICENSE" }, - "x-generation-date": "2024-02-05T13:24:43.926Z" + "x-generation-date": "2024-03-05T08:19:44.938Z" }, "x-strapi-config": { "path": "/documentation", @@ -5951,6 +5951,22 @@ "dateDeDebutMax": { "type": "string", "format": "date" + }, + "remunerationMin": { + "type": "number", + "format": "float" + }, + "remunerationMax": { + "type": "number", + "format": "float" + }, + "remunerationPeriode": { + "type": "string", + "enum": [ + "HOURLY", + "MONTHLY", + "YEARLY" + ] } } } @@ -6085,6 +6101,22 @@ "type": "string", "format": "date" }, + "remunerationMin": { + "type": "number", + "format": "float" + }, + "remunerationMax": { + "type": "number", + "format": "float" + }, + "remunerationPeriode": { + "type": "string", + "enum": [ + "HOURLY", + "MONTHLY", + "YEARLY" + ] + }, "createdAt": { "type": "string", "format": "date-time"