generated from polymech/site-template
602 lines
16 KiB
JSON
602 lines
16 KiB
JSON
{
|
|
"$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
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"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": []
|
|
},
|
|
"manufacturing": {
|
|
"type": "object",
|
|
"properties": {
|
|
"lead_time": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"showDimensions": {
|
|
"type": "boolean"
|
|
},
|
|
"showParts": {
|
|
"type": "boolean"
|
|
},
|
|
"Preview3d": {
|
|
"type": "boolean"
|
|
},
|
|
"flags": {
|
|
"type": "number",
|
|
"default": 0
|
|
},
|
|
"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)"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"cart_id": {
|
|
"$ref": "#/definitions/projects/properties/cart_id"
|
|
},
|
|
"code": {
|
|
"$ref": "#/definitions/projects/properties/code"
|
|
},
|
|
"price": {
|
|
"$ref": "#/definitions/projects/properties/price"
|
|
},
|
|
"cscartCats": {
|
|
"$ref": "#/definitions/projects/properties/cscartCats"
|
|
},
|
|
"cscartId": {
|
|
"$ref": "#/definitions/projects/properties/cscartId"
|
|
},
|
|
"vendorId": {
|
|
"$ref": "#/definitions/projects/properties/vendorId"
|
|
},
|
|
"shipping": {
|
|
"$ref": "#/definitions/projects/properties/shipping"
|
|
},
|
|
"replaced_by": {
|
|
"$ref": "#/definitions/projects/properties/replaced_by"
|
|
},
|
|
"alternatives": {
|
|
"$ref": "#/definitions/projects/properties/alternatives"
|
|
},
|
|
"used_by": {
|
|
"$ref": "#/definitions/projects/properties/used_by"
|
|
},
|
|
"image": {
|
|
"$ref": "#/definitions/projects/properties/image"
|
|
},
|
|
"name": {
|
|
"$ref": "#/definitions/projects/properties/name"
|
|
},
|
|
"edrawings": {
|
|
"$ref": "#/definitions/projects/properties/edrawings"
|
|
},
|
|
"cad": {
|
|
"$ref": "#/definitions/projects/properties/cad"
|
|
},
|
|
"manufacturing": {
|
|
"$ref": "#/definitions/projects/properties/manufacturing"
|
|
},
|
|
"showDimensions": {
|
|
"$ref": "#/definitions/projects/properties/showDimensions"
|
|
},
|
|
"showParts": {
|
|
"$ref": "#/definitions/projects/properties/showParts"
|
|
},
|
|
"Preview3d": {
|
|
"$ref": "#/definitions/projects/properties/Preview3d"
|
|
},
|
|
"flags": {
|
|
"$ref": "#/definitions/projects/properties/flags"
|
|
},
|
|
"slug": {
|
|
"$ref": "#/definitions/projects/properties/slug"
|
|
},
|
|
"keywords": {
|
|
"$ref": "#/definitions/projects/properties/keywords"
|
|
},
|
|
"meta_keywords": {
|
|
"$ref": "#/definitions/projects/properties/meta_keywords"
|
|
},
|
|
"version": {
|
|
"$ref": "#/definitions/projects/properties/version"
|
|
},
|
|
"versions": {
|
|
"$ref": "#/definitions/projects/properties/versions"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/projects/properties/status"
|
|
},
|
|
"authors": {
|
|
"$ref": "#/definitions/projects/properties/authors"
|
|
},
|
|
"assets": {
|
|
"$ref": "#/definitions/projects/properties/assets"
|
|
},
|
|
"resources": {
|
|
"$ref": "#/definitions/projects/properties/resources"
|
|
},
|
|
"tests": {
|
|
"$ref": "#/definitions/projects/properties/tests"
|
|
},
|
|
"download": {
|
|
"$ref": "#/definitions/projects/properties/download"
|
|
},
|
|
"gallery": {
|
|
"$ref": "#/definitions/projects/properties/gallery"
|
|
},
|
|
"components": {
|
|
"$ref": "#/definitions/projects/properties/components"
|
|
},
|
|
"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",
|
|
"name",
|
|
"manufacturing",
|
|
"slug",
|
|
"category"
|
|
],
|
|
"additionalProperties": true
|
|
},
|
|
"default": []
|
|
},
|
|
"howto_categories": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/howto_categories"
|
|
},
|
|
"steps": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/steps"
|
|
},
|
|
"sourceLanguage": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/sourceLanguage"
|
|
},
|
|
"category": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/category"
|
|
},
|
|
"product_dimensions": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/product_dimensions"
|
|
},
|
|
"production": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/production"
|
|
},
|
|
"score": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/score"
|
|
},
|
|
"body": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/body"
|
|
},
|
|
"features": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/features"
|
|
},
|
|
"highlights": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/highlights"
|
|
},
|
|
"specs": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/specs"
|
|
},
|
|
"license": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/license"
|
|
},
|
|
"readme": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/readme"
|
|
},
|
|
"shared": {
|
|
"$ref": "#/definitions/projects/properties/components/items/properties/shared"
|
|
}
|
|
},
|
|
"required": [
|
|
"code",
|
|
"name",
|
|
"manufacturing",
|
|
"slug",
|
|
"category"
|
|
],
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
} |