UNPKG

@openactive/data-models

Version:

Data models used to drive that OpenActive validator, developer documentation, and model libraries

39 lines 1.1 kB
{ "@context": "https://openactive.io/", "@type": "OrderQuote", "brokerRole": "https://openactive.io/AgentBroker", "broker": { "@type": "Organization", "name": "MyFitnessApp", "url": "https://myfitnessapp.example.com", "description": "A fitness app for all the community", "logo": { "@type": "ImageObject", "url": "http://data.myfitnessapp.org.uk/images/logo.png" }, "address": { "@type": "PostalAddress", "streetAddress": "Alan Peacock Way", "addressLocality": "Village East", "addressRegion": "Middlesbrough", "postalCode": "TS4 3AE", "addressCountry": "GB" } }, "seller": "https://example.com/api/organisations/123", "customer": { "@type": "Person", "email": "geoffcapes@example.com", "telephone": "020 811 8055", "givenName": "Geoff", "familyName": "Capes" }, "orderedItem": [ { "@type": "OrderItem", "position": 0, "acceptedOffer": "https://example.com/events/452#/offers/878", "orderedItem": "https://example.com/events/452/subEvents/132" } ] }