app-golden_config Schemas

On this page:

complianceErrorsClassified

{ "$id": "complianceErrorsClassified", "title": "Compliance Errors", "description": "Object with all the compliance errors classified", "type": "object", "properties": { "regexErrors": { "type": "array", "items": { "$ref": "#/definitions/errorObject" } }, "regularErrors": { "type": "array", "items": { "$ref": "#/definitions/errorObject" } }, "deletionErrors": { "type": "array", "items": { "$ref": "#/definitions/errorObject" } } }, "required": [ "regexErrors", "deletionErrors", "regularErrors" ], "definitions": { "errorObject": { "type": "object", "properties": { "xpath": { "type": "string", "examples": [ "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:hostname", "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:ip/ios:default-gateway", "/ncs:devices/ncs:device[ncs:name='ios0']/ncs:config/ios:version" ] }, "value": { "oneOf": [ { "type": "string", "pattern": "[a-zA-Z]+" }, { "type": "number" }, { "type": "boolean" } ] } }, "required": [ "xpath", "value" ] } } }