Bug 29620: Move the OpenAPI spec to YAML format
[koha.git] / api / v1 / swagger / definitions / import_batch_profile.yaml
1 ---
2 type: object
3 properties:
4   profile_id:
5     type: integer
6     description: Internal profile identifier
7   name:
8     description: name of this profile
9     type: string
10   matcher_id:
11     description: the id of the match rule used (matchpoints.matcher_id)
12     type:
13       - integer
14       - "null"
15   template_id:
16     description: the id of the marc modification template
17     type:
18       - integer
19       - "null"
20   overlay_action:
21     description: how to handle duplicate records
22     type:
23       - string
24       - "null"
25   nomatch_action:
26     description: how to handle records where no match is found
27     type:
28       - string
29       - "null"
30   item_action:
31     description: what to do with item records
32     type:
33       - string
34       - "null"
35   parse_items:
36     description: should items be parsed
37     type:
38       - boolean
39       - "null"
40   record_type:
41     description: type of record in the batch
42     type:
43       - string
44       - "null"
45   encoding:
46     description: file encoding
47     type:
48       - string
49       - "null"
50   format:
51     description: marc format
52     type:
53       - string
54       - "null"
55   comments:
56     description: any comments added when the file was uploaded
57     type:
58       - string
59       - "null"
60 additionalProperties: false