We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
activity
Reproduce by putting this JSON into https://validator.openactive.io/:
{ "@context": "https://openactive.io/", "url": "https://example.com/id", "id": "https://example.com/url", "@type": "SessionSeries", "activity": [ { "@type": "Concept", "id": null, "inScheme": "https://openactive.io/activity-list", "prefLabel": null } ], "organizer": { "id": "https://example.com/org-id", "@type": "Organization", "name": "Lorem Ipsum", "url": "https://example.com/org-url" }, "duration": "PT1H", "name": "Dolor sit amet", "location": { "@type": "Place", "url": "https://example.com/loc-url", "name": "consectetur adipiscing elit", "id": "https://example.com/loc-id", "address": { "@type": "PostalAddress", "addressCountry": "GB", "streetAddress": "Duis vestibulum", "addressLocality": "velit nulla", "addressRegion": "eu ornare", "postalCode": "AB1 2CD" }, "geo": { "@type": "GeoCoordinates", "latitude": 0, "longitude": 0 } }, "eventSchedule": [ { "@type": "PartialSchedule", "startDate": "2001-01-01", "endDate": "2001-01-20" } ], "offers": [ { "@type": "Offer", "price": 0, "priceCurrency": "GBP" } ] }
You'll see this error:
Internal validator error: Cannot read property 'toLowerCase' of null
This error hides the actual issue, which is that .activity[].id and .prefLabel are required
.activity[].id
.prefLabel
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduce by putting this JSON into https://validator.openactive.io/:
You'll see this error:
This error hides the actual issue, which is that
.activity[].id
and.prefLabel
are requiredThe text was updated successfully, but these errors were encountered: