mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
40 lines
1.1 KiB
JSON
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"]
|
|
}
|