---
title: "Artefact"
description: "the single artefact generated from every register, built into types in both repositories"
section: concepts
address: /concepts/artefact
contract: 0476e35e6e275db5
---

# Artefact

the single artefact generated from every register, built into types in both repositories

[figure: Artefact is a definition at platform scope. The drawing shows its fields and the objects that they point at.]

| property | value |
|---|---|
| kind | definition |
| scope | platform |
| key | the hash of its content |
| store | postgres |
| family | registers |



## Fields


| field | type | required | note |
|---|---|---|---|
| `hash` | `hash` | yes | over its registers' rows |
| `register_hash` | `hash` | yes | the type register it was generated with |
| `registers` | [Register](/concepts/register) | yes |  |
| `built_at` | `time` | yes |  |
| `pinned_by` | `[text]` | yes | the repositories and the versions that pin it |



## Routes that use it
No route takes or returns Artefact directly. The record holds it, and the objects that point at it reach it.
