86f66e8f16
- these are vaguely derived from the schema's written by artoo@manjaro.org, but totally re-done for JSON-Schema
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
---
|
|
$schema: https://json-schema.org/schema#
|
|
$id: https://calamares.io/schemas/locale
|
|
additionalProperties: false
|
|
type: object
|
|
properties:
|
|
region: { type: string,
|
|
enum: [
|
|
Africa,
|
|
America,
|
|
Antarctica,
|
|
Arctic,
|
|
Asia,
|
|
Atlantic,
|
|
Australia,
|
|
Europe,
|
|
Indian,
|
|
Pacific
|
|
]
|
|
}
|
|
zone: { type: string }
|
|
useSystemTimezone: { type: boolean, default: false }
|
|
|
|
adjustLiveTimezone: { type: boolean, default: true }
|
|
|
|
localeGenPath: { type: string }
|
|
|
|
# TODO: refactor, this is reused in welcome
|
|
geoip:
|
|
additionalProperties: false
|
|
type: object
|
|
properties:
|
|
style: { type: string, enum: [ none, fixed, xml, json ] }
|
|
url: { type: string }
|
|
selector: { type: string }
|
|
required: [ style, url, selector ]
|
|
|
|
required: [ region, zone ]
|