-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: added base.json for properties
- Loading branch information
Showing
1 changed file
with
57 additions
and
0 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
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" | ||
] | ||
} |