Skip to content

Commit

Permalink
Schema fix (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahouseholder authored Oct 24, 2024
2 parents 93736b4 + 722b7be commit 963668c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 39 deletions.
67 changes: 32 additions & 35 deletions data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://certcc.github.io/SSVC/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json",
"$id": "https://certcc.github.io/SSVC/data/schema/v1/Decision_Point_Group_Selection-1-0-1.schema.json",
"definitions": {
"id": {
"type": "string",
Expand Down Expand Up @@ -62,40 +62,37 @@
"version"
],
"additionalProperties": false
},
"SsvcdecisionpointgroupselectionSchema": {
"properties": {
"id": {
"$ref": "#/definitions/id"
},
"role": {
"$ref": "#/definitions/role"
},
"schemaVersion": {
"$ref": "#/definitions/schemaVersion"
},
"timestamp": {
"$ref": "#/definitions/timestamp"
},
"selections": {
"description" : "An array of Decision Points and their Values that were down-selected or evaluated ",
"title": "selections",
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/definitions/SsvcdecisionpointselectionSchema"
}
}
},
"type": "object",
"required": [
"selections",
"id",
"timestamp",
"schemaVersion"
],
"additionalProperties": false
}
},
"$ref": "#/definitions/SsvcdecisionpointgroupselectionSchema"
"properties": {
"id": {
"$ref": "#/definitions/id"
},
"role": {
"$ref": "#/definitions/role"
},
"schemaVersion": {
"$ref": "#/definitions/schemaVersion"
},
"timestamp": {
"$ref": "#/definitions/timestamp"
},
"selections": {
"description" : "An array of Decision Points and their Values that were down-selected or evaluated ",
"title": "selections",
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/definitions/SsvcdecisionpointselectionSchema"
}
}
},
"type": "object",
"required": [
"selections",
"id",
"timestamp",
"schemaVersion"
],
"additionalProperties": false
}
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ mkdocs==1.6.1
mkdocs-bibtex==2.16.2
mkdocs-include-markdown-plugin==6.2.2
mkdocs-table-reader-plugin==3.1.0
mkdocs-material==9.5.39
mkdocs-material==9.5.42
mkdocs-material-extensions==1.3.1
mkdocstrings==0.26.1
mkdocstrings-python==1.11.1
mkdocstrings==0.26.2
mkdocstrings-python==1.12.2
mkdocs-print-site-plugin==2.6.0
dataclasses-json==0.6.7
thefuzz==0.22.1
pandas==2.2.3
scikit-learn==1.5.2
jsonschema==4.23.0
networkx==3.3
networkx==3.4.1

0 comments on commit 963668c

Please sign in to comment.