Skip to content
Skip to Content
Documentation

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

Read raw source ↗

Application JSON Schema

Version v0.4.5. Application contracts do not constrain external sidecars.

Schema (10 properties)
$schema
"https://json-schema.org/draft/2020-12/schema"
$id
"urn:local-media-gallery:0.4.5"
title
"Local Media Gallery portable build manifest"
x-release-version
"0.4.5"
type
"object"
additionalProperties
false
required
required (5 items)
0
"version"
1
"revision"
2
"target"
3
"executable"
4
"sha256"
properties
properties (5 properties)
version
version (1 property)
const
"0.4.5"
revision
revision (2 properties)
type
"string"
pattern
"^[a-f0-9]{40}(-dirty)?$"
target
target (1 property)
enum
enum (2 items)
0
"windows-x64"
1
"linux-x64"
executable
executable (1 property)
enum
enum (2 items)
0
"LocalMediaGallery.exe"
1
"LocalMediaGallery"
sha256
sha256 (2 properties)
type
"string"
pattern
"^[a-f0-9]{64}$"
allOf
allOf (1 item)
0
Item 1 (3 properties)
if
if (2 properties)
properties
properties (1 property)
target
target (1 property)
const
"windows-x64"
required
required (1 item)
0
"target"
then
then (1 property)
properties
properties (1 property)
executable
executable (1 property)
const
"LocalMediaGallery.exe"
else
else (1 property)
properties
properties (1 property)
executable
executable (1 property)
const
"LocalMediaGallery"
$defs
$defs (5 properties)
preferences
preferences (4 properties)
type
"object"
additionalProperties
false
required
required (13 items)
0
"view"
1
"gridSize"
2
"tileColumns"
3
"listSize"
4
"sortKey"
5
"sortDir"
6
"kind"
7
"theme"
8
"showNames"
9
"fit"
10
"stretchToFill"
11
"repeatShortVideos"
12
"displayAnimatedImages"
properties
properties (13 properties)
view
view (1 property)
enum
enum (3 items)
0
"grid"
1
"tiled"
2
"list"
gridSize
gridSize (3 properties)
type
"integer"
minimum
100
maximum
400
tileColumns
tileColumns (3 properties)
type
"integer"
minimum
0
maximum
10
listSize
listSize (3 properties)
type
"integer"
minimum
40
maximum
120
sortKey
sortKey (1 property)
enum
enum (5 items)
0
"name"
1
"date"
2
"size"
3
"type"
4
"path"
sortDir
sortDir (1 property)
enum
enum (2 items)
0
"asc"
1
"desc"
kind
kind (1 property)
enum
enum (4 items)
0
"all"
1
"image"
2
"video"
3
"favorites"
theme
theme (1 property)
enum
enum (3 items)
0
"system"
1
"light"
2
"dark"
showNames
showNames (1 property)
type
"boolean"
fit
fit (1 property)
enum
enum (2 items)
0
"cover"
1
"contain"
stretchToFill
stretchToFill (1 property)
type
"boolean"
repeatShortVideos
repeatShortVideos (1 property)
type
"boolean"
displayAnimatedImages
displayAnimatedImages (2 properties)
type
"boolean"
default
true
galleryState
galleryState (4 properties)
type
"object"
additionalProperties
false
required
required (4 items)
0
"generation"
1
"root"
2
"config"
3
"scan"
properties
properties (5 properties)
generation
generation (1 property)
type
"string"
root
root (1 property)
type
"string"
config
config (1 property)
scan
scan (1 property)
assets
assets (2 properties)
type
"array"
items
items (1 property)
scan
scan (4 properties)
type
"object"
additionalProperties
false
required
required (2 items)
0
"phase"
1
"found"
properties
properties (3 properties)
phase
phase (1 property)
type
"string"
found
found (2 properties)
type
"integer"
minimum
0
error
error (1 property)
type
"string"
asset
asset (4 properties)
type
"object"
additionalProperties
false
required
required (7 items)
0
"id"
1
"path"
2
"kind"
3
"size"
4
"mtime"
5
"revision"
6
"fav"
properties
properties (7 properties)
id
id (2 properties)
type
"string"
minLength
1
path
path (2 properties)
type
"string"
minLength
1
kind
kind (1 property)
type
"integer"
size
size (2 properties)
type
"integer"
minimum
0
mtime
mtime (1 property)
type
"integer"
revision
revision (2 properties)
type
"string"
minLength
1
fav
fav (1 property)
type
"boolean"
platformMatrix
platformMatrix (4 properties)
type
"object"
additionalProperties
false
required
required (2 items)
0
"version"
1
"targets"
properties
properties (2 properties)
version
version (1 property)
const
"0.4.5"
targets
targets (4 properties)
type
"array"
minItems
2
maxItems
2
items
items (4 properties)
type
"object"
additionalProperties
false
required
required (7 items)
0
"target"
1
"platform"
2
"architecture"
3
"archive"
4
"executable"
5
"supportedHost"
6
"browser"
properties
properties (7 properties)
target
target (1 property)
enum
enum (2 items)
0
"windows-x64"
1
"linux-x64"
platform
platform (1 property)
enum
enum (2 items)
0
"windows"
1
"linux"
architecture
architecture (1 property)
const
"x86_64"
archive
archive (1 property)
enum
enum (2 items)
0
"zip"
1
"tar.gz"
executable
executable (1 property)
enum
enum (2 items)
0
"LocalMediaGallery.exe"
1
"LocalMediaGallery"
browser
browser (2 properties)
type
"string"
minLength
1
supportedHost
supportedHost (2 properties)
type
"string"
minLength
1

Search documentation