This repository has been archived on 2025-06-27. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
ludusavi-manifest/data/schema.strict.yaml
2020-07-06 14:11:04 -04:00

73 lines
1.3 KiB
YAML

definitions:
FileConstraint:
type: object
properties:
os:
$ref: "#/definitions/Os"
store:
$ref: "#/definitions/Store"
RegistryConstraint:
type: object
properties:
store:
$ref: "#/definitions/Store"
Os:
type: string
enum:
- dos
- linux
- mac
- windows
Store:
type: string
enum:
- discord
- epic
- gog
- microsoft
- origin
- steam
- uplay
Tag:
type: string
enum:
- config
- save
type: object
additionalProperties:
type: object
properties:
files:
type: object
additionalProperties:
type: object
properties:
tags:
type: array
items:
$ref: "#/definitions/Tag"
when:
type: array
items:
$ref: "#/definitions/FileConstraint"
installDir:
type: object
registry:
type: object
additionalProperties:
type: object
properties:
tags:
type: array
items:
$ref: "#/definitions/Tag"
when:
type: array
items:
$ref: "#/definitions/RegistryConstraint"
steam:
type: object
properties:
id:
type: integer