{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/responsys/json-schema/responsys-supplemental-table-schema.json",
  "title": "create supplemental table Request",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/responsys-supplemental-tables-api-openapi.yml#/components/schemas/supplementalTable",
  "type": "object",
  "properties": {
    "table": {
      "description": "Supplemental table name",
      "type": "object",
      "properties": {
        "objectName": {
          "type": "string",
          "description": "Name of the supplemental table"
        }
      }
    },
    "records": {
      "description": "Array of columns corresponding to the supplemental table. ",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fieldName": {
            "type": "string",
            "description": "The supplemental table Field Name"
          },
          "fieldType": {
            "type": "string",
            "description": "The supplemental table Field Type"
          },
          "dataExtractionKey": {
            "type": "boolean",
            "description": "Data Extraction Key column of the supplemental table"
          }
        }
      }
    },
    "primaryKeys": {
      "description": "Array of primary keys corresponding to the supplemental table.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}