Skip to content

Instantly share code, notes, and snippets.

@vishwanatharondekar
Last active December 12, 2018 13:27
Show Gist options
  • Save vishwanatharondekar/b2c22f3a45a083dada6743a8a614de4e to your computer and use it in GitHub Desktop.
Save vishwanatharondekar/b2c22f3a45a083dada6743a8a614de4e to your computer and use it in GitHub Desktop.
{
"response": {
"2xx": {
"type": "object",
"properties": {
"statusCode": {
"type": "string"
},
"statusCodeValue": {
"type": "integer"
},
"body": {
"type": "object",
"properties": {
"results": {
"type": "object",
"properties": {
"refIdentifier": {
"type": "string"
},
"uri": {
"type": "string"
},
"pageType": {
"type": "string"
},
"responseType": {
"type": "string"
},
"trays": {
"type": "object",
"properties": {
"totalResults": {
"type": "integer"
},
"offset": {
"type": "integer"
},
"size": {
"type": "integer"
},
"nextOffsetURL": {
"type": "string"
},
"totalPages": {
"type": "integer"
},
"totalPageResults": {
"type": "integer"
},
"items": {
"type": "array",
"properties": {
"title": {
"type": "string"
},
"uri": {
"type": "string"
},
"traySource": {
"type": "string"
},
"layoutType": {
"type": "string"
},
"addIdentifier": {
"type": "string"
},
"trayTypeId": {
"type": "integer"
},
"traySourceId": {
"type": "integer"
},
"uqId": {
"type": "integer"
},
"assets": {
"type": "object",
"properties": {
"items": {
"type": "array",
"properties": {
"title": {
"type": "string"
},
"contentId": {
"type": "string"
},
"uri": {
"type": "string"
},
"description": {
"type": "string"
},
"duration": {
"type": "number"
},
"contentType": {
"type": "string"
},
"contentProvider": {
"type": "string"
},
"cpDisplayName": {
"type": "string"
},
"assetType": {
"type": "string"
},
"genre": {
"type": "array"
},
"lang": {
"type": "array"
},
"premium": {
"type": "boolean"
},
"live": {
"type": "boolean"
},
"hboContent": {
"type": "boolean"
},
"encrypted": {
"type": "boolean"
},
"startDate": {
"type": "number"
},
"endDate": {
"type": "number"
},
"line1": {
"type": "string"
},
"line2": {
"type": "string"
},
"playbackUri": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment