{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/caspar-manufaktur-de/json-schema/caspar-manufaktur-de-caspar-material-schema.json",
  "title": "CasparMaterial",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/caspar-manufaktur-de-openapi.yml#/components/schemas/CasparMaterial",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "priority": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "surface": {
      "type": "string"
    },
    "width_cm": {
      "type": "number"
    },
    "weight_g_m2": {
      "type": "number",
      "description": "Weight in g/m². Read weight_note: where the datasheet specifies only carrier weight, this is not a total finished-material weight."
    },
    "datasheet_url": {
      "type": "string",
      "format": "uri",
      "description": "Official material datasheet linked from the Caspar website."
    },
    "weight_note": {
      "type": "string",
      "description": "Qualification of weight_g_m2 when needed. For Peel & Stick, the numeric value refers to the nonwoven carrier, not the finished adhesive-backed material."
    },
    "processing_guide_url": {
      "type": "string",
      "format": "uri",
      "description": "Official processing guide, if available."
    }
  },
  "required": [
    "id",
    "name",
    "priority",
    "surface",
    "width_cm",
    "weight_g_m2"
  ]
}