{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appbricx-com/json-schema/appbricx-com-post-api-dev-v1-projects-id-data-import-request-schema.json",
  "title": "PostApiDevV1ProjectsIdDataImportRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/appbricx-com-openapi-generated.yml#/components/schemas/PostApiDevV1ProjectsIdDataImportRequest",
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project id."
    },
    "action": {
      "type": "string",
      "description": "\"import\"."
    },
    "table": {
      "type": "string",
      "description": "Target table."
    },
    "rows": {
      "type": "array",
      "description": "Rows to import."
    },
    "csv": {
      "type": "string",
      "description": "CSV text."
    },
    "as": {
      "type": "object",
      "description": "Run as admin or as a role."
    },
    "env": {
      "type": "string",
      "description": "\"dev\" or \"prod\"."
    },
    "dry_run": {
      "type": "boolean",
      "description": "Validate only."
    },
    "format": {
      "type": "string",
      "description": "\"csv\" or \"json\"."
    },
    "through": {
      "type": "string",
      "description": "\"rules\" or \"bulk\"."
    }
  },
  "required": [
    "project_id",
    "action"
  ]
}