@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
72 lines • 2.15 kB
JSON
{
"type": "object",
"properties": {
"address": {
"description": "Address information of point of service",
"$ref": "_definitions.json#/definitions/Address",
"originalRef": "Address"
},
"description": {
"type": "string",
"description": "Description of the point of service"
},
"displayName": {
"type": "string",
"description": "Display name of the point of service"
},
"distanceKm": {
"type": "number",
"format": "double",
"description": "Distance to the point of service as number value"
},
"features": {
"type": "object",
"description": "List of features for a given point of service",
"additionalProperties": {
"type": "string"
}
},
"formattedDistance": {
"type": "string",
"description": "Distance to the point of service as text value"
},
"geoPoint": {
"description": "Geopoint localization info about point of service",
"$ref": "_definitions.json#/definitions/GeoPoint",
"originalRef": "GeoPoint"
},
"mapIcon": {
"description": "Image associated with the point of service",
"$ref": "_definitions.json#/definitions/Image",
"originalRef": "Image"
},
"name": {
"type": "string",
"description": "Name of the point of service"
},
"openingHours": {
"description": "Opening hours of point of service",
"$ref": "_definitions.json#/definitions/OpeningSchedule",
"originalRef": "OpeningSchedule"
},
"storeContent": {
"type": "string",
"description": "Store content of given point of service"
},
"storeImages": {
"type": "array",
"description": "Collection of images associated with a point of service",
"items": {
"$ref": "_definitions.json#/definitions/Image",
"originalRef": "Image"
}
},
"url": {
"type": "string",
"description": "Url address of the point of service"
}
},
"title": "PointOfService",
"description": "Representation of a Point of service",
"$schema": "http://json-schema.org/schema#"
}