{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "PublicFile", "description": "Figshare PublicFile schema", "required": [ "computed_md5", "download_url", "id", "is_link_only", "name", "size", "supplied_md5" ], "type": "object", "properties": { "id": { "type": "integer", "description": "File id", "example": 3000002 }, "name": { "type": "string", "description": "File name", "example": "test.xls" }, "size": { "type": "integer", "description": "File size", "example": 14848 }, "is_link_only": { "type": "boolean", "description": "True if file is hosted somewhere else", "example": false }, "download_url": { "type": "string", "description": "Url for file download", "format": "url", "example": "https://ndownloader.figshare.com/files/3000002" }, "supplied_md5": { "type": "string", "description": "File supplied md5", "example": "043a51806d646e88cafbf19e7b82846f" }, "computed_md5": { "type": "string", "description": "File computed md5", "example": "043a51806d646e88cafbf19e7b82846f" }, "mimetype": { "type": "string", "description": "MIME Type of the file, it defaults to an empty string", "example": "application/pdf" } }, "x-tag": "common" }