Skip to content

Commit

Permalink
Get schema using pydantic 1.10.13
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Dec 5, 2023
1 parent b6f556c commit 0324e15
Showing 1 changed file with 3 additions and 26 deletions.
29 changes: 3 additions & 26 deletions mira/metamodel/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@
},
"type": {
"title": "Type",
"description": "The type of the template",
"default": "GroupedControlledProduction",
"const": "GroupedControlledProduction",
"enum": [
Expand All @@ -241,24 +240,16 @@
},
"controllers": {
"title": "Controllers",
"description": "The controllers to be added to the template",
"type": "array",
"items": {
"$ref": "#/definitions/Concept"
}
},
"outcome": {
"title": "Outcome",
"description": "The result of the template",
"allOf": [
{
"$ref": "#/definitions/Concept"
}
]
"$ref": "#/definitions/Concept"
},
"provenance": {
"title": "Provenance",
"description": "The provenance associated with a template",
"type": "array",
"items": {
"$ref": "#/definitions/Provenance"
Expand Down Expand Up @@ -293,7 +284,6 @@
},
"type": {
"title": "Type",
"description": "The the type of the template",
"default": "ControlledProduction",
"const": "ControlledProduction",
"enum": [
Expand All @@ -302,26 +292,13 @@
"type": "string"
},
"controller": {
"title": "Controller",
"description": "The controller of the template",
"allOf": [
{
"$ref": "#/definitions/Concept"
}
]
"$ref": "#/definitions/Concept"
},
"outcome": {
"title": "Outcome",
"description": "The outcome of the template",
"allOf": [
{
"$ref": "#/definitions/Concept"
}
]
"$ref": "#/definitions/Concept"
},
"provenance": {
"title": "Provenance",
"description": "The provenance associated with a template)",
"type": "array",
"items": {
"$ref": "#/definitions/Provenance"
Expand Down

0 comments on commit 0324e15

Please sign in to comment.