Skip to content

Commit

Permalink
Added new schemas and test file
Browse files Browse the repository at this point in the history
  • Loading branch information
jslane-h committed May 14, 2024
1 parent d70259d commit dee02a1
Show file tree
Hide file tree
Showing 6 changed files with 1,352 additions and 14,728 deletions.
48 changes: 48 additions & 0 deletions schema/library.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/pnnl/ConStrain/tree/develop/schema/LibraryItem",
"type": "object",
"properties": {
"library_item_id": {
"type": "integer",
"minimum": 1,
"maximum": 67
},
"description_brief": {
"type": "string"
},
"description_detail": {
"type": "string"
},
"description_index": {
"type": "array",
"items": {
"type": "string"
}
},
"description_datapoints": {
"type": "object"
},
"description_verification_type": {
"enum": [
"rule-based",
"procedure-based"
]
},
"assertions_type": {
"enum": [
"pass",
"fail"
]
}
},
"required": [
"library_item_id",
"description_brief",
"description_detail",
"description_index",
"description_datapoints",
"description_verification_type",
"assertions_type"
]
}
Loading

0 comments on commit dee02a1

Please sign in to comment.