UNPKG

@rapharacing/schemas

Version:

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

45 lines 1.13 kB
{ "type": "object", "properties": { "code": { "type": "string", "description": "Code of the feature" }, "comparable": { "type": "boolean", "description": "Flag defining it feature is comparable" }, "description": { "type": "string", "description": "Description of the feature" }, "featureUnit": { "description": "Feature unit", "$ref": "_definitions.json#/definitions/FeatureUnit", "originalRef": "FeatureUnit" }, "featureValues": { "type": "array", "description": "List of feature values", "items": { "$ref": "_definitions.json#/definitions/FeatureValue", "originalRef": "FeatureValue" } }, "name": { "type": "string", "description": "Name of the feature" }, "range": { "type": "boolean", "description": "Range number of the reature" }, "type": { "type": "string", "description": "Type of the feature" } }, "title": "Feature", "description": "Representation of a Feature", "$schema": "http://json-schema.org/schema#" }