Schemas / Person / organisation / party
rig.person.portrait
v0.31.0 · draft 1 field 1 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
asset |
entity | required | Entity carrying rig.media.asset_ref (kind image) |
Portrait photo of a human, character, user, or contact. Format when present.
Do not put a path on this schema. File identity lives on the asset entity. Decode / GPU / thumbnails are fulfillment.
A second photo is another entity. Do not invent a gallery array here.
JSON Schema
Resolves at https://rig.works/schemas/rig.person.portrait.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.person.portrait.schema.json",
"title": "rig.person.portrait",
"type": "object",
"additionalProperties": false,
"properties": {
"asset": {
"$ref": "./_defs.schema.json#/$defs/entity"
}
},
"required": [
"asset"
],
"description": "Portrait photo. asset is a rig.media.asset_ref entity. Not an inline path."
}