summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-10 08:26:16 -0600
committermo khan <mo@mokhan.ca>2025-07-10 08:26:16 -0600
commit6ba4ec3e0b075a9d3114d82d9fe83ac37f4b9b0d (patch)
tree84ef11c12bcef8d9fbb8cb08ca8fc8eb64e1ce0e
parent539cf6a187637783ae11becfa9d7b2d5faba4c24 (diff)
docs: add an example entities.json file
-rw-r--r--share/misc/entities.json286
1 files changed, 286 insertions, 0 deletions
diff --git a/share/misc/entities.json b/share/misc/entities.json
new file mode 100644
index 00000000..8d50e674
--- /dev/null
+++ b/share/misc/entities.json
@@ -0,0 +1,286 @@
+[
+ {
+ "uid": {
+ "type": "User",
+ "id": "1"
+ },
+ "attrs": {},
+ "parents": []
+ },
+ {
+ "uid": {
+ "type": "Organization",
+ "id": "1"
+ },
+ "attrs": {
+ "name": "default"
+ },
+ "parents": []
+ },
+ {
+ "uid": {
+ "type": "Organization",
+ "id": "2"
+ },
+ "attrs": {
+ "name": "gitlab"
+ },
+ "parents": []
+ },
+ {
+ "uid": {
+ "type": "Group",
+ "id": "1"
+ },
+ "attrs": {
+ "name": "A"
+ },
+ "parents": [
+ {
+ "type": "Organization",
+ "id": "1"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Group",
+ "id": "2"
+ },
+ "attrs": {
+ "name": "B"
+ },
+ "parents": [
+ {
+ "type": "Organization",
+ "id": "1"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Group",
+ "id": "3"
+ },
+ "attrs": {
+ "name": "gitlab-org"
+ },
+ "parents": [
+ {
+ "type": "Organization",
+ "id": "2"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Group",
+ "id": "4"
+ },
+ "attrs": {
+ "name": "gitlab-com"
+ },
+ "parents": [
+ {
+ "type": "Organization",
+ "id": "2"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Group",
+ "id": "5"
+ },
+ "attrs": {
+ "name": "gl-security"
+ },
+ "parents": [
+ {
+ "type": "Organization",
+ "id": "2"
+ },
+ {
+ "type": "Group",
+ "id": "4"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Group",
+ "id": "6"
+ },
+ "attrs": {
+ "name": "test-projects"
+ },
+ "parents": [
+ {
+ "type": "Organization",
+ "id": "2"
+ },
+ {
+ "type": "Group",
+ "id": "5"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Group",
+ "id": "7"
+ },
+ "attrs": {
+ "name": "support"
+ },
+ "parents": [
+ {
+ "type": "Organization",
+ "id": "2"
+ },
+ {
+ "type": "Group",
+ "id": "4"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Group",
+ "id": "8"
+ },
+ "attrs": {
+ "name": "toolbox"
+ },
+ "parents": [
+ {
+ "type": "Organization",
+ "id": "2"
+ },
+ {
+ "type": "Group",
+ "id": "7"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Project",
+ "id": "1"
+ },
+ "attrs": {
+ "name": "A1"
+ },
+ "parents": [
+ {
+ "type": "Group",
+ "id": "1"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Project",
+ "id": "2"
+ },
+ "attrs": {
+ "name": "B1"
+ },
+ "parents": [
+ {
+ "type": "Group",
+ "id": "2"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Project",
+ "id": "3"
+ },
+ "attrs": {
+ "name": "gitlab"
+ },
+ "parents": [
+ {
+ "type": "Group",
+ "id": "3"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Project",
+ "id": "4"
+ },
+ "attrs": {
+ "name": "eicar-test-project"
+ },
+ "parents": [
+ {
+ "type": "Group",
+ "id": "6"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Project",
+ "id": "5"
+ },
+ "attrs": {
+ "name": "disclosures"
+ },
+ "parents": [
+ {
+ "type": "Group",
+ "id": "5"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Project",
+ "id": "6"
+ },
+ "attrs": {
+ "name": "changelog-parser"
+ },
+ "parents": [
+ {
+ "type": "Group",
+ "id": "8"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Project",
+ "id": "7"
+ },
+ "attrs": {
+ "name": "handbook"
+ },
+ "parents": [
+ {
+ "type": "Group",
+ "id": "4"
+ }
+ ]
+ },
+ {
+ "uid": {
+ "type": "Project",
+ "id": "8"
+ },
+ "attrs": {
+ "name": "www-gitlab-com"
+ },
+ "parents": [
+ {
+ "type": "Group",
+ "id": "4"
+ }
+ ]
+ }
+]