{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigcommerce/main/json-schema/bigcommerce-custom-field-post-schema.json",
  "title": "Custom Field Post",
  "description": "Payload for POST request to create custom fields associated with a product.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-custom-fields-api-openapi.yml#/components/schemas/customFieldPost",
  "required": [
    "name",
    "value"
  ],
  "type": "object",
  "properties": {
    "name": {
      "maxLength": 250,
      "minLength": 1,
      "type": "string",
      "description": "The name of the field, shown on the storefront, orders, etc. This field is a requirement for /POST requests.\n"
    },
    "value": {
      "maxLength": 250,
      "minLength": 1,
      "type": "string",
      "description": "The value of the field, shown on the storefront, orders, etc. This field is a requirement for /POST requests.\n"
    }
  }
}