Jump to content
Sign in to follow this  
justin nelson

Why do the SMD and Schema files not valid JSON?

Recommended Posts

I’m trying to use the JSON files located at:

https://ciapipreprod.cityindextest9.co.uk/CIAPI.docs.Content/metadata/smd.js

and

https://ciapipreprod.cityindextest9.co.uk/CIAPI.docs.Content/metadata/schema.js

But they start with:

var ciConfig = ciConfig || {}; ciConfig.smd = {

Are these files supposed to be valid JSON? If not, where can I find the valid JSON ones?

Share this post


Link to post
Guest sky.sanders

there are live meta generation endpoints that are not exposed publicly at the moment but the intention is/was to serve the meta from two virtual endpoints:

xxx/smd and xxx/schema for JSON and xxx/smd.js and xxx/schema.js for javascript apps that do not want to load the meta async.

we will fold the raw json files into the next deployment of the docs.

thanks for the heads up.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×