{ "$id": "http://schema.soapboxapis.com/track.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "version": { "type": "string", "description": "Incremented if a change is made to track source files", "title": "version" }, "created": { "type": "number", "description": "The time when the track was created. Defined as ticks, http://datetimetoticks.com", "title": "created" }, "id": { "type": "string", "description": "A unique identifier that persists with the track object", "title": "id" }, "title": { "type": "string", "description": "The music title of the track", "title": "title" }, "volumetric": { "type": "string", "description": "The file name of the volumetric data", "title": "volumetric" }, "volumeByteSize": { "type": "string", "description": "The volumetric file size defined in byte length", "title": "volumeByteSize" }, "audio": { "type": "string", "description": "The file name of optional audio data", "title": "audio" }, "previewModel": { "type": "string", "description": "The file name of the preview model data", "title": "previewModel" }, "audioByteSize": { "type": "string", "description": "The audio file size defined in byte length", "title": "audioByteSize" }, "duration": { "type": "number", "description": "The duration of the track defined in seconds", "title": "duration" }, "framerate": { "type": "number", "description": "The frame rate of the capture defined as frames per second", "title": "framerate" }, "eRated": { "type": "boolean", "description": "A flag which defines if capture contains e-rated material (such as fuck or shit)", "title": "eRated" }, "downloadAvailable": { "type": "boolean", "description": "A flag which defines if the capture files are available to download", "title": "downloadAvailable" }, "rotationOffset": { "type": "object", "description": "An quaternion which offsets the initial rotation of an artist model", "title": "rotationOffset", "properties": { "x": { "type": "number", "title": "x" }, "y": { "type": "number", "title": "y" }, "z": { "type": "number", "title": "z" }, "w": { "type": "number", "title": "w" } } }, "attachedTrackPropName": { "type": "string", "description": "The addressable-asset's address of the Unity prefab prop or object to attach to this track. See further doc in the client side app code.", "title": "attachedTrackPropName" }, "centrePoint": { "type": "object", "description": "The center point coordinates for positioning the track in 3D space. zeros == the center of the Holosys capture stage is centered.", "title": "centrePoint", "properties": { "x": { "type": "number", "title": "x" }, "y": { "type": "number", "title": "y" }, "z": { "type": "number", "title": "z" } } }, "previewModelEtag": { "type": "string", "description": "The current etag assigned to the preview model data file", "title": "previewModelEtag" }, "tags": { "type": "array", "description": "An array of tags to categorize the track (e.g., 'educational', 'performance')", "title": "tags", "items": { "type": "string" } }, "stageOverride": { "type": "string", "description": "Optional stage override. The name of the scene in Unity, case sensitive", "title": "stageOverride" }, "regions": { "type": "array", "description": "An array of regions where the track is available (e.g., 'all')", "title": "regions", "items": { "type": "string" } }, "previewAudioClip": { "type": "string", "description": "The file name of the preview audio clip for the track. used as feature flag and holds the filename of the preview audioclip's file to pull in the track's s3 location. If present : a file with the same name is expected at track-level s3 location, if absent : no preview audio.", "title": "previewAudioClip" }, "previewAudioClipEtag": { "type": "string", "description": "Optional. Having `previewAudioClipEtag` = the `previewAudio`'s file's 128 bit md5 hash is preferred, but not mandatory. Client-side, updating the `previewAudioClipEtag` triggers a content update in the client app on home.json reload, currently only at app restart time.", "title": "previewAudioClipEtag" } }, "required": [ "version", "id", "title", "volumetric", "previewModel", "downloadAvailable", "previewModelEtag", "tags", "region" ] }