pronghorn-core Schemas

On this page:

links-schema

{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "links-schema", "type": "object", "title": "Itential External Link Schema", "description": "This is the schema for an IAP external link stored in Mongo", "properties": { "name": { "type": "string", "minLength": 1, "pattern": "^(?![\\s.]+$)[a-zA-Z\\s.]*$", "examples": [ "Google" ] }, "address": { "type": "string", "minLength": 1, "pattern": "^(?![\\s.]+$)[a-zA-Z\\s.]*$", "examples": [ "https://www.google.com/" ] }, "description": { "type": "string", "examples": [ "A link to Google" ] }, "_meta": { "type": "object", "properties": { "created": { "type": "string", "examples": [ "2018-08-02T15:56:12.912Z" ] }, "updated": { "type": "string", "examples": [ "2018-08-02T15:56:12.912Z" ] } } } }, "required": [ "name", "address" ], "additionalProperties": false }