{ "$id": "common", "definitions": { "mongoObjectId": { "oneOf": [ { "type": "string", "pattern": "^[0-9a-f]{24}$", "examples": [ "5c35355dbebaa82eaf8113f0" ] }, { "type": "object", "description": "ObjectId data type for MongoDB", "properties": { "id": { "instanceof": "Buffer" } }, "required": [ "id" ] } ] }, "timestamp": { "type": "string", "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}.\\d{3}Z", "examples": [ "2019-04-12T14:42:47.958Z" ], "description": "ISO 8601 formated time" }, "standardName": { "type": "string", "examples": [ "my standard name" ], "pattern": "^\\S+", "description": "The unique name of the object" }, "standardDescription": { "type": "string", "examples": [ "my standard description" ], "description": "A short description of the object" }, "policyType": { "enum": [ "acl", "firewall" ] }, "addressType": { "type": "string", "title": "addressType", "description": "The type of network", "enum": [ "IPv4", "IPv6", "Mixed" ] } } }