{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memberstack/main/json-schema/memberstack-get-v2-data-tables-products-response-schema.json",
  "title": "GetV2DataTablesProductsResponse",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/memberstack-openapi-generated.yml#/components/schemas/GetV2DataTablesProductsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "createRule": {
          "type": "string"
        },
        "readRule": {
          "type": "string"
        },
        "updateRule": {
          "type": "string"
        },
        "deleteRule": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "fields": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "required": {
                "type": "boolean"
              },
              "defaultValue": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "tableOrder": {
                "type": "integer"
              },
              "referencedTableId": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        }
      }
    }
  }
}