tags Schemas

On this page:

tagDocument

{ "$id": "tagDocument", "title": "tag document", "description": "A Tag Document", "type": "object", "properties": {}, "definitions": { "tagName": { "type": "string", "examples": [ "My Tag" ] }, "tagId": { "type": "string", "examples": [ "5c8fa48dd8e04500b1b2f28c" ] }, "tagDescription": { "type": "string", "examples": [ "Descriptions can be empty" ] }, "contentRefId": { "type": "string", "examples": [ "The id of the content to be referenced" ] }, "contentRefType": { "type": "string", "examples": [ "The id of the content to be referenced" ] }, "tagObject": { "type": "object", "properties": { "_id": { "$ref": "#/definitions/tagId" }, "description": { "$ref": "#/definitions/tagDescription" }, "name": { "$ref": "#/definitions/tagName" } } }, "referenceObject": { "type": "object", "properties": { "_id": { "type": "string", "examples": [ "new created reference id" ] }, "tag_id": { "$ref": "#/definitions/tagId" }, "ref_id": { "$ref": "#/definitions/contentRefId" }, "type": { "$ref": "#/definitions/contentRefType" } } } } }