Skip to content
Skip to Content
Documentation

Archive documentation for v0.1.0. Read the current release guide.

Read raw source ↗

Canonical release and publication schema

Schema (8 properties)
$schema
"https://json-schema.org/draft/2020-12/schema"
$id
"https://localmedia.gallery/schemas/v0.1.0/release-record.schema.json"
x-release-version
"0.1.0"
title
"Canonical release candidate and published record"
type
"object"
additionalProperties
false
properties
properties (13 properties)
formatVersion
formatVersion (1 property)
const
1
product
product (1 property)
const
"local-media-gallery"
state
state (1 property)
enum
enum (3 items)
0
"candidate"
1
"staged"
2
"published"
repository
repository (2 properties)
type
"string"
pattern
"^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
version
version (3 properties)
type
"string"
pattern
"^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
maxLength
64
previousVersion
previousVersion (1 property)
anyOf
anyOf (2 items)
0
Item 1 (3 properties)
type
"string"
pattern
"^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
maxLength
64
1
Item 2 (1 property)
type
"null"
source
source (4 properties)
type
"object"
additionalProperties
false
properties
properties (3 properties)
revision
revision (2 properties)
type
"string"
pattern
"^[a-f0-9]{40}$"
sha256
sha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
files
files (2 properties)
type
"integer"
minimum
1
required
required (3 items)
0
"revision"
1
"sha256"
2
"files"
artifacts
artifacts (3 properties)
type
"array"
items
items (4 properties)
type
"object"
additionalProperties
false
properties
properties (14 properties)
name
name (2 properties)
type
"string"
pattern
"^[A-Za-z0-9][A-Za-z0-9._-]{0,180}$"
role
role (1 property)
enum
enum (4 items)
0
"package"
1
"update-descriptor"
2
"documentation"
3
"qualification"
edition
edition (1 property)
enum
enum (3 items)
0
"full"
1
"lite"
2
null
platform
platform (1 property)
enum
enum (4 items)
0
"windows"
1
"linux"
2
"macos"
3
null
architecture
architecture (1 property)
enum
enum (3 items)
0
"x86_64"
1
"aarch64"
2
null
format
format (1 property)
enum
enum (5 items)
0
"zip"
1
"dmg"
2
"deb"
3
"tar.gz"
4
"json"
bytes
bytes (3 properties)
type
"string"
pattern
"^(0|[1-9][0-9]*)$"
maxLength
20
sha256
sha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
url
url (2 properties)
type
"string"
maxLength
2048
prerequisites
prerequisites (2 properties)
type
"array"
items
items (1 property)
type
"string"
optionalTools
optionalTools (2 properties)
type
"array"
items
items (1 property)
type
"string"
inventory
inventory (4 properties)
type
"object"
additionalProperties
false
properties
properties (3 properties)
sha256
sha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
files
files (2 properties)
type
"integer"
minimum
1
bytes
bytes (3 properties)
type
"string"
pattern
"^(0|[1-9][0-9]*)$"
maxLength
20
required
required (3 items)
0
"sha256"
1
"files"
2
"bytes"
evidence
evidence (4 properties)
type
"object"
additionalProperties
false
properties
properties (2 properties)
scope
scope (1 property)
type
"string"
sha256
sha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
required
required (2 items)
0
"scope"
1
"sha256"
forArtifact
forArtifact (2 properties)
type
"string"
pattern
"^[A-Za-z0-9][A-Za-z0-9._-]{0,180}$"
required
required (13 items)
0
"name"
1
"role"
2
"edition"
3
"platform"
4
"architecture"
5
"format"
6
"bytes"
7
"sha256"
8
"url"
9
"prerequisites"
10
"optionalTools"
11
"inventory"
12
"evidence"
minItems
6
documentation
documentation (4 properties)
type
"object"
additionalProperties
false
properties
properties (5 properties)
version
version (1 property)
type
"string"
snapshotSha256
snapshotSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
retainedSha256
retainedSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
schemaSha256
schemaSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
reviewSha256
reviewSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
required
required (5 items)
0
"version"
1
"snapshotSha256"
2
"retainedSha256"
3
"schemaSha256"
4
"reviewSha256"
qualification
qualification (4 properties)
type
"object"
additionalProperties
false
properties
properties (3 properties)
mode
mode (1 property)
enum
enum (2 items)
0
"native"
1
"fixture"
runId
runId (3 properties)
type
"string"
pattern
"^[1-9][0-9]*$"
maxLength
20
scopes
scopes (2 properties)
type
"array"
items
items (4 properties)
type
"object"
additionalProperties
false
properties
properties (6 properties)
scope
scope (1 property)
type
"string"
sha256
sha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
result
result (1 property)
const
"pass"
preparationSeconds
preparationSeconds (2 properties)
type
"number"
minimum
0
qualificationSeconds
qualificationSeconds (3 properties)
type
"number"
minimum
0
exclusiveMaximum
885
combinedSeconds
combinedSeconds (2 properties)
type
"number"
minimum
0
required
required (6 items)
0
"scope"
1
"sha256"
2
"result"
3
"preparationSeconds"
4
"qualificationSeconds"
5
"combinedSeconds"
required
required (3 items)
0
"mode"
1
"runId"
2
"scopes"
candidateId
candidateId (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
gates
gates (4 properties)
type
"object"
additionalProperties
false
properties
properties (2 properties)
before
before (1 property)
anyOf
anyOf (2 items)
0
Item 1 (4 properties)
type
"object"
additionalProperties
false
properties
properties (11 properties)
phase
phase (1 property)
enum
enum (2 items)
0
"candidate"
1
"publication"
result
result (1 property)
const
"pass"
candidateId
candidateId (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
sourceRevision
sourceRevision (2 properties)
type
"string"
pattern
"^[a-f0-9]{40}$"
sourceSha256
sourceSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
snapshotsSha256
snapshotsSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
rendererSha256
rendererSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
projectionSha256
projectionSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
publicationSha256
publicationSha256 (1 property)
anyOf
anyOf (2 items)
0
Item 1 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
1
Item 2 (1 property)
type
"null"
checkedAt
checkedAt (2 properties)
type
"string"
format
"date-time"
checks
checks (2 properties)
type
"array"
items
items (4 properties)
type
"object"
additionalProperties
false
properties
properties (2 properties)
name
name (1 property)
type
"string"
result
result (1 property)
const
"pass"
required
required (2 items)
0
"name"
1
"result"
required
required (11 items)
0
"phase"
1
"result"
2
"candidateId"
3
"sourceRevision"
4
"sourceSha256"
5
"snapshotsSha256"
6
"rendererSha256"
7
"projectionSha256"
8
"publicationSha256"
9
"checkedAt"
10
"checks"
1
Item 2 (1 property)
type
"null"
after
after (1 property)
anyOf
anyOf (2 items)
0
Item 1 (4 properties)
type
"object"
additionalProperties
false
properties
properties (11 properties)
phase
phase (1 property)
enum
enum (2 items)
0
"candidate"
1
"publication"
result
result (1 property)
const
"pass"
candidateId
candidateId (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
sourceRevision
sourceRevision (2 properties)
type
"string"
pattern
"^[a-f0-9]{40}$"
sourceSha256
sourceSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
snapshotsSha256
snapshotsSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
rendererSha256
rendererSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
projectionSha256
projectionSha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
publicationSha256
publicationSha256 (1 property)
anyOf
anyOf (2 items)
0
Item 1 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
1
Item 2 (1 property)
type
"null"
checkedAt
checkedAt (2 properties)
type
"string"
format
"date-time"
checks
checks (2 properties)
type
"array"
items
items (4 properties)
type
"object"
additionalProperties
false
properties
properties (2 properties)
name
name (1 property)
type
"string"
result
result (1 property)
const
"pass"
required
required (2 items)
0
"name"
1
"result"
required
required (11 items)
0
"phase"
1
"result"
2
"candidateId"
3
"sourceRevision"
4
"sourceSha256"
5
"snapshotsSha256"
6
"rendererSha256"
7
"projectionSha256"
8
"publicationSha256"
9
"checkedAt"
10
"checks"
1
Item 2 (1 property)
type
"null"
required
required (2 items)
0
"before"
1
"after"
publication
publication (1 property)
anyOf
anyOf (2 items)
0
Item 1 (4 properties)
type
"object"
additionalProperties
false
properties
properties (7 properties)
repository
repository (1 property)
type
"string"
id
id (3 properties)
type
"integer"
minimum
1
maximum
9007199254740991
tag
tag (1 property)
type
"string"
sourceRevision
sourceRevision (2 properties)
type
"string"
pattern
"^[a-f0-9]{40}$"
htmlUrl
htmlUrl (2 properties)
type
"string"
maxLength
2048
publishedAt
publishedAt (2 properties)
type
"string"
format
"date-time"
assets
assets (2 properties)
type
"array"
items
items (4 properties)
type
"object"
additionalProperties
false
properties
properties (5 properties)
name
name (2 properties)
type
"string"
pattern
"^[A-Za-z0-9][A-Za-z0-9._-]{0,180}$"
id
id (3 properties)
type
"integer"
minimum
1
maximum
9007199254740991
bytes
bytes (3 properties)
type
"string"
pattern
"^(0|[1-9][0-9]*)$"
maxLength
20
sha256
sha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
url
url (2 properties)
type
"string"
maxLength
2048
required
required (5 items)
0
"name"
1
"id"
2
"bytes"
3
"sha256"
4
"url"
required
required (7 items)
0
"repository"
1
"id"
2
"tag"
3
"sourceRevision"
4
"htmlUrl"
5
"publishedAt"
6
"assets"
1
Item 2 (1 property)
type
"null"
required
required (13 items)
0
"formatVersion"
1
"product"
2
"state"
3
"repository"
4
"version"
5
"previousVersion"
6
"source"
7
"artifacts"
8
"documentation"
9
"qualification"
10
"candidateId"
11
"gates"
12
"publication"

Search documentation