alpha2-engine 0.10.0

Player and exporter facade for alpha2.
Documentation
1
{"$defs":{"ArtifactKind":{"oneOf":[{"const":"wasm","type":"string"},{"const":"cdylib","type":"string"},{"const":"staticlib","type":"string"}]},"AudioChannels":{"oneOf":[{"const":"mono","type":"string"},{"const":"source","type":"string"}]},"AudioFormat":{"oneOf":[{"const":"f32","type":"string"}]},"DataInterpolation":{"oneOf":[{"const":"hold","type":"string"},{"const":"linear","type":"string"}]},"DataKind":{"oneOf":[{"const":"points","type":"string"},{"const":"scalars","type":"string"},{"const":"similarity","type":"string"},{"const":"words","type":"string"},{"const":"intervals","type":"string"}]},"Descriptor":{"additionalProperties":false,"properties":{"id":{"type":"string"},"input":{"$ref":"#/$defs/InputSpec"},"outputs":{"items":{"$ref":"#/$defs/OutputSpec"},"type":"array"},"params_schema":{"default":{}},"version":{"format":"uint32","maximum":4294967295,"minimum":0,"type":"integer"}},"required":["id","version","input","outputs"],"type":"object"},"InputFrom":{"oneOf":[{"const":"source","type":"string"},{"const":"timeline","type":"string"}]},"InputSpec":{"oneOf":[{"additionalProperties":false,"properties":{"format":{"$ref":"#/$defs/VideoFormat"},"from":{"items":{"$ref":"#/$defs/InputFrom"},"type":"array"},"max_size":{"default":960,"format":"uint32","maximum":4294967295,"minimum":0,"type":"integer"},"media":{"const":"video","type":"string"}},"required":["media","from","format"],"type":"object"},{"additionalProperties":false,"properties":{"block_frames":{"default":1024,"format":"uint32","maximum":4294967295,"minimum":0,"type":"integer"},"channels":{"anyOf":[{"$ref":"#/$defs/AudioChannels"},{"type":"null"}]},"format":{"$ref":"#/$defs/AudioFormat"},"from":{"items":{"$ref":"#/$defs/InputFrom"},"type":"array"},"media":{"const":"audio","type":"string"},"sample_rate":{"format":"uint32","maximum":4294967295,"minimum":0,"type":["integer","null"]}},"required":["media","from","format"],"type":"object"}]},"OutputSpec":{"additionalProperties":false,"properties":{"channels":{"items":{"type":"string"},"type":"array"},"description":{"maxLength":400,"pattern":"^[^\\u0000-\\u001F\\u007F-\\u009F]*$","type":["string","null"]},"interpolation":{"anyOf":[{"$ref":"#/$defs/DataInterpolation"},{"type":"null"}]},"kind":{"$ref":"#/$defs/DataKind"},"label":{"maxLength":80,"minLength":1,"pattern":"^[^\\u0000-\\u001F\\u007F-\\u009F]*$","type":["string","null"]},"name":{"type":"string"},"suggest":{"anyOf":[{"$ref":"#/$defs/Suggest"},{"type":"null"}]}},"required":["name","kind"],"type":"object"},"PinnedResource":{"additionalProperties":false,"properties":{"bytes":{"format":"uint64","maximum":2147483648,"minimum":0,"type":"integer"},"name":{"minLength":1,"type":"string"},"sha256":{"pattern":"^[0-9a-f]{64}$","type":"string"},"url":{"type":"string"}},"required":["name","url","sha256","bytes"],"type":"object"},"PluginAbout":{"additionalProperties":false,"properties":{"author":{"maxLength":80,"pattern":"^[^\\u0000-\\u001F\\u007F-\\u009F]*$","type":["string","null"]},"homepage":{"maxLength":2048,"pattern":"^https://[!-~]+$","type":["string","null"]},"license":{"maxLength":256,"pattern":"^[A-Za-z0-9.+:() -]+$","type":["string","null"]},"name":{"maxLength":80,"minLength":1,"pattern":"^[^\\u0000-\\u001F\\u007F-\\u009F]*$","type":"string"},"summary":{"maxLength":400,"pattern":"^[^\\u0000-\\u001F\\u007F-\\u009F]*$","type":["string","null"]}},"required":["name"],"type":"object"},"PluginArtifact":{"additionalProperties":false,"properties":{"bytes":{"format":"uint64","maximum":268435456,"minimum":0,"type":"integer"},"sha256":{"pattern":"^[0-9a-f]{64}$","type":"string"},"target":{"type":"string"},"type":{"$ref":"#/$defs/ArtifactKind"},"url":{"type":"string"}},"required":["target","type","url","sha256","bytes"],"type":"object"},"PluginKind":{"oneOf":[{"const":"extractor","type":"string"}]},"PluginResource":{"oneOf":[{"$ref":"#/$defs/PinnedResource"},{"$ref":"#/$defs/SuppliedResource"}]},"SlotShape":{"oneOf":[{"const":"file","type":"string"},{"const":"directory","type":"string"}]},"Suggest":{"oneOf":[{"const":"bind","type":"string"},{"const":"remove_ranges","type":"string"},{"const":"split_at","type":"string"}]},"SuppliedResource":{"additionalProperties":false,"properties":{"name":{"pattern":"^[A-Za-z0-9_-][A-Za-z0-9._-]{0,63}$","type":"string"},"supplied":{"$ref":"#/$defs/SuppliedSlot"}},"required":["name","supplied"],"type":"object"},"SuppliedSlot":{"additionalProperties":false,"properties":{"accept":{"items":{"maxLength":64,"minLength":1,"type":"string"},"maxItems":16,"type":"array"},"max_bytes":{"format":"uint64","minimum":1,"type":["integer","null"]},"required":{"default":true,"type":"boolean"},"shape":{"$ref":"#/$defs/SlotShape"}},"required":["shape"],"type":"object"},"VideoFormat":{"oneOf":[{"const":"rgba8","type":"string"},{"const":"luma8","type":"string"}]}},"$id":"https://alpha2.sh/schema/plugin-manifest.v1.json","additionalProperties":false,"properties":{"abi":{"const":"alpha2-plugin/1","type":"string"},"about":{"anyOf":[{"$ref":"#/$defs/PluginAbout"},{"type":"null"}]},"artifacts":{"items":{"$ref":"#/$defs/PluginArtifact"},"minItems":1,"type":"array"},"descriptor":{"$ref":"#/$defs/Descriptor"},"id":{"type":"string"},"kind":{"$ref":"#/$defs/PluginKind"},"resources":{"items":{"$ref":"#/$defs/PluginResource"},"type":"array"},"version":{"type":"string"}},"required":["id","version","abi","kind","artifacts","descriptor"],"type":"object"}