{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/brm-chronographes-com/json-schema/brm-chronographes-com-piece-create-schema.json",
  "title": "PieceCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brm-chronographes-com-pendules-uniques-api-openapi.yml#/components/schemas/PieceCreate",
  "properties": {
    "nom": {
      "type": "string",
      "maxLength": 160,
      "minLength": 2,
      "title": "Nom"
    },
    "modele_ref": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 20
        },
        {
          "type": "null"
        }
      ],
      "title": "Modele Ref"
    },
    "execution": {
      "type": "string",
      "maxLength": 120,
      "title": "Execution",
      "default": ""
    },
    "teinte": {
      "type": "string",
      "maxLength": 120,
      "title": "Teinte",
      "default": ""
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "prix_ttc": {
      "type": "number",
      "maximum": 1000000.0,
      "minimum": 0.0,
      "title": "Prix Ttc",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "nom"
  ]
}