Projects/openbibliography/bibjson/schema/v0.82

{   "description": "bibjson dataset definition, version 0.82",    "id": "ae56d69fa457442e94d5a7e7417a3c9a",    "type": "object",    "properties": {        "metadata": {            "required": "true",            "type": "object"            "description": "collection metadata",            "properties": {                "created": {                    "format": "date-time",                    "type": "string"                },                "id": {                    "description": "a unique collection                         identifier string.",                    "required": "true",                    "type": "string"                },                "modified": {                    "format": "date-time",                    "type": "string"                },                "namespaces": {                    "description": "namespaces used in this collection",                    "properties": {                        "ns1": {                            "description": "a namespace URL, not necessarily called ns1",                            "format": "url",                            "type": "string"                        }                    },                    "type": "object"                },                "owner": {                    "description": "the username of the collection                         owner on the bibserver instance the                         collection exists in",                    "type": "string"                },                "source": {                    "description": "The URL where the collection file                         was uploaded from, if there is one",                    "format": "url",                    "type": "string"                },                "label": {                    "description": "a human friendly collection name,                         suitable as html title element",                    "required": "true",                    "type": "string"                }                "query": {                    "description": "the query used to build this                         particular representation of the collection,                         if any. e.g. if currently looking at a subset                        of records, this is the query URL with parameters                         that returns said subset",                    "type": "object",                    "properties":{                    }                },                "from": {                    "description": "the starting record if                         currently showing a subset - see query key",                    "type": "number"                },                "size": {                    "description": "number of records in current                         display, e.g. if a subset - see query key",                    "type": "number"                }                "schema":{                    "description": "identifies the                        schema to which this collection                        conforms",                    "type": "object",                    "properties":{                        "name": "v0.82",                        "url": {                            "type":"string",                            "description":"An address from which                                the schema to which this collection                                conforms can be downloaded (by human                                 or machine) for validation." }           },        },        "records": {            "required": "true",            "type": "array"            "description": "a list of bibjson records",            "items": {                "description": "a record object",                "type": "object"                "properties": {                    "id": {                        "description": "a key that is unique within the collection",                        "type": "string"                    },                    "uuid": {                        "description": "a key that is universally unique,                            created whenever a record is uploaded to a bibserver.",                        "type": "string"                    },                    "author": {                        "description": "list of author name strings                             relevant to this record",                        "type": "array",                        "items": {                            "type": "object",                            "properties": {                                "name":"string",                                "id":"string"                            }                        }                    },                    "booktitle": {                        "type": "string"                    },                    "chapter": {                        "type": "string"                    },                    "collection": {                        "description": "the collection this record                             belongs to",                        "items": {                            "type": "string"                        },                        "type": "array"                    },                    "edition": {                        "type": "string"                    },                    "editor": {                        "description": "list of editor name strings                             relevant to this record",                        "items": {                            "type": "string"                        },                        "type": "array"                    },                    "howpublished": {                        "type": "string"                    },                    "identifiers": {                        "description": "list of unique identifiers                             for this record.",                        "type": "array"                        "items": {                            "type": "object",                            "properties": {                                "id": {                                    "description": "the identifier",                                    "required": "true",                                    "type": "string"                                },                                "type": {                                    "description": "a short name for                                         a given identifier, e.g. doi",                                    "required": "true",                                    "type": "string"                                }                            }                        }                    },                    "institution": {                        "type": "string"                    },                    "journal": {                        "type": "string"                    },                    "links": {                        "description": "list of link objects                             relevant to this record",                        "type": "array",                        "items": {                            "type": "object",                            "properties": {                                "anchor": {                                    "description": "text to                                         display inside link",                                    "type": "string"                                },                                "required": "true",                                "url": {                                    "type": "string"                                }                            }                        }                    },                    "month": {                        "type": "string"                    },                    "number": {                        "type": "string"                    },                    "organization": {                        "type": "string"                    },                    "pages": {                        "type": "string"                    },                    "publisher": {                        "type": "string"                    },                    "school": {                        "type": "string"                    },                    "series": {                        "type": "string"                    },                    "title": {                        "type": "string"                    },                    "type": {                        "description": "the bibliographic type,                             as per the usual values found in bibtex",                        "type": "string"                    },                    "volume": {                        "type": "string"                    },                    "year": {                        "type": "string"                    }                }            },        }    },}