📄 definitions/canonical/Tag.json
D-OPEN SOVEREIGN
1{
2  "name": "Tag",
3  "typePrefix": "TG",
4  "canonical": true,
5  "uidStrategy": ["lcc", "ddc", "udc", "clc", "bbk", "tlc", "cc"],
6  "multipleInstances": false,
7  "props": [
8    { "name": "title",        "type": "string" },
9    { "name": "description",  "type": "string" },
10    { "name": "originalLang", "type": "string" },
11    { "name": "ageGradeBand", "type": "number", "bits": 8 },
12    { "name": "previewTxId",  "type": "string" },
13    { "name": "safe",         "type": "boolean" },
14    { "name": "deleted",      "type": "boolean" }
15  ],
16  "instanceFields": [],
17  "relations": [
18    { "name": "inTags", "targetType": "Tag",  "direction": "in"  },
19    { "name": "tags",   "targetType": "Tag",  "direction": "has" },
20    { "name": "books",  "targetType": "Book", "direction": "has" }
21  ]
22}
23