"LocationList": {
"type": "object",
"description": "An object that describes the list of locations.",
"properties": {
"locations": {
"type": "array",
"description": "The list of locations.",
"x-ms-summary": "Locations",
"items": {
"$ref": "#/definitions/Location"
}
}
}
},
"Location": {
"type": "object",
"description": "An object that describes a location.",
"required": [
"country_id",
"state_id"
],
"properties": {
"country_id": {
"type": "string",
"description": "The country.",
"x-ms-summary": "country",
"x-ms-dynamic-values": {
"operationId": "ListCountries",
"value-collection": "items",
"value-path": "id",
"value-title": "name"
},
"x-ms-dynamic-list": {
"operationId": "ListCountries",
"itemsPath": "items",
"itemValuePath": "id",
"itemTitlePath": "name"
}
},
"state_id": {
"type": "string",
"description": "The state within the specified country.",
"x-ms-summary": "state",
"x-ms-dynamic-values": {
"operationId": "LoadStates",
"value-collection": "items",
"value-path": "id",
"value-title": "name",
"parameters": {
"country_id": {
"parameter": "HOW DO I REFERENCE THE COUNTRY_ID PARAMETER HERE?"
}
}
},
"x-ms-dynamic-list": {
"operationId": "LoadStates",
"itemsPath": "items",
"itemValuePath": "id",
"itemTitlePath": "name",
"parameters": {
"country_id": {
"parameterReference": "HOW DO I REFERENCE THE COUNTRY_ID PARAMETER HERE?"
}
}
}
}
}
},