{ "lexicon": 1, "id": "sh.tangled.ci.event", "needsCbor": true, "needsType": true, "defs": { "main": { "type": "object", "required": [ "meta" ], "properties": { "meta": { "type": "union", "refs": [ "#pullRequest", "#push", "#manual" ] } } }, "pullRequest": { "type": "object", "required": [], "properties": {} }, "push": { "type": "object", "required": [ "ref", "oldSha", "newSha" ], "properties": { "ref": { "type": "string" }, "oldSha": { "type": "string", "minLength": 40, "maxLength": 40 }, "newSha": { "type": "string", "minLength": 40, "maxLength": 40 } } }, "manual": { "type": "object", "required": [], "properties": {} } } }