Files
ols-ucentral-schema/schema/ucentral.yml
Mike Hansen 0ed83ba0a5 [OLS-545] Removal of AP specific schema elements from ols-ucentral-schema
Remove the AP specific elements of the schema (configuration), and state (reporting)
Remove the ucode files that are not used
Regenerate the json and documentation files to reflect schema and state changes

Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
2025-01-09 09:51:36 -05:00

43 lines
1.2 KiB
YAML

$id: https://openwrt.org/ucentral.schema.json
$schema: http://json-schema.org/draft-07/schema#
description: OpenWrt uCentral schema
type: object
properties:
strict:
description:
The device will reject any configuration that causes warnings if strict mode is enabled.
type: boolean
default: false
uuid:
description:
The unique ID of the configuration. This is the unix timestamp of when the config was created.
type: integer
public_ip_lookup:
description:
The fqdn to retrieve public ip of internet connection.
type: string
format: uc-fqdn
unit:
$ref: "https://ucentral.io/schema/v1/unit/"
globals:
$ref: "https://ucentral.io/schema/v1/globals/"
ethernet:
type: array
items:
$ref: "https://ucentral.io/schema/v1/ethernet/"
switch:
$ref: "https://ucentral.io/schema/v1/switch/"
interfaces:
type: array
items:
$ref: "https://ucentral.io/schema/v1/interface/"
services:
$ref: "https://ucentral.io/schema/v1/service/"
metrics:
$ref: "https://ucentral.io/schema/v1/metrics/"
config-raw:
$ref: "https://ucentral.io/schema/v1/config-raw/"
third-party:
type: object
additionalProperties: true