@oim-media/spec 1.36.1 → 1.36.3

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > This document describes **1.x** (legacy, no longer painted by readers). The current format is OIM 2.0: see [CANONICAL_SPEC_2.md](CANONICAL_SPEC_2.md).
4
4
 
5
- **Contract version:** 1.36.1
5
+ **Contract version:** 1.36.3
6
6
  **Date:** 2026-11-02 (reviewed against `packages/core/src/schema.ts`; the source of truth is the schema, this document summarises it)
7
7
  **Status:** Normative / In force
8
8
  **License:** Apache-2.0
@@ -6,7 +6,7 @@ SPDX-License-Identifier: Apache-2.0
6
6
  # OIM 2.0 Canonical Specification
7
7
 
8
8
  **Document version emitted by the reference writer:** `2.0.0` (`DOCUMENT_VERSION` in `@oim-media/core/v2`)
9
- **Contract release this text was checked against:** 1.35.2
9
+ **Contract release this text was checked against:** 1.36.3
10
10
  **Status:** Normative
11
11
  **License:** Apache-2.0
12
12
  **Authority:** Xue Studios LLC
@@ -291,7 +291,7 @@ it draws as an SVG outline (a preset, a line, an ellipse, a single path); a plai
291
291
  | `rect`, `ellipse`, `line` | none |
292
292
  | `polygon` | `sides`: integer 3..64. |
293
293
  | `star` | `points`: integer 3..64; `inner`: 0..1. |
294
- | `preset` | `name` (1..64): a catalogue shape: `triangle`, `star`, `arrow`, `diamond`, `hexagon`, `circle`, `heart`, `line`, `blob`, `scribble`, `pill`, `octagon`, `pentagon`, `cross`, `moon`, `cloud`, `drop`, `bolt`, `bubble`, `flower`, `burst`, `arch`. |
294
+ | `preset` | `name` (1..64): a catalogue shape: `triangle`, `star`, `arrow`, `diamond`, `hexagon`, `circle`, `heart`, `line`, `blob`, `scribble`, `pill`, `octagon`, `pentagon`, `cross`, `moon`, `cloud`, `drop`, `bolt`, `bubble`, `flower`, `burst`, `arch`. A preset fills its box, drawn in the box's own pixels: `arch`, `pill`, `bubble` and `circle` keep round curves at any aspect ratio; every other preset is its drawing scaled to span the box. With a centred colour stroke, the preset is drawn half the stroke width inside every edge, so the stroke stays in the box. |
295
295
  | `paths` | `viewBox`: 4 numbers; `paths`: 1..2000 entries `{ d (required), fillRule ("evenodd"), fill (≤128), stroke (≤128), strokeWidth ≥0, cap (round \| square), join (round \| bevel), opacity 0..1, transform (6 numbers) }`. The drawing is scaled from its `viewBox` into the box. |
296
296
 
297
297
  `corners` (on `shape` and `image`) is a number ≥0 (all corners) or an array of exactly 4 numbers ≥0.
@@ -776,7 +776,7 @@ A writer is checked by validating its documents against `schema/oim2.schema.json
776
776
 
777
777
  ## 11. Appendix D: what the schema allows and the reference painter does not draw
778
778
 
779
- Checked against the working tree that follows release 1.35.2. A reader that does not draw one of these is still
779
+ Checked against the working tree that follows release 1.36.3. A reader that does not draw one of these is still
780
780
  conforming to the schema; a writer SHOULD NOT rely on them being painted.
781
781
 
782
782
  - A gradient paint with `preset` and no `gradient`: the reference painter reads the preset only for an artistic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oim-media/spec",
3
- "version": "1.36.1",
3
+ "version": "1.36.3",
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",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://oim.media/spec/1.36.1/oim.schema.json",
3
+ "$id": "https://oim.media/spec/1.36.3/oim.schema.json",
4
4
  "title": "OIM document metadata",
5
- "specVersion": "1.36.1",
5
+ "specVersion": "1.36.3",
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "description": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://oim.media/spec/1.36.1/ovm.schema.json",
3
+ "$id": "https://oim.media/spec/1.36.3/ovm.schema.json",
4
4
  "title": "OVM document metadata",
5
- "specVersion": "1.36.1",
5
+ "specVersion": "1.36.3",
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "ovm_version": {