{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/altaflow/main/json-schema/altaflow-post-v1-organizations-org-id-templates-template-id-documentgroups-req-schema.json",
  "title": "PostV1OrganizationsOrgIdTemplatesTemplateIdDocumentgroupsReq",
  "x-generated": "2026-10-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/altaflow-openapi-generated.yml#/components/schemas/PostV1OrganizationsOrgIdTemplatesTemplateIdDocumentgroupsReq",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "document": {
            "type": "string"
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                },
                "group": {
                  "type": "string"
                },
                "access_options": {
                  "type": "object",
                  "properties": {
                    "is_required": {
                      "type": "boolean"
                    },
                    "is_hidden": {
                      "type": "boolean"
                    },
                    "is_readonly": {
                      "type": "boolean"
                    },
                    "is_roleable": {
                      "type": "boolean"
                    },
                    "is_data_writing_allowed": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}