Skip to content

Commit

Permalink
fix(identifiers): add openalex id for terms and persons
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Feb 12, 2024
1 parent d238d00 commit 8914901
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
4 changes: 3 additions & 1 deletion src/openapi/schemas/identifiers/enums/type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ enum:
- isni
- oc
- openAlexStructId
- openAlexPersonId
- openAlexTermId
- orgref
- pia
- piaweb-organization
Expand All @@ -48,4 +50,4 @@ enum:
- univ-droit
- wikidata
- wos
- researchgate
- researchgate
3 changes: 2 additions & 1 deletion src/openapi/schemas/persons/enums/identifier-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ enum:
- orcid
- scopus
- univ-droit
- openAlexPersonId
- wikidata
- wos
- researchgate
- researchgate
7 changes: 5 additions & 2 deletions src/openapi/schemas/persons/person-create-payload.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: PersonBulkInsertPayload
description: Liste
description: Liste
additionalProperties: false
type: object
properties:
Expand Down Expand Up @@ -47,6 +47,9 @@ properties:
orcid:
type: string
nullable: true
openAlexPersonId:
type: string
nullable: true
researchgate:
type: string
nullable: true
Expand All @@ -61,4 +64,4 @@ properties:
nullable: true
linkedIn:
type: string
nullable: true
nullable: true
3 changes: 2 additions & 1 deletion src/openapi/schemas/terms/enums/identifier-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ enum:
- idref
- ISO2
- ISO3
- openAlexTermId
- PSUP
- PSUPC
- PSUPT
- rncp
- wikidata
- wikidata
9 changes: 6 additions & 3 deletions src/openapi/schemas/terms/term-payload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -71,6 +71,9 @@ properties:
rncp:
type: string
nullable: true
openAlexTermId:
type: string
nullable: true
wikidata:
type: string
nullable: true
nullable: true

0 comments on commit 8914901

Please sign in to comment.