Skip to main content

fab_ui_input_schema_1_1.json

fab_ui_input_schema.json Copy Json { "$schema": "http://json-schema.org/draft-04/schema#", "definitions": { "measurement":...

Updated over 3 weeks ago

fab_ui_input_schema.json

Copy Json

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "definitions": {
      
    "measurement": {
      "type": "object",
      "properties": {
        "D1": {
          "description": "Downward bend measure at 2 cm distance.",
          "$ref": "physics.json#/definitions/measurementPart"
        },
        "D2": {
          "description": "Downward bend measure at 8 cm distance.",
          "$ref": "physics.json#/definitions/measurementPart"
        },
        "S1": {
          "description": "Stretch measure at 2 cm distance.",
          "$ref": "physics.json#/definitions/measurementPart"
        },
        "S2": {
          "description": "Stretch measure at 8 cm distance.",
          "$ref": "physics.json#/definitions/measurementPart"
        },
        "U1": {
          "description": "Upward bend measure at 2 cm distance.",
          "$ref": "physics.json#/definitions/measurementPart"
        },
        "hwSerialNumber": {
          "$ref": "physics.json#/definitions/hwSerialNumber"
        },
        "hwVersion": {
          "$ref": "physics.json#/definitions/hwVersion"
        },
        "testVersion": {
          "$ref": "physics.json#/definitions/testVersion"
        },
        "time": {
          "$ref": "physics.json#/definitions/time"
        },
        "width": {
          "$ref": "physics.json#/definitions/width"
        }
      }
     
    }
    
  },  "type": "object",  "properties": {
    "fabric": {
      "type": "object",
      "properties": {
        "AdditionalData": {
          "type": "object",
          "properties": {
            "B": {
              "$ref": "#/definitions/measurement"
            }
            ,
            "L": {
              "$ref": "#/definitions/measurement"
            },
            "M":{
              "type": "number"
            },
            "MassArea": {
              "type": "number"
            },
            "T": {
              "$ref": "#/definitions/thicknessMeasurement"
            },
            "W": 
            {
              "$ref": "#/definitions/measurement"
            },
            "legacyCalculationVersion": {
              "type": "integer"
            },
            "legacyPhysics": {
              "type": "object",
              "properties": {
                "BendRigidityWarp": {
                  "type": "number"
                },
                "BendRigidityWeft": {
                  "type": "number"
                },
                "MassDensity": {
                  "type": "number"
                },
                "StretchLinearityShear": {
                  "type": "number"
                },
                "StretchLinearityWarp": {
                  "type": "number"
                },
                "StretchLinearityWeft": {
                  "type": "number"
                },
                "StretchRigidityShear": {
                  "type": "number"
                },
                "StretchRigidityWarp": {
                  "type": "number"
                },
                "StretchRigidityWeft": {
                  "type": "number"
                },
                "Thickness": {
                  "type": "number"
                }
              }
            },
            "warnings": {
              "type": "object",
              "properties": {
                "BendRigidityWarp": {
                  "type": "string"
                },
                "BendRigidityWeft": {
                  "type": "string"
                }
              }
              
            }
          }
        },
        "Name": {
          "type": "string"
        },
        "MassDensity": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "MassDensityLengthWarp": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "MassDensityLengthWeft": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "MassDensityMassWeight": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "BendRigidityWarp": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "BendRigidityWarpStepHeight": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "BendRigidityWeft": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "BendRigidityWeftStepHeight": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "Friction": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "HysteresisWarp": {
          "type": "string"
        },
        "HysteresisWeft": {
          "type": "string"
        },
        "ShrinkWarp": {
          "type": "string"
        },
        "ShrinkWeft": {
          "type": "string"
        },
        "StretchElasticityType": {
          "type": "string"
        },
        "StretchIsFTK": {
          "type": "string"
        },
        "StretchLinearityShear": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "StretchLinearityWarp": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "StretchLinearityWeft": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "StretchRigidityShear": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "StretchRigidityWarp": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "StretchRigidityWeft": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "Thickness": {
          "anyOf":[{"type": "number"}, {"type":"string"}]
        },
        "IsPhysicsOverride": {
          "type": "string"
        },
        "UseBendRigidityWarpArcAngle": {
          "type": "string"
        },
        "UseBendRigidityWeftArcAngle": {
          "type": "string"
        }
      }
  
    }
  },
  "required": [
    "fabric"
  ]
}
Did this answer your question?