{ "$ref": "#/definitions/projects", "definitions": { "projects": { "type": "object", "properties": { "cart_id": { "type": "string" }, "code": { "type": "string" }, "price": { "type": "number" }, "cscartCats": { "type": "array", "items": { "type": "number" } }, "cscartId": { "type": "number" }, "vendorId": { "type": "number" }, "shipping": { "type": "object", "properties": { "price": { "type": "number" }, "transit": { "type": "number" }, "handling": { "type": "number" } }, "additionalProperties": false, "default": { "price": 0, "transit": 12, "handling": 2 } }, "manufacturing": { "type": "object", "properties": { "lead_time": { "type": "number" } }, "additionalProperties": false }, "replaced_by": { "type": "string" }, "alternatives": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "url": { "type": "string" }, "type": { "type": "string" } }, "required": [ "name", "url", "type" ], "additionalProperties": false } }, "used_by": { "type": "array", "items": { "$ref": "#/definitions/projects/properties/alternatives/items" } }, "image": { "type": "object", "properties": { "name": { "type": "string" }, "url": { "type": "string" }, "thumb": { "type": "string" }, "responsive": { "type": "string" }, "meta": {}, "keywords": { "type": "array", "items": { "type": "string" } }, "description": { "type": "string" }, "alt": { "type": "string" }, "title": { "type": "string" }, "height": { "type": "number" }, "width": { "type": "number" }, "order": { "type": "number" }, "exif": { "type": "object", "properties": { "file": {}, "jfif": {}, "exif": {}, "gps": {} }, "additionalProperties": false } }, "required": [ "url" ], "additionalProperties": false }, "name": { "type": "string" }, "flags": { "type": "number" }, "edrawings": { "type": "string" }, "cad": { "type": "array", "items": { "type": "object", "properties": { "file": { "type": "string" }, "name": { "type": "string" }, "configuration": { "type": "string" }, "step": { "type": "string" }, "model": { "type": "string" }, "html": { "type": "string" } }, "required": [ "file", "name", "configuration" ], "additionalProperties": false }, "default": [] }, "showDimensions": { "type": "boolean" }, "showParts": { "type": "boolean" }, "slug": { "type": "string" }, "keywords": { "type": "string" }, "meta_keywords": { "type": "string" }, "version": { "type": "string" }, "versions": { "type": "object", "properties": { "version": { "type": "string" }, "up": { "type": "string" }, "down": { "type": "string" }, "family": { "type": "string" }, "sheet": { "type": "string" } }, "additionalProperties": false }, "status": { "type": "string" }, "authors": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "url": { "type": "string" } }, "required": [ "name", "url" ], "additionalProperties": false } }, "assets": { "type": "object", "properties": { "gallery": { "type": "array", "items": { "$ref": "#/definitions/projects/properties/image" } }, "renderings": { "type": "array", "items": { "$ref": "#/definitions/projects/properties/image" } }, "components": { "type": "array", "items": { "$ref": "#/definitions/projects/properties/image" } }, "configurations": { "type": "array", "items": { "$ref": "#/definitions/projects/properties/image" } }, "showcase": { "type": "array", "items": { "$ref": "#/definitions/projects/properties/image" } }, "samples": { "type": "array", "items": { "$ref": "#/definitions/projects/properties/image" } } }, "additionalProperties": false, "default": { "gallery": [], "renderings": [], "components": [], "configurations": [], "showcase": [], "samples": [] } }, "resources": { "type": "string" }, "tests": { "type": "array", "items": { "$ref": "#/definitions/projects/properties/alternatives/items" }, "default": [] }, "download": { "type": "boolean" }, "gallery": { "type": "object", "additionalProperties": { "type": "object", "properties": { "glob": { "type": "array", "items": { "type": "string" } } }, "required": [ "glob" ], "additionalProperties": false }, "default": { "renderings": { "glob": [ "*.+(JPG|jpg|png|PNG|gif)" ] }, "gallery": { "glob": [ "*.+(JPG|jpg|png|PNG|gif)" ] }, "components": { "glob": [ "*.+(JPG|jpg|png|PNG|gif)" ] }, "configurations": { "glob": [ "*.+(JPG|jpg|png|PNG|gif)" ] }, "showcase": { "glob": [ "*.+(JPG|jpg|png|PNG|gif)" ] }, "samples": { "glob": [ "*.+(JPG|jpg|png|PNG|gif)" ] } } }, "Preview3d": { "type": "boolean" }, "howto_categories": { "anyOf": [ { "type": "string" }, { "type": "array", "items": { "type": "string" } } ] }, "steps": {}, "sourceLanguage": { "type": "string" }, "category": { "type": "string" }, "product_dimensions": { "type": "string" }, "production": { "type": "object", "properties": { "fusion-folder": { "type": "string" }, "nc-folder": { "type": "string" }, "cam": { "type": "array", "items": { "$ref": "#/definitions/projects/properties/authors/items" } } }, "required": [ "fusion-folder", "nc-folder", "cam" ], "additionalProperties": false }, "score": { "type": "number" }, "body": { "type": "string" }, "features": { "type": "string" }, "highlights": { "type": "string" }, "specs": { "type": "string" }, "license": { "type": "string" }, "readme": { "type": "string" }, "shared": { "type": "string" } }, "required": [ "code", "manufacturing", "name", "slug", "category" ], "additionalProperties": true } }, "$schema": "http://json-schema.org/draft-07/schema#" }