Files
Phraseanet/lib/conf.d/json_schema/records.json
2015-12-22 17:44:34 +01:00

40 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Record Collection",
"description": "A Record collection",
"definitions": {
"record": {
"type": "object",
"properties": {
"id": {
"description": "The unique identifier for a record",
"type": "string"
},
"record_id": {
"description": "The databox id of the record",
"type": "integer"
},
"databox_id": {
"description": "The databox identifier where record is localized",
"type": "integer"
}
},
"required": [
"databox_id",
"record_id"
]
}
},
"type": "object",
"properties": {
"data": {
"description": "A collection of story_record",
"type": "array",
"items": {
"$ref": "#/definitions/record"
}
}
},
"required": ["data"]
}