From e03dd9050559046bc8bf6a23e3ed96988d27a677 Mon Sep 17 00:00:00 2001 From: Sam Mesterton-Gibbons Date: Thu, 13 Aug 2026 15:33:12 +0000 Subject: [PATCH] Restore container property to Multi-essence Flows Fixes a regression introduced by #130 where `container`, `codec` etc. were inadvertently removed. Fixes #240 --- api/schemas/flow-multi.json | 44 ++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/api/schemas/flow-multi.json b/api/schemas/flow-multi.json index e6acd9e7..bf1730e8 100644 --- a/api/schemas/flow-multi.json +++ b/api/schemas/flow-multi.json @@ -2,28 +2,36 @@ "title": "Multi-essence Flow", "description": "Describes a multi-essence Flow", "type": "object", - "required": [ - "format" - ], - "properties": { - "format": { - "description": "The primary content type URN for the flow.", - "type": "string", - "enum": [ - "urn:x-nmos:format:multi" - ] + "allOf": [ + { + "$ref": "flow-technical.json" }, - "essence_parameters": { - "title": "Multi Flow Essence Parameters", - "description": "Describes the parameters of the essence inside this multi Flow", + { "type": "object", - "additionalProperties": false, + "required": [ + "format" + ], "properties": { - "init_segments": { - "description": "Whether the Flow makes use of initialisation segments. This parameter MUST be set to `true` if Media Objects have `init_object` populated. If set to `true`, all Media Objects MUST have `init_object` populated. Assume `false` if omitted.", - "type": "boolean" + "format": { + "description": "The primary content type URN for the flow.", + "type": "string", + "enum": [ + "urn:x-nmos:format:multi" + ] + }, + "essence_parameters": { + "title": "Multi Flow Essence Parameters", + "description": "Describes the parameters of the essence inside this multi Flow", + "type": "object", + "additionalProperties": false, + "properties": { + "init_segments": { + "description": "Whether the Flow makes use of initialisation segments. This parameter MUST be set to `true` if Media Objects have `init_object` populated. If set to `true`, all Media Objects MUST have `init_object` populated. Assume `false` if omitted.", + "type": "boolean" + } + } } } } - } + ] }