# DocumentFormatWithEvent

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/types/objects/document-format-with-event


Event-scoped view of a DocumentFormat: carries per-event overrides and counts from the `event_document_format` junction.

```graphql
type DocumentFormatWithEvent {
  limit: Int
  index: Int!
  documentsCount: Int!
  documents(
    cursor: CursorPaginationInput
    search: String
  ): DocumentsConnection!
  exhibitorLimit(
    exhibitorId: ID!
  ): DocumentFormatExhibitorLimit!
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>DocumentFormatWithEvent.<b>limit</b></code>](#limit)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>Int</b></code>](/organizer/content-api/graphql-event-api-schema/types/scalars/int.mdx) <Badge class="badge badge--secondary " text="scalar"/> {/* #limit */} 
Per-event limit override. Null when no override is set.

#### [<code style={{ fontWeight: 'normal' }}>DocumentFormatWithEvent.<b>index</b></code>](#index)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>Int!</b></code>](/organizer/content-api/graphql-event-api-schema/types/scalars/int.mdx) <Badge class="badge badge--secondary badge--non_null" text="non-null"/> <Badge class="badge badge--secondary " text="scalar"/> {/* #index */} 
Per-event ordering index.

#### [<code style={{ fontWeight: 'normal' }}>DocumentFormatWithEvent.<b>documentsCount</b></code>](#documents-count)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>Int!</b></code>](/organizer/content-api/graphql-event-api-schema/types/scalars/int.mdx) <Badge class="badge badge--secondary badge--non_null" text="non-null"/> <Badge class="badge badge--secondary " text="scalar"/> {/* #documents-count */} 
Number of documents currently assigned to this Format within the event.

#### [<code style={{ fontWeight: 'normal' }}>DocumentFormatWithEvent.<b>documents</b></code>](#documents)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>DocumentsConnection!</b></code>](/organizer/content-api/graphql-event-api-schema/types/objects/documents-connection.mdx) <Badge class="badge badge--secondary badge--non_null" text="non-null"/> <Badge class="badge badge--secondary " text="object"/> {/* #documents */} 
Cursor-paginated list of Documents assigned to this Format in this event. Optional `search` filters by name (case-insensitive substring).
##### [<code style={{ fontWeight: 'normal' }}>DocumentFormatWithEvent.documents.<b>cursor</b></code>](#document-format-with-event-documents-cursor)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>CursorPaginationInput</b></code>](/organizer/content-api/graphql-event-api-schema/types/inputs/cursor-pagination-input.mdx) <Badge class="badge badge--secondary " text="input"/> {/* #document-format-with-event-documents-cursor */} 

##### [<code style={{ fontWeight: 'normal' }}>DocumentFormatWithEvent.documents.<b>search</b></code>](#document-format-with-event-documents-search)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>String</b></code>](/organizer/content-api/graphql-event-api-schema/types/scalars/string.mdx) <Badge class="badge badge--secondary " text="scalar"/> {/* #document-format-with-event-documents-search */} 

#### [<code style={{ fontWeight: 'normal' }}>DocumentFormatWithEvent.<b>exhibitorLimit</b></code>](#exhibitor-limit)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>DocumentFormatExhibitorLimit!</b></code>](/organizer/content-api/graphql-event-api-schema/types/objects/document-format-exhibitor-limit.mdx) <Badge class="badge badge--secondary badge--non_null" text="non-null"/> <Badge class="badge badge--secondary " text="object"/> {/* #exhibitor-limit */} 
Resolved limit cascade for a specific exhibitor: cascades exhibitor override &#x003E; group override &#x003E; event default &#x003E; unlimited. Includes current usage so the caller can compute remaining headroom.
##### [<code style={{ fontWeight: 'normal' }}>DocumentFormatWithEvent.exhibitorLimit.<b>exhibitorId</b></code>](#document-format-with-event-exhibitor-limit-exhibitor-id)<Bullet />[<code style={{ fontWeight: 'normal' }}><b>ID!</b></code>](/organizer/content-api/graphql-event-api-schema/types/scalars/id.mdx) <Badge class="badge badge--secondary badge--non_null" text="non-null"/> <Badge class="badge badge--secondary " text="scalar"/> {/* #document-format-with-event-exhibitor-limit-exhibitor-id */} 

### Member Of

[`DocumentFormat`](/organizer/content-api/graphql-event-api-schema/types/objects/document-format.mdx)  <Badge class="badge badge--secondary badge--relation" text="object"/>
