{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://bluejettyai.com/schemas/v0.1/delivery.schema.json","title":"App Index Delivery 0.1","oneOf":[{"$ref":"#/$defs/snapshotBatch"},{"$ref":"#/$defs/incrementalBatch"}],"$defs":{"snapshotBatch":{"type":"object","required":["specVersion","mode","snapshotId","generatedAt","records"],"properties":{"$schema":{"type":"string","format":"uri"},"specVersion":{"const":"0.1"},"mode":{"const":"snapshot"},"snapshotId":{"type":"string","minLength":1,"maxLength":256},"generatedAt":{"type":"string","format":"date-time"},"records":{"type":"array","items":{"$ref":"https://bluejettyai.com/schemas/v0.1/entity.schema.json"}}},"additionalProperties":false},"incrementalBatch":{"type":"object","required":["specVersion","mode","cursor","generatedAt","events"],"properties":{"$schema":{"type":"string","format":"uri"},"specVersion":{"const":"0.1"},"mode":{"const":"incremental"},"cursor":{"type":"string","minLength":1,"maxLength":256},"previousCursor":{"type":"string","minLength":1,"maxLength":256},"generatedAt":{"type":"string","format":"date-time"},"events":{"type":"array","items":{"$ref":"https://bluejettyai.com/schemas/v0.1/event.schema.json"}}},"additionalProperties":false}}}