{ "argumentSchema": false, "pattern": "system/home-ben.tsx", "resultSchema": { "$defs": { "Favorite": { "properties": { "cell": { "properties": { "$NAME": { "type": "string" } }, "type": "object" }, "spaceName": { "type": "string" }, "tags": { "items": { "type": "string" }, "type": "array" }, "userTags": { "items": { "type": "string" }, "type": "array" } }, "required": [ "cell", "tags", "userTags" ], "type": "object" }, "JSXElement": { "anyOf": [ { "$ref": "https://commonfabric.org/schemas/vnode.json" }, { "$ref": "#/$defs/UIRenderable" }, { "properties": {}, "type": "object" } ] }, "JournalEntry": { "properties": { "eventType": { "type": "string" }, "narrative": { "type": "string" }, "narrativePending": { "type": "boolean" }, "snapshot": { "$ref": "#/$defs/JournalSnapshot" }, "space": { "type": "string" }, "subject": { "type": "unknown" }, "tags": { "items": { "type": "string" }, "type": "array" }, "timestamp": { "type": "number" } }, "type": "object" }, "JournalSnapshot": { "properties": { "name": { "type": "string" }, "schemaTag": { "type": "string" }, "valueExcerpt": { "type": "string" } }, "type": "object" }, "SpaceEntry": { "properties": { "did": { "type": "string" }, "name": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "UIRenderable": { "properties": { "$UI": { "$ref": "https://commonfabric.org/schemas/vnode.json" } }, "required": [ "$UI" ], "type": "object" } }, "properties": { "$NAME": { "enum": [ "Home" ], "type": "string" }, "$UI": { "$ref": "#/$defs/JSXElement" }, "addFavorite": { "asCell": [ "stream" ], "properties": { "piece": { "properties": { "$NAME": { "type": "string" } }, "type": "object" }, "spaceName": { "type": "string" }, "tags": { "items": { "type": "string" }, "type": "array" } }, "required": [ "piece" ], "type": "object" }, "addJournalEntry": { "asCell": [ "stream" ], "properties": { "entry": { "$ref": "#/$defs/JournalEntry" } }, "required": [ "entry" ], "type": "object" }, "defaultAppUrl": { "type": "string" }, "favorites": { "items": { "$ref": "#/$defs/Favorite" }, "type": "array" }, "journal": { "items": { "$ref": "#/$defs/JournalEntry" }, "type": "array" }, "removeFavorite": { "asCell": [ "stream" ], "properties": { "piece": { "type": "unknown" } }, "required": [ "piece" ], "type": "object" }, "spaces": { "items": { "$ref": "#/$defs/SpaceEntry" }, "type": "array" } }, "required": [ "$NAME", "$UI", "favorites", "journal", "spaces", "defaultAppUrl", "addFavorite", "removeFavorite", "addJournalEntry" ], "type": "object" } }