Something went wrong. Try again.
replace big-tech and host basic infrastructure yourself! ordner.fyi
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "FileNode.schema.json", "title": "FileNode", "description": "A FileNode as `FileNode/get` answers it: draft-ietf-jmap-filenode-14 §3.1's properties and the vendor properties of connected applications and Photos. It answers the properties asked for, `id` always; other extensions add further vendor properties.", "type": "object", "properties": { "id": { "$ref": "Common.schema.json#/$defs/Id" }, "parentId": { "anyOf": [ { "$ref": "Common.schema.json#/$defs/Id" }, { "type": "null" } ] }, "nodeType": { "enum": ["file", "directory", "symlink"] }, "blobId": { "description": "A file's content; null for a folder.", "anyOf": [ { "$ref": "Common.schema.json#/$defs/Id" }, { "type": "null" } ] }, "target": { "anyOf": [ { "type": "array", "items": { "type": "string" } }, { "type": "null" } ] }, "size": { "anyOf": [ { "type": "integer", "minimum": 0 }, { "type": "null" } ] }, "name": { "type": "string", "description": "The node's name.", "minLength": 1 }, "type": { "description": "A file's media type; null for a folder.", "type": ["string", "null"] }, "created": { "$ref": "Common.schema.json#/$defs/UTCDate" }, "modified": { "$ref": "Common.schema.json#/$defs/UTCDate" }, "accessed": { "anyOf": [ { "$ref": "Common.schema.json#/$defs/UTCDate" }, { "type": "null" } ] }, "changed": { "description": "When the node's record was last written.", "$ref": "Common.schema.json#/$defs/UTCDate" }, "executable": { "type": "boolean" }, "isSubscribed": { "type": "boolean" }, "myRights": { "type": "object", "properties": { "mayRead": { "type": "boolean" }, "mayAddChildren": { "type": "boolean" }, "mayRename": { "type": "boolean" }, "mayDelete": { "type": "boolean" }, "mayModifyContent": { "type": "boolean" }, "mayShare": { "type": "boolean" } }, "required": [ "mayRead", "mayAddChildren", "mayRename", "mayDelete", "mayModifyContent", "mayShare" ], "additionalProperties": false }, "shareWith": { "description": "By share rule, the rights it grants, or null.", "anyOf": [ { "type": "object", "additionalProperties": { "type": "object", "additionalProperties": { "type": "boolean" } } }, { "type": "null" } ] }, "role": { "type": ["string", "null"] }, "annotations": { "description": "What sources wrote of the content the file holds now, by source id, or null.", "anyOf": [ { "type": "object", "propertyNames": { "$ref": "Common.schema.json#/$defs/SourceId" }, "additionalProperties": { "$ref": "FileAnnotation.schema.json" } }, { "type": "null" } ] }, "photo": { "description": "A read picture's metadata, or null.", "anyOf": [ { "$ref": "#/$defs/Photo" }, { "type": "null" } ] }, "album": { "description": "An album folder's value, or null.", "anyOf": [ { "$ref": "#/$defs/Album" }, { "type": "null" } ] }, "notPicture": { "type": "boolean", "description": "The content was read and is no picture (server-set)." }, "unreadable": { "description": "Why reading the content was given up (server-set), or null.", "anyOf": [ { "type": "string", "maxLength": 500 }, { "type": "null" } ] } }, "required": ["id"], "$defs": { "Photo": { "type": "object", "properties": { "taken": { "description": "When taken, on the camera's clock.", "$ref": "Common.schema.json#/$defs/LocalDate" }, "takenOffset": { "description": "The camera's UTC offset, ±hh:mm, or null.", "anyOf": [ { "type": "string", "pattern": "^[+-](?:0\\d|1[0-4]):[0-5]\\d$" }, { "type": "null" } ] }, "width": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ] }, "height": { "anyOf": [ { "type": "integer", "minimum": 1 }, { "type": "null" } ] }, "orientation": { "type": "integer", "minimum": 1, "maximum": 8, "description": "The EXIF orientation, 1–8." }, "camera": { "description": "What the camera says of itself, or null.", "type": ["object", "null"] }, "exposure": { "description": "The exposure the file states, or null.", "type": ["object", "null"] }, "location": { "description": "Where taken, or null (also when the caller's share of the album keeps no location).", "anyOf": [ { "type": "object", "properties": { "latitude": { "type": "number", "minimum": -90, "maximum": 90 }, "longitude": { "type": "number", "minimum": -180, "maximum": 180 }, "altitude": { "description": "Metres, or null.", "anyOf": [ { "type": "number" }, { "type": "null" } ] } }, "required": ["latitude", "longitude"], "additionalProperties": false }, { "type": "null" } ] }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "keywords": { "type": "array", "items": { "type": "string" } }, "rating": { "type": "integer", "minimum": -1, "maximum": 5, "description": "XMP rating: −1 rejected, 0 none, 1–5 stars." }, "thumbnailBlobId": { "description": "A small rendition, or null.", "anyOf": [ { "$ref": "Common.schema.json#/$defs/Id" }, { "type": "null" } ] }, "displayBlobId": { "description": "A screen-sized rendition, or null.", "anyOf": [ { "$ref": "Common.schema.json#/$defs/Id" }, { "type": "null" } ] }, "edits": { "anyOf": [ { "type": "object", "properties": { "crop": { "anyOf": [ { "type": "object", "properties": { "left": { "type": "number", "minimum": 0, "maximum": 1 }, "top": { "type": "number", "minimum": 0, "maximum": 1 }, "right": { "type": "number", "minimum": 0, "maximum": 1 }, "bottom": { "type": "number", "minimum": 0, "maximum": 1 } }, "required": ["left", "top", "right", "bottom"], "additionalProperties": false, "description": "Fractions of the picture as displayed; left of right, above bottom." }, { "type": "null" } ] }, "angle": { "type": "number", "minimum": -45, "maximum": 45, "description": "Degrees of straightening, applied before the crop." } }, "required": ["crop", "angle"], "additionalProperties": false }, { "type": "null" } ] }, "renderedBlobId": { "description": "The rendition showing the edits, or null.", "anyOf": [ { "$ref": "Common.schema.json#/$defs/Id" }, { "type": "null" } ] }, "sidecarId": { "description": "The XMP sidecar beside it, or null.", "anyOf": [ { "$ref": "Common.schema.json#/$defs/Id" }, { "type": "null" } ] }, "originId": { "description": "The library picture an album copy came from, or null.", "anyOf": [ { "$ref": "Common.schema.json#/$defs/Id" }, { "type": "null" } ] }, "analysed": { "type": "string", "description": "The content the analysis is of." }, "fileOrientation": { "description": "The orientation the file's own bytes state, or null.", "anyOf": [ { "type": "integer", "minimum": 1, "maximum": 8, "description": "The EXIF orientation, 1–8." }, { "type": "null" } ] }, "renderedFrom": { "description": "The orientation and edits the renditions show, or null.", "anyOf": [ { "type": "object", "properties": { "orientation": { "type": "integer", "minimum": 1, "maximum": 8, "description": "The EXIF orientation, 1–8." }, "edits": { "anyOf": [ { "type": "object", "properties": { "crop": { "anyOf": [ { "type": "object", "properties": { "left": { "type": "number", "minimum": 0, "maximum": 1 }, "top": { "type": "number", "minimum": 0, "maximum": 1 }, "right": { "type": "number", "minimum": 0, "maximum": 1 }, "bottom": { "type": "number", "minimum": 0, "maximum": 1 } }, "required": ["left", "top", "right", "bottom"], "additionalProperties": false, "description": "Fractions of the picture as displayed; left of right, above bottom." }, { "type": "null" } ] }, "angle": { "type": "number", "minimum": -45, "maximum": 45, "description": "Degrees of straightening, applied before the crop." } }, "required": ["crop", "angle"], "additionalProperties": false }, { "type": "null" } ] } }, "required": ["orientation", "edits"], "additionalProperties": false }, { "type": "null" } ] }, "faces": { "type": "array", "maxItems": 500, "items": { "$ref": "PhotoFaceRegion.schema.json" } } }, "required": [ "taken", "takenOffset", "width", "height", "orientation", "camera", "exposure", "location", "title", "description", "keywords", "rating", "thumbnailBlobId", "displayBlobId", "edits", "renderedBlobId", "sidecarId", "originId", "analysed", "fileOrientation", "renderedFrom", "faces" ], "additionalProperties": false, "description": "A read picture's metadata, of the content the file holds now." }, "PhotoUpdate": { "type": "object", "properties": { "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "keywords": { "type": "array", "items": { "type": "string", "pattern": "\\S" } }, "rating": { "type": "integer", "minimum": -1, "maximum": 5, "description": "XMP rating: −1 rejected, 0 none, 1–5 stars." }, "taken": { "description": "When taken, on the camera's clock.", "$ref": "Common.schema.json#/$defs/LocalDate" }, "takenOffset": { "description": "The camera's UTC offset, ±hh:mm, or null.", "anyOf": [ { "type": "string", "pattern": "^[+-](?:0\\d|1[0-4]):[0-5]\\d$" }, { "type": "null" } ] }, "location": { "anyOf": [ { "type": "object", "properties": { "latitude": { "type": "number", "minimum": -90, "maximum": 90 }, "longitude": { "type": "number", "minimum": -180, "maximum": 180 }, "altitude": { "description": "Metres, or null.", "anyOf": [ { "type": "number" }, { "type": "null" } ] } }, "required": ["latitude", "longitude"], "additionalProperties": false }, { "type": "null" } ] }, "orientation": { "type": "integer", "minimum": 1, "maximum": 8, "description": "The EXIF orientation, 1–8." }, "edits": { "anyOf": [ { "type": "object", "properties": { "crop": { "anyOf": [ { "type": "object", "properties": { "left": { "type": "number", "minimum": 0, "maximum": 1 }, "top": { "type": "number", "minimum": 0, "maximum": 1 }, "right": { "type": "number", "minimum": 0, "maximum": 1 }, "bottom": { "type": "number", "minimum": 0, "maximum": 1 } }, "required": ["left", "top", "right", "bottom"], "additionalProperties": false, "description": "Fractions of the picture as displayed; left of right, above bottom." }, { "type": "null" } ] }, "angle": { "type": "number", "minimum": -45, "maximum": 45, "description": "Degrees of straightening, applied before the crop." } }, "required": ["crop", "angle"], "additionalProperties": false }, { "type": "null" } ] }, "faces": { "type": "array", "maxItems": 500, "items": { "$ref": "PersonFace.schema.json" } } }, "description": "`photo` as `FileNode/set` takes it (whole, or member by member as `photo/<member>`): these members are written; a server-set member is accepted only stated as it is." }, "Album": { "type": "object", "properties": { "coverId": { "anyOf": [ { "$ref": "Common.schema.json#/$defs/Id" }, { "type": "null" } ] }, "locationKeep": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "The share rules that keep location (to a reader who may not share the album, only the rules it is reached through)." }, "faceNamesKeep": { "type": "array", "items": { "type": "string", "minLength": 1 }, "description": "The share rules that keep the names of the people in the pictures, read as locationKeep is." } }, "required": ["coverId", "locationKeep", "faceNamesKeep"], "additionalProperties": false, "description": "An album folder's own value." }, "AlbumUpdate": { "type": "object", "properties": { "coverId": { "anyOf": [ { "$ref": "Common.schema.json#/$defs/Id" }, { "type": "null" } ] }, "locationKeep": { "type": "array", "items": { "type": "string", "minLength": 1 } }, "faceNamesKeep": { "type": "array", "items": { "type": "string", "minLength": 1 } } }, "required": [], "additionalProperties": false, "description": "`album` as `FileNode/set` takes it; `locationKeep` and `faceNamesKeep` only by who may share the album." } }}