-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added schemas for each section, as well as Github actions to run them. Also fixed some invalid JSON in the .jsonld sections. Addresses #5
- Loading branch information
1 parent
a0282e9
commit 93712c4
Showing
23 changed files
with
1,028 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Basis Set Schema", | ||
"description": "JSON schema for a basis set", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"title": { "type": "string" }, | ||
"description": { "type": "string" }, | ||
"format": { "type": "string" }, | ||
"setType": { "type": "string" }, | ||
"harmonicType": { "type": "string" }, | ||
"contractionType": { "type": "string" }, | ||
"sets": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"symbol": { "type": "string" }, | ||
"contractions": { | ||
"shell": { "type": "string" }, | ||
"matrix": { | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"datatype": { "type": "string" }, | ||
"rows": { "type": "number" }, | ||
"columns": { "type": "number" }, | ||
"delimiter": { "type": "string" }, | ||
"values": { "type": "string" } | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Calculation Schema", | ||
"description": "JSON schema for a calculation", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"approach": { "type": "string" }, | ||
"calcclass": { "type": "string" }, | ||
"calcType": { "type": "string" }, | ||
"submethod": { "type": "string" }, | ||
"calculations": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"class": { "type": "string" }, | ||
"calcType": { "type": "string" }, | ||
"referenceState": { "type": "string" }, | ||
"determinant": { "type": "string" }, | ||
"spin#": { "type": "string" } | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Methodology CC Schema", | ||
"description": "JSON schema for a methodology", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"name": { "type": "string" }, | ||
"sourcetype": { "type": "string" }, | ||
"vendor": { "type": "string" }, | ||
"grade": { "type": "string" }, | ||
"properties": { | ||
"type": "array", | ||
"items": {"$ref": "parameter.json"} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Calculation Schema", | ||
"description": "JSON schema for a calculation", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"architecture": { "type": "string" }, | ||
"cpu": { | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"opmodes": { "type": "string" }, | ||
"count": { "type": "number" }, | ||
"speed": { "type": "string" }, | ||
"vendorid": { "type": "string" }, | ||
"family": { "type": "string" }, | ||
"model": { "type": "string" }, | ||
"modelname": { "type": "string" } | ||
} | ||
}, | ||
"byteorder": { "type": "string" }, | ||
"threadspercore": { "type": "number" }, | ||
"corespersocket": { "type": "number" }, | ||
"sockets": { "type": "number" }, | ||
"cache": { | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"l1datacache": { "type": "string" }, | ||
"l1instcache": { "type": "string" }, | ||
"l2cache": { "type": "string" }, | ||
"l3cache": { "type": "string" } | ||
} | ||
}, | ||
"ram": { "type": "string" } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Data Series Schema", | ||
"description": "JSON schema for a data series", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"label": { "type": "string" }, | ||
"axis": { "type": "string" }, | ||
"uid": { "type": "string" }, | ||
"parameter": { | ||
"type": "object", | ||
"required": [ "@id" ], | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"datatype": { "type": "string" }, | ||
"numberarray": { | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
} | ||
}, | ||
"quantity": { "type": "string" }, | ||
"valuearray": { | ||
"@id": { "type": "string" }, | ||
"textarray": { | ||
"type": "array", | ||
"items": { "type": "string" } | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Data Set Schema", | ||
"description": "JSON schema for a data set", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"datapoint": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"scope": { "type": "string" }, | ||
"quantity": { "type": "string" }, | ||
"property": { "type": "string" }, | ||
"value": { | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"number": { "type": "string" }, | ||
"unitstr": { "type": "string" } | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"datagroup": { | ||
"type": "array", | ||
"items": {"$ref": "#/definitions/datagroup"} | ||
} | ||
}, | ||
"definitions": { | ||
"datagroup" : { | ||
"type": "object", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"scope": { "type": "string" }, | ||
"group": { "type": "string" }, | ||
"attributes": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string" }, | ||
"number": { "type": "number" } | ||
} | ||
} | ||
}, | ||
"dataseries": { | ||
"type": "array", | ||
"items": {"$ref": "dataseries.json"} | ||
}, | ||
"datagroup": { | ||
"type": "array", | ||
"items": {"$ref": "#/definitions/datagroup"} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.