{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/memberstack/json-schema/memberstack-get-v2-data-tables-response-schema.json",
  "title": "GetV2DataTablesResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/memberstack-openapi-generated.yml#/components/schemas/GetV2DataTablesResponse",
  "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"
            ]
          }
        }
      }
    }
  }
}