Skip to content

Commit

Permalink
update: added base.json for properties
Browse files Browse the repository at this point in the history
  • Loading branch information
unsigned6 committed Sep 20, 2023
1 parent 668b30f commit 335d086
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions schema/property/base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"$id": "property/base",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Schema of material's preliminary property",
"allOf": [
{
"description": "entity schema",
"$ref": "../in_memory_entity/base.json"
}
],
"properties": {
"slug": {
"description": "property slug, e.g. total_energy",
"type": "string"
},
"group": {
"description": "property group, e.g. qe:dft:gga:pbe",
"type": "string"
},
"data": {
"description": "container of the information, specific to each property",
"type": "object"
},
"source": {
"$ref": "source.json"
},
"exabyteId": {
"description": "Id of the corresponding item in the entity bank that this property is obtained for",
"type": "array",
"items": {
"type": "string"
}
},
"precision": {
"type": "object"
},
"count": {
"description": "total number of properties among which this property is the best.",
"type": "number"
},
"systemTags": {
"description": "property system tags, marks property system characteristics, values refined or best (could be both)",
"type": "array",
"items": {
"type": "string",
"enum": [
"isRefined",
"isBest"
]
}
}
},
"required": [
"data",
"source"
]
}

0 comments on commit 335d086

Please sign in to comment.