BigCommerce · Schema

Generic Form Field Value

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Properties

Name Type Description
name string The form field name.
value object
View JSON Schema on GitHub

JSON Schema

bigcommerce-formfieldvalue-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/formFieldValue",
  "title": "Generic Form Field Value",
  "type": "object",
  "required": [
    "name",
    "value"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The form field name.",
      "example": "color"
    },
    "value": {
      "oneOf": [
        {
          "type": "string",
          "example": "blue"
        },
        {
          "type": "number",
          "format": "double",
          "example": 12.345
        },
        {
          "type": "array",
          "example": [
            "red",
            "green",
            "black"
          ],
          "items": {
            "type": "string"
          }
        }
      ]
    }
  }
}