JSON: STORE and RETRIEVE
{
“$schema”: “http://json-schema.org/schema#”,
“id”: “https://avesterra.georgetown.edu/tools/schemas/avesterra_store_format.json”,
“definitions”: {
“at_properties”: {
“type”: “array”,
“description”: “a list of properties”,
“items”: {
“description”: “a single property”,
“type”: “array”,
“items”: [
{
“type”: “string”,
“description”: “name of the property, not necessarily unique”
},
{
“type”: “string”,
“description”: “unique key of the property”
},
{
“type”: “string”,
“description”: “value of the property”
}
],
“additionalItems”: false,
“minItems”: 3,
“maxItems”: 3
}
}
},
“type”: “object”,
“description”: “attributes and properties of an entity”,
“properties”: {
“Attributes”: {
“type”: “object”,
“description”: “attributes of an entity”,
“patternProperties”: {
“^.*$”: {
“type”: “object”,
“description”: “values and properties of a single attribute”,
“properties”: {
“Values”: {
“type”: “array”,
“description”: “value or values of a single attribute”,
“items”: {
“description”: “attribute value”,
“type”: “string”
}
},
“Properties”: {
“$ref”: “#/definitions/at_properties”
}
}
}
},
“additionalProperties”: false
},
“Properties”: {
“$ref”: “#/definitions/at_properties”
}
},
“additionalProperties”: false
}