# dev.roe.sync

> Published by [danielroe.dev](https://lexicon.garden/identity/did:plc:jbeaa5kdaladzwq3r7f5xgwe)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:jbeaa5kdaladzwq3r7f5xgwe/dev.roe.sync)
- [Documentation](https://lexicon.garden/lexicon/did:plc:jbeaa5kdaladzwq3r7f5xgwe/dev.roe.sync/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:jbeaa5kdaladzwq3r7f5xgwe/dev.roe.sync/examples)

## Definitions

### `dev.roe.sync`

**Type**: `record`

Dedupe marker for a syndication pipeline. One record per (provider, canonical URL) pair that has been submitted; presence of a record means we've already synced and shouldn't re-submit.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `provider` | `string` | Yes | Identifier of the syndication target (e.g. `gde-advocu`). |
| `syncedAt` | `string` (datetime) | Yes |  |
| `canonicalUrl` | `string` (uri) | Yes |  |

## Raw Schema

```json
{
  "id": "dev.roe.sync",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "provider",
          "canonicalUrl",
          "syncedAt"
        ],
        "properties": {
          "provider": {
            "type": "string",
            "maxLength": 64,
            "description": "Identifier of the syndication target (e.g. `gde-advocu`)."
          },
          "syncedAt": {
            "type": "string",
            "format": "datetime"
          },
          "canonicalUrl": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "description": "Dedupe marker for a syndication pipeline. One record per (provider, canonical URL) pair that has been submitted; presence of a record means we've already synced and shouldn't re-submit."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
