Collection of JSON schemas and ucode template (utpl) files used by uCentral for validating the data model and rendering incoming configuration JSON into UCI batch sequences.
This software is a part of the OpenWiFi AP NOS.
In order to run the test cases you will need the following tools:
- ucode
- ucentral-jsonschema
- jsonlint-php
- pip3 install jsonschema2md
- pip3 install json-schema-for-humans
- pip3 install python-json2yaml
./run_tests.sh
JSDoc is used to generate API documentation
with a ucode transpiler (ucode-transpiler.js
), configured by jsdoc.conf.json
.
Additional JSON schema docs are generated using
json-schema-for-humans via
the script generate.sh
.
- JSDoc: https://ucentral.io/docs/
schema
object: http://ucentral.io/docs/ucentral-schema.htmlstate
object: https://ucentral.io/docs/ucentral-state.html
The following ucode scripts are installed to the AP:
schemareader.uc
- autogenerated schema readerrenderer/*
- renderer sources and templatescommand/*
- predefined command implementations, e.g. invoked by ucentral-clientsystem/*
- scripts to generate system information (e.g. state, telemetry, health, capabilities)