{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/brm-chronographes-com/json-schema/brm-chronographes-com-fiche-neuve-schema.json",
  "title": "FicheNeuve",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brm-chronographes-com-produits-admin-api-openapi.yml#/components/schemas/FicheNeuve",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 500,
      "minLength": 2,
      "title": "Name"
    },
    "reference": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Reference"
    },
    "collection": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Collection"
    },
    "price_ttc": {
      "type": "number",
      "maximum": 1000000.0,
      "minimum": 0.0,
      "title": "Price Ttc",
      "default": 0
    },
    "description_short": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description Short"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 20000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "quantity": {
      "type": "integer",
      "maximum": 100000.0,
      "minimum": 0.0,
      "title": "Quantity",
      "default": 0
    },
    "active": {
      "type": "boolean",
      "title": "Active",
      "default": false
    },
    "demande_bracelet": {
      "type": "string",
      "enum": [
        "auto",
        "oui",
        "non"
      ],
      "title": "Demande Bracelet",
      "default": "auto"
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}