Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"formula": "SiC",
"n_atoms": 4,
"is_elemental": false,
"total_energy": -520.004,
"total_energy_per_atom": -130.001,
"precision_value": 8192,
"precision_metric": "KPPRA"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "formation_energy_contributions",
"values": [
{
"formula": "SiC",
"n_atoms": 4,
"is_elemental": false,
"total_energy": -520.003969643439,
"total_energy_per_atom": -130.00099241085974,
"precision_value": 8192,
"precision_metric": "KPPRA"
},
{
"formula": "Si",
"n_atoms": 2,
"is_elemental": true,
"total_energy": -261.003969643439,
"total_energy_per_atom": -130.5019848217195,
"precision_value": 8192,
"precision_metric": "KPPRA"
},
{
"formula": "C",
"n_atoms": 2,
"is_elemental": true,
"total_energy": -321.003969643439,
"total_energy_per_atom": -160.5019848217195,
"precision_value": 8000,
"precision_metric": "KPPRA"
}
]
}
53 changes: 53 additions & 0 deletions dist/js/schema/core/reusable/formation_energy_contribution.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"$id": "core/reusable/formation-energy-contribution",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Formation energy contribution schema",
"description": "Total energy contribution of one material used in formation energy calculation.",
"type": "object",
"required": [
"formula",
"n_atoms",
"is_elemental",
"total_energy",
"total_energy_per_atom",
"precision_metric",
"precision_value"
],
"properties": {
"formula": {
"description": "formula or label for the material used in the formation energy calculation",
"type": "string"
},
"n_atoms": {
"description": "number of atoms in the material",
"type": "integer"
},
"is_elemental": {
"description": "whether the material is an elemental reference",
"type": "boolean"
},
"total_energy": {
"description": "total energy of the material",
"type": "number"
},
"total_energy_per_atom": {
"description": "total energy per atom of the material",
"type": "number"
},
"precision_value": {
"description": "precision value for the total energy property",
"type": "number",
"default": -1
},
"precision_metric": {
"description": "metric used to report total energy precision",
"type": "string",
"enum": [
"unknown",
"KPPRA",
"spacing"
],
"default": "unknown"
}
}
}
9 changes: 8 additions & 1 deletion dist/js/schema/properties_directory/enum_options.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"scalar",
"non-scalar",
"tensor",
"object"
"object",
"array-of-objects"
]
},
"ScalarPropertyEnum": {
Expand Down Expand Up @@ -77,6 +78,12 @@
"total_energy_contributions"
]
},
"ArrayOfObjectsPropertyEnum": {
"type": "string",
"enum": [
"formation_energy_contributions"
]
},
"ProtoPropertyEnum": {
"type": "string",
"enum": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"$id": "properties-directory/non-scalar/formation-energy-contributions",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Formation energy contributions property schema",
"description": "Elemental reference total energies used to calculate formation energy.",
"type": "object",
"required": [
"name",
"values"
],
"properties": {
"name": {
"enum": [
"formation_energy_contributions"
]
},
"values": {
"type": "array",
"items": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Formation energy contribution schema",
"description": "Total energy contribution of one material used in formation energy calculation.",
"type": "object",
"required": [
"formula",
"n_atoms",
"is_elemental",
"total_energy",
"total_energy_per_atom",
"precision_metric",
"precision_value"
],
"properties": {
"formula": {
"description": "formula or label for the material used in the formation energy calculation",
"type": "string"
},
"n_atoms": {
"description": "number of atoms in the material",
"type": "integer"
},
"is_elemental": {
"description": "whether the material is an elemental reference",
"type": "boolean"
},
"total_energy": {
"description": "total energy of the material",
"type": "number"
},
"total_energy_per_atom": {
"description": "total energy per atom of the material",
"type": "number"
},
"precision_value": {
"description": "precision value for the total energy property",
"type": "number",
"default": -1
},
"precision_metric": {
"description": "metric used to report total energy precision",
"type": "string",
"enum": [
"unknown",
"KPPRA",
"spacing"
],
"default": "unknown"
}
}
}
}
}
}
72 changes: 72 additions & 0 deletions dist/js/schema/property/holder.json
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,78 @@
"name"
]
},
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Formation energy contributions property schema",
"description": "Elemental reference total energies used to calculate formation energy.",
"type": "object",
"properties": {
"name": {
"enum": [
"formation_energy_contributions"
]
},
"values": {
"type": "array",
"items": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Formation energy contribution schema",
"description": "Total energy contribution of one material used in formation energy calculation.",
"type": "object",
"required": [
"formula",
"n_atoms",
"is_elemental",
"total_energy",
"total_energy_per_atom",
"precision_metric",
"precision_value"
],
"properties": {
"formula": {
"description": "formula or label for the material used in the formation energy calculation",
"type": "string"
},
"n_atoms": {
"description": "number of atoms in the material",
"type": "integer"
},
"is_elemental": {
"description": "whether the material is an elemental reference",
"type": "boolean"
},
"total_energy": {
"description": "total energy of the material",
"type": "number"
},
"total_energy_per_atom": {
"description": "total energy per atom of the material",
"type": "number"
},
"precision_value": {
"description": "precision value for the total energy property",
"type": "number",
"default": -1
},
"precision_metric": {
"description": "metric used to report total energy precision",
"type": "string",
"enum": [
"unknown",
"KPPRA",
"spacing"
],
"default": "unknown"
}
}
}
}
},
"required": [
"name",
"values"
]
},
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Phonon density of states property schema",
Expand Down
2 changes: 1 addition & 1 deletion dist/js/schemas.json

Large diffs are not rendered by default.

Loading
Loading