@oim-media/spec 1.27.12 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CANONICAL_SPEC.md +2 -2
- package/package.json +3 -1
- package/schema/oim.schema.json +2 -2
- package/schema/oim2.schema.json +12 -0
- package/schema/ovm.schema.json +2 -2
- package/vectors-2/accessibility.oim.png +0 -0
- package/vectors-2/artistic-text.oim.png +0 -0
- package/vectors-2/asymmetric-borders.oim.png +0 -0
- package/vectors-2/background-pattern-order.oim.png +0 -0
- package/vectors-2/basic-text.oim.png +0 -0
- package/vectors-2/color-blending-opacity.oim.png +0 -0
- package/vectors-2/crop.oim.png +0 -0
- package/vectors-2/embedded-font-woff.oim.png +0 -0
- package/vectors-2/extreme-aspect-ratios.oim.png +0 -0
- package/vectors-2/filter-effects.oim.png +0 -0
- package/vectors-2/flip.oim.png +0 -0
- package/vectors-2/frame-shapes.oim.png +0 -0
- package/vectors-2/full-monty-composite.oim.png +0 -0
- package/vectors-2/groups-and-parallax.oim.png +0 -0
- package/vectors-2/image-fill.oim.png +0 -0
- package/vectors-2/interactive-chained-actions.oim.png +0 -0
- package/vectors-2/interactive-hover.oim.png +0 -0
- package/vectors-2/interactive.oim.png +0 -0
- package/vectors-2/layer-blur.oim.png +0 -0
- package/vectors-2/layer-grain.oim.png +0 -0
- package/vectors-2/layer-ordering-zindex.oim.png +0 -0
- package/vectors-2/legacy-text-chunk.oim.png +0 -0
- package/vectors-2/mask-window.oim.png +0 -0
- package/vectors-2/media-filters.oim.png +0 -0
- package/vectors-2/multi-container-layout.oim.png +0 -0
- package/vectors-2/multilang-cjk-rtl.oim.png +0 -0
- package/vectors-2/nested-groups.oim.png +0 -0
- package/vectors-2/palettes.oim.png +0 -0
- package/vectors-2/parallax-infinite.oim.png +0 -0
- package/vectors-2/pattern-color-roles.oim.png +0 -0
- package/vectors-2/reedit-english.oim.png +0 -0
- package/vectors-2/reveal-and-play.oim.png +0 -0
- package/vectors-2/shadow-effects.oim.png +0 -0
- package/vectors-2/shape-shadows.oim.png +0 -0
- package/vectors-2/strokes-and-borders.oim.png +0 -0
- package/vectors-2/text-runs-precalculated.oim.png +0 -0
- package/vectors-2/transparent-background.oim.png +0 -0
- package/vectors-2/typography-styling.oim.png +0 -0
- package/vectors-2/zone-group.oim.png +0 -0
package/CANONICAL_SPEC.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# OIM (Object Interactive Media) Canonical Metadata Specification
|
|
2
2
|
|
|
3
|
-
**Contract version:** 1.
|
|
3
|
+
**Contract version:** 1.29.0
|
|
4
4
|
**Date:** 2026-11-02 (reviewed against `packages/core/src/schema.ts`; the source of truth is the schema, this document summarises it)
|
|
5
5
|
**Status:** Normative / In force
|
|
6
6
|
**License:** Apache-2.0
|
|
@@ -333,7 +333,7 @@ Top-level structure carried in the `OIM_Data` payload:
|
|
|
333
333
|
|
|
334
334
|
| Key | Type | Description |
|
|
335
335
|
|---|---|---|
|
|
336
|
-
| `oim` | `string` | Format version of the document (e.g. `"1.
|
|
336
|
+
| `oim` | `string` | Format version of the document (e.g. `"1.29.0"`), the contract version the backend signs against. |
|
|
337
337
|
| `min_player` | `string` | Minimum player version required to rebuild the document (`minVersionFor`). |
|
|
338
338
|
| `oim_id` | `string` | Unique document identifier for re-editing and registry checks (max 128 chars). |
|
|
339
339
|
| `media_type` | `"image" \| "video"` | Media type of the OIM document. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oim-media/spec",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
4
4
|
"description": "OIM format contract: JSON Schema, normative specification and conformance vectors that every OIM player must pass.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oim",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"schema",
|
|
16
16
|
"vectors",
|
|
17
|
+
"vectors-2",
|
|
17
18
|
"BINARY_SPEC.md",
|
|
18
19
|
"CANONICAL_SPEC.md",
|
|
19
20
|
"README.md",
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
},
|
|
45
46
|
"scripts": {
|
|
46
47
|
"parity": "node tools/parity.mjs",
|
|
48
|
+
"parity:v2": "OIM_VECTORS=vectors-2 node tools/render-web-goldens.mjs .out/web2 --suffix '' && node tools/parity.mjs .out/web2 --renderer web",
|
|
47
49
|
"goldens": "node tools/render-web-goldens.mjs vectors/golden"
|
|
48
50
|
}
|
|
49
51
|
}
|
package/schema/oim.schema.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://oim.media/spec/1.
|
|
3
|
+
"$id": "https://oim.media/spec/1.29.0/oim.schema.json",
|
|
4
4
|
"title": "OIM document metadata",
|
|
5
|
-
"specVersion": "1.
|
|
5
|
+
"specVersion": "1.29.0",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"description": {
|
package/schema/oim2.schema.json
CHANGED
|
@@ -1608,6 +1608,18 @@
|
|
|
1608
1608
|
"modes"
|
|
1609
1609
|
],
|
|
1610
1610
|
"additionalProperties": false
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"type": "object",
|
|
1614
|
+
"properties": {
|
|
1615
|
+
"ref": {
|
|
1616
|
+
"$ref": "#/$defs/__schema28"
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
"required": [
|
|
1620
|
+
"ref"
|
|
1621
|
+
],
|
|
1622
|
+
"additionalProperties": false
|
|
1611
1623
|
}
|
|
1612
1624
|
]
|
|
1613
1625
|
},
|
package/schema/ovm.schema.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://oim.media/spec/1.
|
|
3
|
+
"$id": "https://oim.media/spec/1.29.0/ovm.schema.json",
|
|
4
4
|
"title": "OVM document metadata",
|
|
5
|
-
"specVersion": "1.
|
|
5
|
+
"specVersion": "1.29.0",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"ovm_version": {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|