Skip to content

Commit 1f0e0a4

Browse files
committed
fix: make manifest property "main" required, to match specification.md. resolves #2
1 parent ac1ae73 commit 1f0e0a4

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

v1-draft-0/examples/l3rd-name/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Name lower third",
55
"id": "l3rd-name",
66
"version": "0",
7+
"main": "graphic.mjs",
78
"author": {
89
"name": "Johan Nyman, SuperFly.tv"
910
},
@@ -32,6 +33,5 @@
3233
}
3334
}
3435
},
35-
"asd": 123,
3636
"v_myLittleNote": "Vendor-specific properties can be added using the 'v_' prefix, like this!"
3737
}

v1-draft-0/examples/minimal/manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"name": "Minimal Test Graphic",
44
"description": "This Graphic includes the bare minimum required to be a valid OGraf Graphic. It displays a 'Hello World!' message.",
55
"id": "minimal-example",
6+
"main": "graphic.mjs",
67
"supportsRealTime": true,
78
"supportsNonRealTime": false
89
}

v1-draft-0/examples/ograf-logo/manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"name": "Minimal Test Graphics",
44
"description": "This Graphic shows an OGraf logo",
55
"id": "minimal-logo",
6+
"main": "graphic.mjs",
67
"supportsRealTime": true,
78
"supportsNonRealTime": false,
89
"author": {

v1-draft-0/specification/json-schemas/graphics/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"$schema",
8484
"id",
8585
"name",
86+
"main",
8687
"supportsRealTime",
8788
"supportsNonRealTime"
8889
],

0 commit comments

Comments
 (0)