Skip to content

Commit

Permalink
Update openapi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Feb 4, 2019
1 parent ee9bdb4 commit c3ffaab
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ paths:
components:
schemas:
Client:
type: object
properties:
id:
type: string
Expand All @@ -692,11 +693,20 @@ components:
type: string
updated:
type: string
required:
- id
- attributes
- name
- symbol
- contactName
- contactEmail
example:
id: tib.pangaea
attributes:
name: Pangaea

ClientPrefix:
type: object
properties:
id:
type: string
Expand All @@ -709,7 +719,11 @@ components:
type: string
updated:
type: string
required:
- id

Doi:
type: object
properties:
id:
type: string
Expand Down Expand Up @@ -984,6 +998,14 @@ components:
type: string
updated:
type: string
required:
- id
- attributes
- doi
- creators
- titles
- publisher
- publicationYear
example:
id: 10.5438/0014
type: dois
Expand All @@ -1000,7 +1022,9 @@ components:
- title: DataCite Metadata Schema Documentation for the Publication and Citation of Research Data v4.1
publisher: DataCite
publicationYear: 2017

Event:
type: object
properties:
id:
type: string
Expand Down Expand Up @@ -1034,11 +1058,23 @@ components:
type: object
obj:
type: object
required:
- id
- attributes
- subjId
- sourceToken
- sourceId

Prefix:
type: object
properties:
prefix:
type: string
required:
- prefix

ProviderPrefix:
type: object
properties:
id:
type: string
Expand All @@ -1049,20 +1085,31 @@ components:
type: string
updated:
type: string
required:
- id

Provider:
type: object
properties:
id:
type: string
name:
type: string
symbol:
type: string
required:
- id
- attributes
- name
- symbol
example:
id: bl
attributes:
name: British Library
symbol: BL

Report:
type: object
description: Describes the formatting needs for the COUNTER Dataset Report. Response may include the Report_Header (optional), Report_Datasets (usage stats).
properties:
id:
Expand Down Expand Up @@ -1102,6 +1149,13 @@ components:
report-datasets:
type: string
description: Defines the output for the Report_Datasets being returned in a Dataset Report. Collection of datasets from the report.
required:
- report-datasets
- report-id
- report-name
- release
- created-by
- reporting-period

securitySchemes:
BasicAuth:
Expand Down

0 comments on commit c3ffaab

Please sign in to comment.