Bug 34587: API swagger paths and definitions
[koha.git] / api / v1 / swagger / definitions / erm_usage_title.yaml
1 ---
2 type: object
3 properties:
4   title_id:
5     type: integer
6     description: internally assigned title identifier
7     readOnly: true
8   title:
9     description: title of the title
10     type: 
11     - string
12     - "null"
13   usage_data_provider_id:
14     description: usage_data_provider the title is harvested by
15     type: integer
16   title_doi:
17     description: doi number of the title
18     type: 
19     - string
20     - "null"
21   print_issn:
22     description: print_issn number of the title
23     type: 
24     - string
25     - "null"
26   online_issn:
27     description: online_issn number of the title
28     type: 
29     - string
30     - "null"
31   title_uri:
32     description: title_uri number of the title
33     type: 
34     - string
35     - "null"
36   provider_name:
37     description: provider_name of the title
38     type: 
39     - string
40     - "null"
41   metric_type:
42     description: metric_type of the title data
43     type: 
44     - string
45     - "null"
46   erm_usage_muses:
47     type: array
48     description: usage mus
49     items:
50       $ref: erm_usage_mus.yaml
51   erm_usage_yuses:
52     type: array
53     description: usage yus
54     items:
55       $ref: erm_usage_yus.yaml
56
57 additionalProperties: false
58 required:
59   - title
60   - usage_data_provider_id