# Marking

> Interface in domain **Comments**

- HTML: [Marking.html](Marking.html)
- Raw SDL: [Marking.sdl](Marking.sdl)
- Covered by: [llms.txt](../llms.txt)

Interface representing a visual `Marking` (highlighted point/area) of an `Asset`.

## Fields

- `position`: `MarkingPosition!` — The `Marking` position in percentage relative to the top left corner of the annotated subject.
- `dimensions`: `MarkingDimensions` — The `Marking` dimensions in percentage relative to the annotated subject size.

## Reach via

Example queries that can return this type from the root `Query`.

### `assets › comments › marking`

```graphql
query AssetsCommentsMarking {
  assets(ids: "…") {
    comments(limit: 25, page: 1) {
      items {
        marking {
          __typename
          dimensions {
            height
            width
          }
          position {
            x
            y
          }
          ... on MultiPageMarking {
            page
          }
        }
      }
    }
  }
}
```

Raw: [`AssetsCommentsMarking.sdl`](../examples/AssetsCommentsMarking.sdl)

### `asset › comments › marking`

```graphql
query AssetCommentsMarking {
  asset(id: "…") {
    comments(limit: 25, page: 1) {
      items {
        marking {
          __typename
          dimensions {
            height
            width
          }
          position {
            x
            y
          }
          ... on MultiPageMarking {
            page
          }
        }
      }
    }
  }
}
```

Raw: [`AssetCommentsMarking.sdl`](../examples/AssetCommentsMarking.sdl)
