Skip to content

Commit

Permalink
Update specification
Browse files Browse the repository at this point in the history
  • Loading branch information
daveih committed Dec 20, 2023
1 parent ef36392 commit b17c99e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
24 changes: 16 additions & 8 deletions docs/USDM_API.json
Original file line number Diff line number Diff line change
Expand Up @@ -1908,14 +1908,14 @@
},
"instanceType": {
"const": "GeographicScope",
"title": "Instancetype"
"title": "Instancetype",
"default": "GeographicScope"
}
},
"type": "object",
"required": [
"id",
"type",
"instanceType"
"type"
],
"title": "GeographicScope"
},
Expand All @@ -1941,14 +1941,14 @@
},
"instanceType": {
"const": "GeographicScope",
"title": "Instancetype"
"title": "Instancetype",
"default": "GeographicScope"
}
},
"type": "object",
"required": [
"id",
"type",
"instanceType"
"type"
],
"title": "GeographicScope"
},
Expand Down Expand Up @@ -5044,7 +5044,11 @@
"default": []
},
"administrations": {
"$ref": "#/components/schemas/AgentAdministration-Input"
"items": {
"$ref": "#/components/schemas/AgentAdministration-Input"
},
"type": "array",
"title": "Administrations"
},
"productDesignation": {
"$ref": "#/components/schemas/Code"
Expand Down Expand Up @@ -5123,7 +5127,11 @@
"default": []
},
"administrations": {
"$ref": "#/components/schemas/AgentAdministration-Output"
"items": {
"$ref": "#/components/schemas/AgentAdministration-Output"
},
"type": "array",
"title": "Administrations"
},
"productDesignation": {
"$ref": "#/components/schemas/Code"
Expand Down
14 changes: 10 additions & 4 deletions docs/USDM_API.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1228,11 +1228,11 @@ components:
instanceType:
const: GeographicScope
title: Instancetype
default: GeographicScope
type: object
required:
- id
- type
- instanceType
title: GeographicScope
GeographicScope-Output:
properties:
Expand All @@ -1249,11 +1249,11 @@ components:
instanceType:
const: GeographicScope
title: Instancetype
default: GeographicScope
type: object
required:
- id
- type
- instanceType
title: GeographicScope
GovernanceDate-Input:
properties:
Expand Down Expand Up @@ -3229,7 +3229,10 @@ components:
title: Codes
default: []
administrations:
$ref: '#/components/schemas/AgentAdministration-Input'
items:
$ref: '#/components/schemas/AgentAdministration-Input'
type: array
title: Administrations
productDesignation:
$ref: '#/components/schemas/Code'
pharmacologicClass:
Expand Down Expand Up @@ -3282,7 +3285,10 @@ components:
title: Codes
default: []
administrations:
$ref: '#/components/schemas/AgentAdministration-Output'
items:
$ref: '#/components/schemas/AgentAdministration-Output'
type: array
title: Administrations
productDesignation:
$ref: '#/components/schemas/Code'
pharmacologicClass:
Expand Down

0 comments on commit b17c99e

Please sign in to comment.