UNPKG

@rapharacing/schemas

Version:

OpenAPI to JSON Schema to be used with middy for CC response validation

33 lines 862 B
{ "type": "object", "properties": { "id": { "type": "string", "description": "Identifier of abstract catalog item" }, "lastModified": { "type": "string", "format": "date-time", "description": "Date of last modification" }, "name": { "type": "string", "description": "Name of abstract catalog item" }, "subcategories": { "type": "array", "description": "List of subcategory hierarchies", "items": { "$ref": "_definitions.json#/definitions/CategoryHierarchy", "originalRef": "CategoryHierarchy" } }, "url": { "type": "string", "description": "Url address of abstract catalog item" } }, "title": "CategoryHierarchy", "description": "Representation of a Category Hierarchy", "$schema": "http://json-schema.org/schema#" }