Skip to content

Commit 67e85c2

Browse files
Fix common ParameterType definition structure
Fix common ParameterType definition structure
2 parents e133c78 + 0fbba91 commit 67e85c2

1 file changed

Lines changed: 45 additions & 32 deletions

File tree

schemas/v2.0.2.common.schema.json

Lines changed: 45 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -4031,42 +4031,55 @@
40314031
}
40324032
},
40334033
"ParameterType": {
4034-
"Description": {
4035-
"type": "array",
4036-
"items": {
4037-
"$ref": "#/$defs/DescriptionType"
4038-
}
4039-
},
4040-
"HierarchyScope": {
4041-
"$ref": "#/$defs/HierarchyScopeType"
4042-
},
4043-
"ID": {
4044-
"$ref": "v2.0.2.coreComponents.schema.json#/$defs/IdentifierType"
4045-
},
4046-
"ParameterChild": {
4047-
"type": "array",
4048-
"items": {
4049-
"$ref": "#/$defs/ParameterType"
4050-
}
4051-
},
4052-
"ParameterSpecificationID": {
4053-
"type": "array",
4054-
"items": {
4055-
"$ref": "v2.0.2.coreComponents.schema.json#/$defs/IdentifierType"
4056-
}
4057-
},
4058-
"ProcessSegmentParameterID": {
4059-
"type": "array",
4060-
"items": {
4034+
"type": "object",
4035+
"required": [
4036+
"ID"
4037+
],
4038+
"additionalProperties": false,
4039+
"properties": {
4040+
"Description": {
4041+
"type": "array",
4042+
"items": {
4043+
"$ref": "#/$defs/DescriptionType"
4044+
}
4045+
},
4046+
"HierarchyScope": {
4047+
"$ref": "#/$defs/HierarchyScopeType"
4048+
},
4049+
"ID": {
40614050
"$ref": "v2.0.2.coreComponents.schema.json#/$defs/IdentifierType"
4051+
},
4052+
"ParameterChild": {
4053+
"type": "array",
4054+
"items": {
4055+
"$ref": "#/$defs/ParameterType"
4056+
}
4057+
},
4058+
"ParameterSpecificationID": {
4059+
"type": "array",
4060+
"items": {
4061+
"$ref": "v2.0.2.coreComponents.schema.json#/$defs/IdentifierType"
4062+
}
4063+
},
4064+
"ProcessSegmentParameterID": {
4065+
"type": "array",
4066+
"items": {
4067+
"$ref": "v2.0.2.coreComponents.schema.json#/$defs/IdentifierType"
4068+
}
4069+
},
4070+
"Value": {
4071+
"type": "array",
4072+
"items": {
4073+
"$ref": "#/$defs/ValueType"
4074+
}
40624075
}
40634076
},
4064-
"Value": {
4065-
"type": "array",
4066-
"items": {
4067-
"$ref": "#/$defs/ValueType"
4077+
"allOf": [
4078+
{
4079+
"$ref": "v2.0.2.extensions.schema.json#/$defs/ParameterType"
40684080
}
4069-
}
4081+
],
4082+
"unevaluatedProperties": false
40704083
},
40714084
"PersonNameType": {
40724085
"type": [

0 commit comments

Comments
 (0)