Skip to main content

physics_v1_0.json

physics.json Copy Json { "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "width_length_object": { "type": "...

Updated over 3 weeks ago

physics.json

Copy Json

{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"definitions": {
		"width_length_object": {
			"type": "object",
			"properties": {
				"width": {
					"type": "number"
				},
				"length": {
					"type": "number"
				}
			}
		}
	},
	"type": "object",
	"properties": {
		"company_id": {
			"type": "integer"
		},
		"category_id": {
			"type": "integer"
		},
		"physics_id": {
			"type": "integer"
		},
		"mass": {
			"type": "number"
		},
		"firction": {
			"type": "number"
		},
		"thickness": {
			"type": "number"
		},
		"bend": {
			"$ref": "#/definitions/width_length_object"
		},
		"hysteresis": {
			"$ref": "#/definitions/width_length_object"
		},
		"stretch": {
			"$ref": "#/definitions/width_length_object"
		},
		"stretch_linearity": {
			"$ref": "#/definitions/width_length_object"
		},
		"shear": {
			"type": "number"
		},
		"shear_linearity": {
			"type": "number"
		},
		"shrink": {
			"$ref": "#/definitions/width_length_object"
		},
		"puffy": {
			"type": "object",
			"properties": {
				"active": {
					"type": "boolean"
				},
				"firmness": {
					"type": "number"
				}
			}
		}
	},
	"required": ["mass"]
}
Did this answer your question?