diff --git a/src/openapi/schemas/identifiers/enums/type.yml b/src/openapi/schemas/identifiers/enums/type.yml index fca033f7..c29820fc 100644 --- a/src/openapi/schemas/identifiers/enums/type.yml +++ b/src/openapi/schemas/identifiers/enums/type.yml @@ -22,6 +22,8 @@ enum: - isni - oc - openAlexStructId + - openAlexPersonId + - openAlexTermId - orgref - pia - piaweb-organization @@ -48,4 +50,4 @@ enum: - univ-droit - wikidata - wos - - researchgate \ No newline at end of file + - researchgate diff --git a/src/openapi/schemas/persons/enums/identifier-types.yml b/src/openapi/schemas/persons/enums/identifier-types.yml index 7c27b6f4..fc88fe60 100644 --- a/src/openapi/schemas/persons/enums/identifier-types.yml +++ b/src/openapi/schemas/persons/enums/identifier-types.yml @@ -10,6 +10,7 @@ enum: - orcid - scopus - univ-droit + - openAlexPersonId - wikidata - wos - - researchgate \ No newline at end of file + - researchgate diff --git a/src/openapi/schemas/persons/person-create-payload.yml b/src/openapi/schemas/persons/person-create-payload.yml index 0ec657c7..ef6ff5d2 100644 --- a/src/openapi/schemas/persons/person-create-payload.yml +++ b/src/openapi/schemas/persons/person-create-payload.yml @@ -1,5 +1,5 @@ title: PersonBulkInsertPayload -description: Liste +description: Liste additionalProperties: false type: object properties: @@ -47,6 +47,9 @@ properties: orcid: type: string nullable: true + openAlexPersonId: + type: string + nullable: true researchgate: type: string nullable: true @@ -61,4 +64,4 @@ properties: nullable: true linkedIn: type: string - nullable: true \ No newline at end of file + nullable: true diff --git a/src/openapi/schemas/terms/enums/identifier-types.yml b/src/openapi/schemas/terms/enums/identifier-types.yml index 6534e8bd..290ee3be 100644 --- a/src/openapi/schemas/terms/enums/identifier-types.yml +++ b/src/openapi/schemas/terms/enums/identifier-types.yml @@ -4,8 +4,9 @@ enum: - idref - ISO2 - ISO3 + - openAlexTermId - PSUP - PSUPC - PSUPT - rncp - - wikidata \ No newline at end of file + - wikidata diff --git a/src/openapi/schemas/terms/term-payload.yml b/src/openapi/schemas/terms/term-payload.yml index f1e0f3b1..c1eb1504 100644 --- a/src/openapi/schemas/terms/term-payload.yml +++ b/src/openapi/schemas/terms/term-payload.yml @@ -57,11 +57,11 @@ properties: creationOfficialTextId: type: string description: Identifiant d'un texte officiel justifiant de l'ouverture de la catégorie - pattern: '^[a-zA-Z0-9]{15}$' + pattern: "^[a-zA-Z0-9]{15}$" closureOfficialTextId: type: string description: Identifiant d'un texte officiel justifiant de la fermeture de la catégorie - pattern: '^[a-zA-Z0-9]{15}$' + pattern: "^[a-zA-Z0-9]{15}$" websiteEn: type: string nullable: true @@ -71,6 +71,9 @@ properties: rncp: type: string nullable: true + openAlexTermId: + type: string + nullable: true wikidata: type: string - nullable: true \ No newline at end of file + nullable: true