changedOutput schema / properties / entry / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "An entry: the same data its page shows, from the same code. Email addresses are masked. The text is CC0, except a description taken from Wikipedia (`description_license`).",
- "properties": {
- "claimed": {
- "description": "The person or organisation the entry is about has claimed it. Never who.",
- "type": "boolean"
- },
- "description": {
- "description": "The description as sanitised HTML, links to other entries named as they are today.",
- "type": [
- "string",
- "null"
- ]
- },
- "description_license": {
- "anyOf": [
- {
- "const": "CC-BY-SA-4.0",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The description’s licence, as an SPDX id: `CC-BY-SA-4.0` when it was taken from Wikipedia (`description_source` is set), which means crediting the article and sharing alike. Null otherwise: the description is CC0 like the rest of the text."
- },
- "description_source": {
- "anyOf": [
- {
- "additionalProperties": {},
- "description": "The English Wikipedia page an entry’s description was taken from: an article, or a draft (`draft: true`).",
- "properties": {
- "adapted": {
- "description": "Present and true when the text has been edited on the site since.",
- "type": "boolean"
- },
- "draft": {
- "const": true,
- "description": "Present and true when the page is an English Wikipedia draft (the Draft namespace), not yet an article.",
- "type": "boolean"
- },
- "kind": {
- "description": "The source’s kind (`wikipedia`).",
- "type": "string"
- },
- "revision": {
- "description": "The page’s revision the text was taken from: its permalink is `https://en.wikipedia.org/w/index.php?title=<title>&oldid=<revision>`. Absent on a credit from before revisions were kept.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "title": {
- "description": "The page’s title, underscored (`Draft:` first for a draft).",
- "type": "string"
- },
- "url": {
- "description": "The page.",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "url"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "entity_kind": {
- "anyOf": [
- {
- "enum": [
- "person",
- "musical_group",
- "sports_organization",
- "broadcaster",
- "publisher",
- "educational_institution",
- "research_organization",
- "religious_organization",
- "museum",
- "financial_institution",
- "chain",
- "nonprofit",
- "company",
- "organization",
- "show",
- "website",
- "software",
- "brand"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The finer kind of thing it is, from its Wikidata item’s classes; null when unknown (an organisation or a brand not yet read since kinds were added reads null until the sync next reads its item). Each kind belongs to one `entity_type`, and `person`, `organization` and `brand` are also the kinds of an entry of that type with no finer one. The kinds, with their type: `person` (person: person), `musical_group` (organization: musical group), `sports_organization` (organization: sports organisation), `broadcaster` (organization: broadcaster), `publisher` (organization: publisher), `educational_institution` (organization: educational institution), `research_organization` (organization: research organisation), `religious_organization` (organization: religious organisation), `museum` (organization: museum), `financial_institution` (organization: financial institution), `chain` (organization: retail or hospitality chain), `nonprofit` (organization: charity or non-profit), `company` (organization: company), `organization` (organization: organisation), `show` (brand: show), `website` (brand: website or app), `software` (brand: software), `brand` (brand: brand). New kinds may be added; treat an unknown value as its `entity_type`."
- },
- "entity_type": {
- "description": "What it is, from its Wikidata item: `person`, `organization` or `brand`; null when unknown. `entity_kind` says more.",
- "type": [
- "string",
- "null"
- ]
- },
- "handles": {
- "items": {
- "additionalProperties": {},
- "description": "One account or identifier of an entry, in the order the entry page shows them. A Wikidata item linked to the entry comes last, as platform `wikidata`.",
- "properties": {
- "category": {
- "description": "How the entry page groups it.",
- "enum": [
- "social",
- "messaging",
- "website",
- "identifier"
- ],
- "type": "string"
- },
- "checked": {
- "additionalProperties": {},
- "description": "What Verified Handles’ own handle checker found when it last looked at this account, from the platform’s official API: only on YouTube (channel and handle), Deezer and GitHub, and only for a look at most 7 days old. Absent otherwise. The entry page shows it only for `dead` (“Not found when checked …”) and `renamed`.",
- "properties": {
- "at": {
- "description": "When it looked (ISO 8601, UTC).",
- "type": "string"
- },
- "now": {
- "description": "For `renamed`, the name it answers to now, when the platform gave one. A YouTube handle’s is lowercase.",
- "type": "string"
- },
- "verdict": {
- "description": "`live`: the profile was there. `dead`: the platform did not find it. `renamed`: it answers under another name. `unknown`: the platform gave no answer a rule could read.",
- "enum": [
- "live",
- "dead",
- "renamed",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "verdict",
- "at"
- ],
- "type": "object"
- },
- "display": {
- "description": "The label the entry page shows instead of the value, if an editor set one. Null for email.",
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "description": "The platform’s display name.",
- "type": "string"
- },
- "platform": {
- "description": "The platform’s id (`twitter`, `instagram`, `wikidata`, …).",
- "type": "string"
- },
- "shown_first": {
- "description": "The entry page shows it before anyone opens anything: true for the accounts above a long list’s “Show N more accounts”, false for the ones folded under it, for the external identifiers (listed under their own closed heading, unless the entry has nothing else), and for an account the page does not draw.",
- "type": "boolean"
- },
- "url": {
- "description": "The profile’s address, built from the platform’s URL pattern. Null for email.",
- "type": [
- "string",
- "null"
- ]
- },
- "value": {
- "description": "The handle as stored (a username, an id, a URL). Null for an email address, which is never published as data.",
- "type": [
- "string",
- "null"
- ]
- },
- "verified": {
- "description": "Verified Handles has checked that this account belongs to the entry.",
- "type": "boolean"
- }
- },
- "required": [
- "platform",
- "name",
- "category",
- "value",
- "display",
- "url",
- "verified",
- "shown_first"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "image": {
- "description": "The lead image (the same as `images[0].url`), or null.",
- "type": [
- "string",
- "null"
- ]
- },
- "image_rights": {
- "anyOf": [
- {
- "additionalProperties": {},
- "description": "Who owns an image and how it may be reused. An entry’s text is CC0 (bar a description taken from Wikipedia); its images are licensed separately, by their owners.",
- "properties": {
- "credit": {
- "description": "The credit line to show when reusing the image.",
- "type": [
- "string",
- "null"
- ]
- },
- "details_url": {
- "description": "The entry’s \"About this image\" page.",
- "type": "string"
- },
- "freely_licensed": {
- "description": "May be reused under a free licence. Null when no licence is recorded.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "license": {
- "anyOf": [
- {
- "enum": [
- "cc0-1.0",
- "public-domain",
- "cc-by-4.0",
- "cc-by-sa-4.0",
- "supplied",
- "permission",
- "none"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "An upload’s licence, by id. Null for a Commons image (see `license_name`) or when none was recorded."
- },
- "license_name": {
- "description": "The licence’s name, e.g. \"CC BY-SA 4.0\". Null until it is known.",
- "type": [
- "string",
- "null"
- ]
- },
- "license_url": {
- "description": "The licence’s text.",
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "description": "Where the image came from.",
- "enum": [
- "wikimedia_commons",
- "upload"
- ],
- "type": "string"
- },
- "source_page": {
- "description": "The image’s Wikimedia Commons file page, which states its licence and author.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "source",
- "license",
- "license_name",
- "license_url",
- "freely_licensed",
- "credit",
- "source_page",
- "details_url"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The lead image’s rights, or null when there is no image."
- },
- "images": {
- "description": "Every image the entry shows, the lead first. Empty when it shows none.",
- "items": {
- "additionalProperties": {},
- "description": "One image an entry shows.",
- "properties": {
- "height": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "The original’s height in pixels, or null when it is not known."
- },
- "image_rights": {
- "additionalProperties": {},
- "description": "Who owns an image and how it may be reused. An entry’s text is CC0 (bar a description taken from Wikipedia); its images are licensed separately, by their owners.",
- "properties": {
- "credit": {
- "description": "The credit line to show when reusing the image.",
- "type": [
- "string",
- "null"
- ]
- },
- "details_url": {
- "description": "The entry’s \"About this image\" page.",
- "type": "string"
- },
- "freely_licensed": {
- "description": "May be reused under a free licence. Null when no licence is recorded.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "license": {
- "anyOf": [
- {
- "enum": [
- "cc0-1.0",
- "public-domain",
- "cc-by-4.0",
- "cc-by-sa-4.0",
- "supplied",
- "permission",
- "none"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "An upload’s licence, by id. Null for a Commons image (see `license_name`) or when none was recorded."
- },
- "license_name": {
- "description": "The licence’s name, e.g. \"CC BY-SA 4.0\". Null until it is known.",
- "type": [
- "string",
- "null"
- ]
- },
- "license_url": {
- "description": "The licence’s text.",
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "description": "Where the image came from.",
- "enum": [
- "wikimedia_commons",
- "upload"
- ],
- "type": "string"
- },
- "source_page": {
- "description": "The image’s Wikimedia Commons file page, which states its licence and author.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "source",
- "license",
- "license_name",
- "license_url",
- "freely_licensed",
- "credit",
- "source_page",
- "details_url"
- ],
- "type": "object"
- },
- "link": {
- "description": "Where the image links on the entry page instead of opening the full-screen viewer, or null.",
- "type": [
- "string",
- "null"
- ]
- },
- "main": {
- "description": "True for the lead image, false for the gallery images after it.",
- "type": "boolean"
- },
- "plate": {
- "anyOf": [
- {
- "enum": [
- "light",
- "dark",
- "none"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The plate the image is drawn on, as the entry page draws it. `light` or `dark`: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. `none`: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do."
- },
- "url": {
- "description": "The image, as a path on this site (`/img/w/480q75/<id>`).",
- "type": "string"
- },
- "width": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "The original’s width in pixels, or null when it is not known."
- },
- "zoom_max_url": {
- "description": "The widest picture this site serves of the image, no wider than the original, as a path on this site: what to load once the viewer is zoomed past twice the screen. Null when there is none wider than `zoom_url` (always for a Wikimedia Commons image), or when `zoom_url` is null.",
- "type": [
- "string",
- "null"
- ]
- },
- "zoom_url": {
- "description": "The full-screen viewer’s picture, 1600 pixels wide at most, as a path on this site (`/img/w/1600q75/<id>`): what to load when the viewer opens. Null when the image has a `link`, which opens instead.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "url",
- "main",
- "image_rights",
- "link",
- "zoom_url",
- "zoom_max_url",
- "width",
- "height",
- "plate"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "merged_into": {
- "description": "Present when the key asked for named an entry that was merged into this one: this entry’s VHID.",
- "pattern": "^\\d{11}$",
- "type": "string"
- },
- "propose_policy": {
- "description": "Who may propose a change to the entry, as its page says: `registered`, any signed-in account; `trusted` or `admin`, only accounts with that role, and the page says why; `closed`, nobody, and the entry cannot be claimed. Whether this account may edit it live is the edit context’s (`GET /api/v1/entities/{vhid}/edit-context`). A body cached before this field was added may lack it until the entry next changes.",
- "enum": [
- "registered",
- "trusted",
- "admin",
- "closed"
- ],
- "type": "string"
- },
- "rev": {
- "description": "The version of the entry this body was made from: a later change’s is a larger number. A stamp (`GET /api/v1/stamps`) that differs means the entry has changed. To read an entry past every cache (after your own change, say), ask `?v=<rev>` with the rev your change returned.",
- "pattern": "^\\d+$",
- "type": "string"
- },
- "short": {
- "description": "The entry’s short name (`/<short>`), if it has one.",
- "type": [
- "string",
- "null"
- ]
- },
- "subtitle": {
- "type": [
- "string",
- "null"
- ]
- },
- "thumb": {
- "description": "The lead image at the width a list row draws it (100 CSS pixels), as a path on the site: the width the image is really served at (200 for a Commons picture), never one that redirects. Null when there is no image.",
- "type": [
- "string",
- "null"
- ]
- },
- "thumb_plate": {
- "anyOf": [
- {
- "enum": [
- "light",
- "dark",
- "none"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The plate `thumb` is drawn on (the lead image’s `plate`), and always null when `thumb` is. `light` or `dark`: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. `none`: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do."
- },
- "title": {
- "type": "string"
- },
- "url": {
- "description": "The entry’s canonical page.",
- "type": "string"
- },
- "verified": {
- "description": "Verified Handles has verified the entry.",
- "type": "boolean"
- },
- "vhid": {
- "description": "The entry’s VHID: 11 digits, permanent.",
- "pattern": "^\\d{11}$",
- "type": "string"
- }
- },
- "required": [
- "vhid",
- "short",
- "title",
- "subtitle",
- "entity_type",
- "entity_kind",
- "verified",
- "claimed",
- "rev",
- "propose_policy",
- "description",
- "description_source",
- "description_license",
- "url",
- "image",
- "thumb",
- "thumb_plate",
- "image_rights",
- "images",
- "handles"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "description": "An entry: the same data its page shows, from the same code. Email addresses are masked. The text is CC0, except a description taken from Wikipedia (`description_license`).",
+ "properties": {
+ "claimed": {
+ "description": "The person or organisation the entry is about has claimed it. Never who.",
+ "type": "boolean"
+ },
+ "description": {
+ "description": "The description as sanitised HTML, links to other entries named as they are today.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "description_license": {
+ "anyOf": [
+ {
+ "const": "CC-BY-SA-4.0",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The description’s licence, as an SPDX id: `CC-BY-SA-4.0` when it was taken from Wikipedia (`description_source` is set), which means crediting the article and sharing alike. Null otherwise: the description is CC0 like the rest of the text."
+ },
+ "description_source": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "description": "The English Wikipedia page an entry’s description was taken from: an article, or a draft (`draft: true`).",
+ "properties": {
+ "adapted": {
+ "description": "Present and true when the text has been edited on the site since.",
+ "type": "boolean"
+ },
+ "draft": {
+ "const": true,
+ "description": "Present and true when the page is an English Wikipedia draft (the Draft namespace), not yet an article.",
+ "type": "boolean"
+ },
+ "kind": {
+ "description": "The source’s kind (`wikipedia`).",
+ "type": "string"
+ },
+ "revision": {
+ "description": "The page’s revision the text was taken from: its permalink is `https://en.wikipedia.org/w/index.php?title=<title>&oldid=<revision>`. Absent on a credit from before revisions were kept.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "title": {
+ "description": "The page’s title, underscored (`Draft:` first for a draft).",
+ "type": "string"
+ },
+ "url": {
+ "description": "The page.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "entity_kind": {
+ "anyOf": [
+ {
+ "enum": [
+ "person",
+ "musical_group",
+ "sports_organization",
+ "broadcaster",
+ "publisher",
+ "educational_institution",
+ "research_organization",
+ "religious_organization",
+ "museum",
+ "financial_institution",
+ "chain",
+ "nonprofit",
+ "company",
+ "organization",
+ "show",
+ "website",
+ "software",
+ "brand"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The finer kind of thing it is, from its Wikidata item’s classes; null when unknown (an organisation or a brand not yet read since kinds were added reads null until the sync next reads its item). Each kind belongs to one `entity_type`, and `person`, `organization` and `brand` are also the kinds of an entry of that type with no finer one. The kinds, with their type: `person` (person: person), `musical_group` (organization: musical group), `sports_organization` (organization: sports organisation), `broadcaster` (organization: broadcaster), `publisher` (organization: publisher), `educational_institution` (organization: educational institution), `research_organization` (organization: research organisation), `religious_organization` (organization: religious organisation), `museum` (organization: museum), `financial_institution` (organization: financial institution), `chain` (organization: retail or hospitality chain), `nonprofit` (organization: charity or non-profit), `company` (organization: company), `organization` (organization: organisation), `show` (brand: show), `website` (brand: website or app), `software` (brand: software), `brand` (brand: brand). New kinds may be added; treat an unknown value as its `entity_type`."
+ },
+ "entity_type": {
+ "description": "What it is, from its Wikidata item: `person`, `organization` or `brand`; null when unknown. `entity_kind` says more.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "handles": {
+ "items": {
+ "additionalProperties": {},
+ "description": "One account or identifier of an entry, in the order the entry page shows them. A Wikidata item linked to the entry comes last, as platform `wikidata`.",
+ "properties": {
+ "category": {
+ "description": "How the entry page groups it.",
+ "enum": [
+ "social",
+ "messaging",
+ "website",
+ "identifier"
+ ],
+ "type": "string"
+ },
+ "checked": {
+ "additionalProperties": {},
+ "description": "What Verified Handles’ own handle checker found when it last looked at this account, from the platform’s official API: only on YouTube (channel and handle), Deezer and GitHub, and only for a look at most 7 days old. Absent otherwise. The entry page shows it only for `dead` (“Not found when checked …”) and `renamed`.",
+ "properties": {
+ "at": {
+ "description": "When it looked (ISO 8601, UTC).",
+ "type": "string"
+ },
+ "now": {
+ "description": "For `renamed`, the name it answers to now, when the platform gave one. A YouTube handle’s is lowercase.",
+ "type": "string"
+ },
+ "verdict": {
+ "description": "`live`: the profile was there. `dead`: the platform did not find it. `renamed`: it answers under another name. `unknown`: the platform gave no answer a rule could read.",
+ "enum": [
+ "live",
+ "dead",
+ "renamed",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "verdict",
+ "at"
+ ],
+ "type": "object"
+ },
+ "display": {
+ "description": "The label the entry page shows instead of the value, if an editor set one. Null for email.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "The platform’s display name.",
+ "type": "string"
+ },
+ "platform": {
+ "description": "The platform’s id (`twitter`, `instagram`, `wikidata`, …).",
+ "type": "string"
+ },
+ "platform_first": {
+ "description": "The first of the entry’s accounts on its platform, in this order: the one an editor put first, else the one Wikidata marks preferred, else the one whose name is the entry’s, before its regional accounts. Take it as the entry’s main account there.",
+ "type": "boolean"
+ },
+ "shown_first": {
+ "description": "The entry page shows it before anyone opens anything: true for the accounts above a long list’s “Show N more accounts”, false for the ones folded under it, for the ones a platform’s own “+ N more” holds (a platform with four accounts or more shows its first), for the external identifiers (listed under their own closed heading, unless the entry has nothing else), and for an account the page does not draw.",
+ "type": "boolean"
+ },
+ "url": {
+ "description": "The profile’s address, built from the platform’s URL pattern. Null for email.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "The handle as stored (a username, an id, a URL). Null for an email address, which is never published as data.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "verified": {
+ "description": "Verified Handles has checked that this account belongs to the entry.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "platform",
+ "name",
+ "category",
+ "value",
+ "display",
+ "url",
+ "verified",
+ "shown_first",
+ "platform_first"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "image": {
+ "description": "The lead image (the same as `images[0].url`), or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "image_rights": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "description": "Who owns an image and how it may be reused. An entry’s text is CC0 (bar a description taken from Wikipedia); its images are licensed separately, by their owners.",
+ "properties": {
+ "credit": {
+ "description": "The credit line to show when reusing the image.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "details_url": {
+ "description": "The entry’s \"About this image\" page.",
+ "type": "string"
+ },
+ "freely_licensed": {
+ "description": "May be reused under a free licence. Null when no licence is recorded.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "enum": [
+ "cc0-1.0",
+ "public-domain",
+ "cc-by-4.0",
+ "cc-by-sa-4.0",
+ "supplied",
+ "permission",
+ "none"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "An upload’s licence, by id. Null for a Commons image (see `license_name`) or when none was recorded."
+ },
+ "license_name": {
+ "description": "The licence’s name, e.g. \"CC BY-SA 4.0\". Null until it is known.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "license_url": {
+ "description": "The licence’s text.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "description": "Where the image came from.",
+ "enum": [
+ "wikimedia_commons",
+ "upload"
+ ],
+ "type": "string"
+ },
+ "source_page": {
+ "description": "The image’s Wikimedia Commons file page, which states its licence and author.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "source",
+ "license",
+ "license_name",
+ "license_url",
+ "freely_licensed",
+ "credit",
+ "source_page",
+ "details_url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The lead image’s rights, or null when there is no image."
+ },
+ "images": {
+ "description": "Every image the entry shows, the lead first. Empty when it shows none.",
+ "items": {
+ "additionalProperties": {},
+ "description": "One image an entry shows.",
+ "properties": {
+ "height": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The original’s height in pixels, or null when it is not known."
+ },
+ "image_rights": {
+ "additionalProperties": {},
+ "description": "Who owns an image and how it may be reused. An entry’s text is CC0 (bar a description taken from Wikipedia); its images are licensed separately, by their owners.",
+ "properties": {
+ "credit": {
+ "description": "The credit line to show when reusing the image.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "details_url": {
+ "description": "The entry’s \"About this image\" page.",
+ "type": "string"
+ },
+ "freely_licensed": {
+ "description": "May be reused under a free licence. Null when no licence is recorded.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "license": {
+ "anyOf": [
+ {
+ "enum": [
+ "cc0-1.0",
+ "public-domain",
+ "cc-by-4.0",
+ "cc-by-sa-4.0",
+ "supplied",
+ "permission",
+ "none"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "An upload’s licence, by id. Null for a Commons image (see `license_name`) or when none was recorded."
+ },
+ "license_name": {
+ "description": "The licence’s name, e.g. \"CC BY-SA 4.0\". Null until it is known.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "license_url": {
+ "description": "The licence’s text.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "description": "Where the image came from.",
+ "enum": [
+ "wikimedia_commons",
+ "upload"
+ ],
+ "type": "string"
+ },
+ "source_page": {
+ "description": "The image’s Wikimedia Commons file page, which states its licence and author.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "source",
+ "license",
+ "license_name",
+ "license_url",
+ "freely_licensed",
+ "credit",
+ "source_page",
+ "details_url"
+ ],
+ "type": "object"
+ },
+ "link": {
+ "description": "Where the image links on the entry page instead of opening the full-screen viewer, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "main": {
+ "description": "True for the lead image, false for the gallery images after it.",
+ "type": "boolean"
+ },
+ "plate": {
+ "anyOf": [
+ {
+ "enum": [
+ "light",
+ "dark",
+ "none"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The plate the image is drawn on, as the entry page draws it. `light` or `dark`: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. `none`: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do."
+ },
+ "url": {
+ "description": "The image, as a path on this site (`/img/w/480q75/<id>`).",
+ "type": "string"
+ },
+ "width": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The original’s width in pixels, or null when it is not known."
+ },
+ "zoom_max_url": {
+ "description": "The widest picture this site serves of the image, no wider than the original, as a path on this site: what to load once the viewer is zoomed past twice the screen. Null when there is none wider than `zoom_url` (always for a Wikimedia Commons image), or when `zoom_url` is null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "zoom_url": {
+ "description": "The full-screen viewer’s picture, 1600 pixels wide at most, as a path on this site (`/img/w/1600q75/<id>`): what to load when the viewer opens. Null when the image has a `link`, which opens instead.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "url",
+ "main",
+ "image_rights",
+ "link",
+ "zoom_url",
+ "zoom_max_url",
+ "width",
+ "height",
+ "plate"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "merged_into": {
+ "description": "Present when the key asked for named an entry that was merged into this one: this entry’s VHID.",
+ "pattern": "^\\d{11}$",
+ "type": "string"
+ },
+ "native_name": {
+ "description": "The name in its own script, shown under the title (`川瀬智子`): from the Wikidata item’s name in native language when it is not the title, or as an editor gave it; null for none.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "native_name_lang": {
+ "description": "The language code of `native_name` (`ja`, `zh-hant`), as Wikidata gives it; null when none is known.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "propose_policy": {
+ "description": "Who may propose a change to the entry, as its page says: `registered`, any signed-in account; `trusted` or `admin`, only accounts with that role, and the page says why; `closed`, nobody, and the entry cannot be claimed. Whether this account may edit it live is the edit context’s (`GET /api/v1/entities/{vhid}/edit-context`). A body cached before this field was added may lack it until the entry next changes.",
+ "enum": [
+ "registered",
+ "trusted",
+ "admin",
+ "closed"
+ ],
+ "type": "string"
+ },
+ "rev": {
+ "description": "The version of the entry this body was made from: a later change’s is a larger number. A stamp (`GET /api/v1/stamps`) that differs means the entry has changed. To read an entry past every cache (after your own change, say), ask `?v=<rev>` with the rev your change returned.",
+ "pattern": "^\\d+$",
+ "type": "string"
+ },
+ "short": {
+ "description": "The entry’s short name (`/<short>`), if it has one.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "subtitle": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "thumb": {
+ "description": "The lead image at the width a list row draws it (100 CSS pixels), as a path on the site: the width the image is really served at (200 for a Commons picture), never one that redirects. Null when there is no image.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "thumb_plate": {
+ "anyOf": [
+ {
+ "enum": [
+ "light",
+ "dark",
+ "none"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The plate `thumb` is drawn on (the lead image’s `plate`), and always null when `thumb` is. `light` or `dark`: a picture with transparent pixels (a logo, most often), drawn on a plate of that colour so its ink shows in light and dark mode alike. `none`: an opaque picture (a photo), drawn as it is, with no plate. Null while the site has not yet looked at its pixels: decide from the picture itself, as the site’s pages then do."
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The entry’s canonical page.",
+ "type": "string"
+ },
+ "verified": {
+ "description": "Verified Handles has verified the entry.",
+ "type": "boolean"
+ },
+ "vhid": {
+ "description": "The entry’s VHID: 11 digits, permanent.",
+ "pattern": "^\\d{11}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "vhid",
+ "short",
+ "title",
+ "subtitle",
+ "native_name",
+ "native_name_lang",
+ "entity_type",
+ "entity_kind",
+ "verified",
+ "claimed",
+ "rev",
+ "propose_policy",
+ "description",
+ "description_source",
+ "description_license",
+ "url",
+ "image",
+ "thumb",
+ "thumb_plate",
+ "image_rights",
+ "images",
+ "handles"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]