# fyi.opensocial.templateLike

> Liking a template shared with everyone, in whoever likes it's own repo: about one version of it, with a line about it if they like. Shown on the template's page, with their name.

- Kind: record
- Record key: tid
- Authority: opensocial.fyi
- Lexicon: 1
- Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.templateLike)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.templateLike/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.templateLike/analytics)

## Record (`fyi.opensocial.templateLike`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `subject` (ref, required): The version it's about: a fyi.opensocial.templateVersion.
  - Reference: `com.atproto.repo.strongRef`
- `template` (string · at-uri, required): The template that version is of: its fyi.opensocial.template, in the same repo.
- `text` (string): A line about it.
  - Constraints: maxLength: 3000, maxGraphemes: 300

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Liking a template shared with everyone, in whoever likes it's own repo: about one version of it, with a line about it if they like. Shown on the template's page, with their name.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The version it's about: a fyi.opensocial.templateVersion.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "template": {
            "description": "The template that version is of: its fyi.opensocial.template, in the same repo.",
            "format": "at-uri",
            "type": "string"
          },
          "text": {
            "description": "A line about it.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          }
        },
        "required": [
          "subject",
          "template",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.templateLike",
  "lexicon": 1
}
```
