Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Aug 15, 2023
1 parent 393048a commit 6c2a1a0
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion mira/metamodel/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,44 @@
"subject"
]
},
"StaticConcept": {
"title": "StaticConcept",
"description": "Specifies a standalone Concept.",
"type": "object",
"properties": {
"rate_law": {
"title": "Rate Law",
"type": "string",
"example": "2*x"
},
"name": {
"title": "Name",
"type": "string"
},
"type": {
"title": "Type",
"default": "StaticConcept",
"const": "StaticConcept",
"enum": [
"StaticConcept"
],
"type": "string"
},
"subject": {
"$ref": "#/definitions/Concept"
},
"provenance": {
"title": "Provenance",
"type": "array",
"items": {
"$ref": "#/definitions/Provenance"
}
}
},
"required": [
"subject"
]
},
"Distribution": {
"title": "Distribution",
"description": "A distribution of values for a parameter.",
Expand Down Expand Up @@ -838,7 +876,8 @@
"NaturalProduction": "#/definitions/NaturalProduction",
"ControlledProduction": "#/definitions/ControlledProduction",
"GroupedControlledConversion": "#/definitions/GroupedControlledConversion",
"GroupedControlledProduction": "#/definitions/GroupedControlledProduction"
"GroupedControlledProduction": "#/definitions/GroupedControlledProduction",
"StaticConcept": "#/definitions/StaticConcept"
}
},
"oneOf": [
Expand Down Expand Up @@ -868,6 +907,9 @@
},
{
"$ref": "#/definitions/GroupedControlledProduction"
},
{
"$ref": "#/definitions/StaticConcept"
}
]
}
Expand Down

0 comments on commit 6c2a1a0

Please sign in to comment.