@oim-media/spec 1.28.0 → 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 +1 -1
- package/schema/oim.schema.json +2 -2
- package/schema/oim2.schema.json +12 -0
- package/schema/ovm.schema.json +2 -2
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
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": {
|