Read raw source ↗
Recipient update candidate and result schema
Schema (7 properties)
- $schema
- "https://json-schema.org/draft/2020-12/schema"
- $id
- "urn:local-media-gallery:recipient-update:0.0.0"
- title
- "Explicit recipient update candidate and results"
- x-release-version
- "0.0.0"
- $defs
$defs (5 properties)
- hash
hash (2 properties)
- type
- "string"
- pattern
- "^[a-f0-9]{64}$"
- artifact
artifact (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (3 items)
- 0
- "path"
- 1
- "bytes"
- 2
- "sha256"
- properties
properties (3 properties)
- path
path (3 properties)
- type
- "string"
- minLength
- 1
- maxLength
- 1024
- bytes
bytes (2 properties)
- type
- "string"
- pattern
- "^(0|[1-9][0-9]*)$"
- sha256
sha256 (1 property)
- $ref
- "#/$defs/hash"
- candidate
candidate (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (12 items)
- 0
- "formatVersion"
- 1
- "product"
- 2
- "version"
- 3
- "edition"
- 4
- "os"
- 5
- "arch"
- 6
- "generation"
- 7
- "source"
- 8
- "binary"
- 9
- "files"
- 10
- "native"
- 11
- "integration"
- properties
properties (12 properties)
- formatVersion
formatVersion (1 property)
- const
- 1
- product
product (1 property)
- const
- "local-media-gallery"
- version
version (2 properties)
- type
- "string"
- pattern
- "^[0-9]+\\.[0-9]+\\.[0-9]+$"
- edition
edition (1 property)
- enum
enum (2 items)
- 0
- "full"
- 1
- "lite"
- os
os (1 property)
- enum
enum (3 items)
- 0
- "windows"
- 1
- "linux"
- 2
- "macos"
- arch
arch (1 property)
- enum
enum (2 items)
- 0
- "x86_64"
- 1
- "aarch64"
- generation
generation (2 properties)
- type
- "string"
- pattern
- "^[A-Za-z0-9-]{1,128}$"
- source
source (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (2 items)
- 0
- "sha256"
- 1
- "files"
- properties
properties (2 properties)
- sha256
sha256 (1 property)
- $ref
- "#/$defs/hash"
- files
files (2 properties)
- type
- "integer"
- minimum
- 1
- binary
binary (3 properties)
- type
- "string"
- minLength
- 1
- maxLength
- 1024
- files
files (4 properties)
- type
- "array"
- minItems
- 1
- maxItems
- 8192
- items
items (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (4 items)
- 0
- "path"
- 1
- "bytes"
- 2
- "sha256"
- 3
- "mode"
- properties
properties (4 properties)
- path
path (3 properties)
- type
- "string"
- minLength
- 1
- maxLength
- 1024
- bytes
bytes (2 properties)
- type
- "string"
- pattern
- "^(0|[1-9][0-9]*)$"
- sha256
sha256 (1 property)
- $ref
- "#/$defs/hash"
- mode
mode (1 property)
- enum
enum (2 items)
- 0
- 644
- 1
- 755
- native
native (1 property)
- oneOf
oneOf (3 items)
- 0
Item 1 (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (1 item)
- 0
- "kind"
- properties
properties (1 property)
- kind
kind (1 property)
- const
- "direct"
- 1
Item 2 (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (2 items)
- 0
- "kind"
- 1
- "installer"
- properties
properties (2 properties)
- kind
kind (1 property)
- const
- "linux-deb"
- installer
installer (1 property)
- 2
Item 3 (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (5 items)
- 0
- "kind"
- 1
- "scope"
- 2
- "productCode"
- 3
- "packageCode"
- 4
- "installer"
- properties
properties (5 properties)
- kind
kind (1 property)
- const
- "windows-msi"
- scope
scope (1 property)
- enum
enum (2 items)
- 0
- "user"
- 1
- "machine"
- productCode
productCode (2 properties)
- type
- "string"
- pattern
- "^\\{[A-Fa-f0-9-]{36}\\}$"
- packageCode
packageCode (2 properties)
- type
- "string"
- pattern
- "^\\{[A-Fa-f0-9-]{36}\\}$"
- installer
installer (1 property)
- integration
integration (1 property)
- anyOf
anyOf (2 items)
- 0
Item 1 (1 property)
- type
- "null"
- 1
Item 2 (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (3 items)
- 0
- "command"
- 1
- "receipt"
- 2
- "receiptBytes"
- properties
properties (3 properties)
- command
command (1 property)
- type
- "string"
- receipt
receipt (1 property)
- type
- "string"
- receiptBytes
receiptBytes (2 properties)
- type
- "string"
- maxLength
- 4194304
- outcome
outcome (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (7 items)
- 0
- "status"
- 1
- "phase"
- 2
- "generation"
- 3
- "version"
- 4
- "directory"
- 5
- "transaction"
- 6
- "nativeProcess"
- properties
properties (7 properties)
- status
status (1 property)
- enum
enum (5 items)
- 0
- "complete"
- 1
- "already-current"
- 2
- "restored"
- 3
- "selected-present"
- 4
- "incomplete"
- phase
phase (1 property)
- enum
enum (8 items)
- 0
- "prepared"
- 1
- "applying"
- 2
- "unpacked"
- 3
- "activated"
- 4
- "committed"
- 5
- "restoring"
- 6
- "restored"
- 7
- "incomplete"
- generation
generation (1 property)
- type
- "string"
- version
version (1 property)
- type
- "string"
- directory
directory (1 property)
- type
- "string"
- transaction
transaction (1 property)
- type
- "string"
- nativeProcess
nativeProcess (1 property)
- anyOf
anyOf (2 items)
- 0
Item 1 (1 property)
- type
- "null"
- 1
Item 2 (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (2 items)
- 0
- "pid"
- 1
- "terminal"
- properties
properties (6 properties)
- pid
pid (2 properties)
- type
- "integer"
- minimum
- 1
- terminal
terminal (1 property)
- type
- "boolean"
- code
code (1 property)
- type
type (2 items)
- 0
- "integer"
- 1
- "null"
- job
job (1 property)
- type
- "string"
- clientPid
clientPid (2 properties)
- type
type (2 items)
- 0
- "integer"
- 1
- "null"
- minimum
- 1
- error
error (1 property)
- type
- "string"
- compatibility
compatibility (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (6 items)
- 0
- "product"
- 1
- "version"
- 2
- "formatVersion"
- 3
- "compatible"
- 4
- "meaning"
- 5
- "states"
- properties
properties (6 properties)
- product
product (1 property)
- const
- "local-media-gallery"
- version
version (1 property)
- const
- "0.0.0"
- formatVersion
formatVersion (1 property)
- const
- 1
- compatible
compatible (1 property)
- type
- "boolean"
- meaning
meaning (1 property)
- type
- "string"
- states
states (3 properties)
- type
- "array"
- minItems
- 1
- items
items (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (4 items)
- 0
- "kind"
- 1
- "path"
- 2
- "compatible"
- 3
- "error"
- properties
properties (4 properties)
- kind
kind (1 property)
- enum
enum (3 items)
- 0
- "settings"
- 1
- "portable"
- 2
- "history"
- path
path (4 properties)
- type
- "object"
- additionalProperties
- false
- required
required (2 items)
- 0
- "encoding"
- 1
- "bytes"
- properties
properties (2 properties)
- encoding
encoding (1 property)
- enum
enum (2 items)
- 0
- "windows-utf16le"
- 1
- "unix-bytes"
- bytes
bytes (2 properties)
- type
- "array"
- items
items (3 properties)
- type
- "integer"
- minimum
- 0
- maximum
- 255
- compatible
compatible (1 property)
- type
- "boolean"
- error
error (1 property)
- type
type (2 items)
- 0
- "string"
- 1
- "null"
- $comment
- "Runtime validation additionally binds descriptor/native metadata and actual bytes, physical ownership, path aliases, archive identity, scope and integration. Direct update.json descriptors exclude their own hash; reading them binds their exact bytes as an owned file in the retained transaction. Hash identity is independent from signing. These are supplied unpublished candidates, not release records."