FacetFlux

pim.schemas.create

Create a tenant-owned PIM schema, or return the existing one if `name` already exists for this tenant. Only Master and Recipient kinds are creatable via MCP — Standard (eClass/ETIM/UNSPSC) and Connector schemas are platform-managed. Response: { schema: {...}, created: bool }. Errors: { error: { code: 'bad_input', ... } }.

Remote revuo:facetflux

Other tools also called pim.schemas.create? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "name": {
      "description": "Schema name. Unique per tenant. Re-calling with the same name returns the existing schema (no duplicate).",
      "type": "string"
    },
    "kind": {
      "description": "Master | Recipient. Other kinds rejected with bad_input.",
      "type": "string",
      "enum": [
        "Master",
        "Import",
        "Standard",
        "Connector",
        "Recipient"
      ],
      "default": "Master"
    },
    "contentLanguage": {
      "description": "ISO 639-1 code for primary product content language (e.g. 'de', 'en').",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "labels": {
      "description": "Localized labels keyed by locale (e.g. {\"en\":\"Master\",\"de\":\"Stamm\"}).",
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "defaultChannelCodes": {
      "description": "Channel codes auto-assigned to new products in this schema.",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "defaultAiRole": {
      "description": "Default LLM role/context for AI ops on this schema.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "productNumberTemplate": {
      "description": "Product number template. C=category char, N=digit, others=literal. Example: 'CCCC-NNNNNNNN'.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "name"
  ]
}