$id: https://openwrt.org/ucentral.state.json $schema: http://json-schema.org/draft-07/schema# description: OpenWrt uCentral state schema type: object properties: version: type: number const: 1 uuid: description: The unique ID of the configuration. This is the unix timestamp of when the config was created. type: integer serial: description: The unique serial number of the device. type: string unit: $ref: "https://ucentral.io/state/v1/unit/" gps: $ref: "https://ucentral.io/state/v1/gps/" radios: $ref: "https://ucentral.io/state/v1/radio/" interfaces: $ref: "https://ucentral.io/state/v1/interface/" lldp-peers: type: object properties: upstream: type: object patternProperties: "^(eth|lan|wan)[0-9]*$": $ref: "https://ucentral.io/state/v1/lldp-peers/" downstream: type: object patternProperties: "^(eth|lan|wan)[0-9]*$": $ref: "https://ucentral.io/state/v1/lldp-peers/" dynamic_vlans: type: array items: $ref: "https://ucentral.io/state/v1/dynamic-vlan/" link-state: type: object properties: upstream: type: object patternProperties: "^(eth|lan|wan)[0-9]*$": $ref: "https://ucentral.io/state/v1/link-state/" downstream: type: object patternProperties: "^(eth|lan|wan)[0-9]*$": $ref: "https://ucentral.io/state/v1/link-state/"