{ "$id": "goldenConfigDocument", "title": "Golden Config Data", "description": "Mongo document representing mongo document", "type": "object", "properties": { "id": { "$ref": "IDType" }, "label": { "type": "string", "pattern": "[a-zA-Z]+" }, "type": { "type": "string", "enum": [ "cisco-ios", "cisco-iosxr", "junos" ] }, "workflow": { "type": "string", "pattern": "[a-zA-Z]+" }, "created_by": { "type": "string", "pattern": "[a-zA-Z]+" }, "created": { "type": "string", "enum": [ "2019-04-30T14:00:52.168Z", "2018-03-30T14:00:52.168Z", "2017-02-30T14:00:52.168Z" ] }, "last_updated_by": { "type": "string", "pattern": "[a-zA-Z]+" }, "last_updated": { "type": "string", "enum": [ "2019-04-30T14:00:52.168Z", "2018-03-30T14:00:52.168Z", "2017-02-30T14:00:52.168Z" ] }, "children": { "type": "object", "schema": { "$ref": "goldenConfigDocument" } }, "devices": { "$ref": "deviceNames" }, "rules": { "type": "object", "schema": { "$ref": "famlObject" } }, "version": { "type": "number", "examples": [ 0, 1, 2 ] } }, "required": [ "id", "label", "type", "workflow", "created_by", "created", "last_updated_by", "last_updated", "children", "devices", "rules", "version" ] }