{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://the-results-library.hardcode-studios.com/api/v1/schema/record.json","title":"The Results Library record","type":"object","required":["id","slug","title","summary","library","relationship_type","relationship","input","output","licence","origin_type"],"properties":{"id":{"type":"integer"},"slug":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"library":{"type":"string","enum":["learning","general"]},"relationship_type":{"type":"string","enum":["transforms","produces","causes","solves","answers","explains","demonstrates","reveals","other"]},"relationship":{"type":"string"},"input":{"type":"object","required":["blocks"],"properties":{"blocks":{"type":"array","items":{"type":"object","required":["type","width","data"],"properties":{"type":{"type":"string","enum":["text","colour","image","embed","link","quantity","variable","codec"]},"width":{"type":"string","enum":["full","half","third","two_thirds"]},"data":{"type":"object"}}}}}},"output":{"type":"object","required":["blocks"],"properties":{"blocks":{"type":"array","items":{"type":"object","required":["type","width","data"],"properties":{"type":{"type":"string","enum":["text","colour","image","embed","link","quantity","variable","codec"]},"width":{"type":"string","enum":["full","half","third","two_thirds"]},"data":{"type":"object"}}}}}},"block_types":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}}}},"topics":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}}}},"sources":{"type":"array"},"creator_profile":{"type":"object"},"revision":{"type":"integer"},"licence":{"type":"string"},"rights":{"type":"object"},"origin_type":{"type":"string","enum":["community","imported","generated"]},"is_example":{"type":"boolean"},"provenance":{"type":["object","null"]},"published_at":{"type":["string","null"]},"updated_at":{"type":"string"}}}