# org.tangled.repo.artifact

- Kind: record
- Record key: tid
- Authority: repo.tangled.org
- Lexicon: 1
- Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.repo.artifact)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.repo.artifact/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.repo.artifact/analytics)

## Record (`org.tangled.repo.artifact`)

Type: record · key tid

### Properties

- `artifact` (blob, required): the artifact
  - Constraints: maxSize: 52428800, accept: */*
- `createdAt` (string · datetime, required): time of creation of this artifact
- `name` (string, required): name of the artifact
- `subject` (union, required)
  - One of: `org.tangled.git.oid`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "artifact": {
            "accept": [
              "*/*"
            ],
            "description": "the artifact",
            "maxSize": 52428800,
            "type": "blob"
          },
          "createdAt": {
            "description": "time of creation of this artifact",
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "description": "name of the artifact",
            "type": "string"
          },
          "subject": {
            "refs": [
              "org.tangled.git.oid"
            ],
            "type": "union"
          }
        },
        "required": [
          "subject",
          "name",
          "createdAt",
          "artifact"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.tangled.repo.artifact",
  "lexicon": 1
}
```
