Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dist/js/example/element.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
{
"name": "ionization_potential",
"value": 7.7
"value": 7.7,
"units": "eV"
}
],
"symbol": "Si"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "ionization_potential",
"value": 7.7
"value": 7.7,
"units": "eV"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "convergence_electronic",
"data": [
[
-123.45678,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "convergence_ionic",
"data": [
{
"electronic": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@
"cls": "Account",
"slug": "exabyte"
},
"repetition": 0,
"schemaVersion": "0.2.0",
"slug": "pressure",
"source": {
"_id": "nDAavgjrT5ezwFgod",
"owner": {
"_id": "HtxACY2wX4b2hS8Rv",
"cls": "Account",
"slug": "exabyte"
},
"title": "My Calculation"
"type": "exabyte",
"info": {
"jobId": "XnYKCmgaAAzSQH5ac",
"unitId": "873d0293d04af431d31f07a0-pw-scf"
}
}
}
3 changes: 2 additions & 1 deletion dist/js/example/workflow/unit/io/object_storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"REGION": "us-east-1",
"SIZE": 6582,
"TIMESTAMP": "1614217411"
}
},
"filetype": "text/html"
}
20 changes: 15 additions & 5 deletions dist/js/schema/core/abstract/2d_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,20 @@
"properties": {
"xDataArray": {
"description": "array containing values of x Axis",
"type": "array"
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "number"
}
}
]
}
},
"yDataSeries": {
"$schema": "http://json-schema.org/draft-07/schema#",
Expand All @@ -20,10 +33,7 @@
"type": "array",
"minItems": 1,
"items": {
"type": [
"number",
"string"
]
"type": "number"
}
}
}
Expand Down
25 changes: 15 additions & 10 deletions dist/js/schema/core/abstract/2d_plot.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,22 @@
}
}
},
"legend": {
"description": "Legend of y Axis data series",
"minItems": 1,
"type": "array"
},
"xDataArray": {
"description": "array containing values of x Axis",
"type": "array"
"type": "array",
"items": {
"oneOf": [
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "number"
}
}
]
}
},
"yDataSeries": {
"$schema": "http://json-schema.org/draft-07/schema#",
Expand All @@ -63,10 +71,7 @@
"type": "array",
"minItems": 1,
"items": {
"type": [
"number",
"string"
]
"type": "number"
}
}
}
Expand Down
5 changes: 1 addition & 4 deletions dist/js/schema/core/primitive/1d_data_series.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
"type": "array",
"minItems": 1,
"items": {
"type": [
"number",
"string"
]
"type": "number"
}
}
}
8 changes: 4 additions & 4 deletions dist/js/schema/core/reference/exabyte.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"$id": "core/reference/exabyte",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"jobId",
"unitId"
],
"properties": {
"materialId": {
"description": "Material's identity. Used for protoProperties.",
"type": "string"
},
"jobId": {
"description": "Job's identity",
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion dist/js/schema/core/reusable/energy.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"type": "string"
},
"units": {
"anyOf": [
"oneOf": [
{
"enum": [
"kJ/mol",
Expand Down
70 changes: 70 additions & 0 deletions dist/js/schema/core/reusable/hubbard_parameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"$id": "core/reusable/hubbard-parameters",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Hubbard parameters reusable schema",
"description": "Common properties for hubbard parameter schemas",
"type": "object",
"required": [
"values",
"units"
],
"properties": {
"units": {
"enum": [
"eV"
]
},
"values": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"id2",
"atomicSpecies",
"atomicSpecies2",
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Atomic data per orbital pair numeric",
"description": "Atomic properties per orbital pair with numeric value e.g., Hubbard V parameters.",
"properties": {
"id": {
"type": "integer",
"description": "Site number or index in the lattice"
},
"id2": {
"type": "integer",
"description": "Site number or index in the lattice of second site"
},
"atomicSpecies": {
"type": "string",
"pattern": "^[a-zA-Z]{1,2}[\\d+]?$",
"description": "Example: Co1, Mn"
},
"atomicSpecies2": {
"type": "string",
"pattern": "^[a-zA-Z]{1,2}[\\d+]?$",
"description": "Example: Co2, O"
},
"orbitalName": {
"type": "string",
"pattern": "^[1-7][sSpPdDfF]$"
},
"orbitalName2": {
"type": "string",
"pattern": "^[1-7][sSpPdDfF]$"
},
"distance": {
"type": "number",
"description": "Distance between two sites in Bohr."
},
"value": {
"type": "number",
"description": "Value related to a specific property, e.g., Hubbard U, V etc."
}
}
}
}
}
}
7 changes: 5 additions & 2 deletions dist/js/schema/element.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
"description": "atomic radius",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
Expand Down Expand Up @@ -170,6 +171,7 @@
"description": "electronegativity for the element (Pauling scale)",
"type": "object",
"required": [
"name",
"value"
],
"properties": {
Expand All @@ -185,10 +187,11 @@
},
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ionization potential",
"description": "ionization potential for the element",
"title": "Ionization potential elemental property schema",
"type": "object",
"required": [
"name",
"units",
"value"
],
"properties": {
Expand Down
Loading
Loading