Skip to content

Commit

Permalink
fix: Fix the JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed May 2, 2023
1 parent 7583120 commit e8bd562
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions capella_rm_bridge/changeset/snapshot_input.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,12 @@
"additionalProperties": false,
"patternProperties": {
".": {
"description": "The values that are available for this EnumerationDataTypeDefinition. They are sometimes called \"options\"",
"type": "object",
"properties": {
"long_name": {
"description": "Value of the \"Long Name\" field in Capella. Here it is the long name of the EnumerationDataTypeDefinition.",
"type": "string"
},
"values": {
"description": "EnumValues in Capella.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Value of the \"Identifier\" field in Capella. Here it is the identifier of the EnumValue.",
"type": "string"
},
"long_name": {
"description": "Value of the \"Long Name\" field in Capella. Here it is the long name of the EnumValue.",
"type": "string"
}
}
"description": "The values that are available for this EnumerationAttribute. They are sometimes called \"options\"",
"type": "array",
"items": {
"patternProperties": {
".": {
"type": "string"
}
}
}
Expand Down Expand Up @@ -143,6 +127,10 @@
"multi_values": {
"description": "Whether the Enum Attribute can have multiple values (true) or must always have exactly one value (false).",
"type": "boolean"
},
"type_id": {
"description": "The EnumerationDataTypeDefinition identifier for assication of the available options.",
"type": "string"
}
},
"additionalProperties": false
Expand Down

0 comments on commit e8bd562

Please sign in to comment.