# ResourceFileReferences

The shared prompts and JSON files of a project, sent with a build.

**Kind:** an object, used in requests.

## Fields

| Field | Type | Required | Description |
|---|---|---|---|
| `prompts` | [`ResourceFileReference`](https://docs.maitento.com/reference/types/resource-file-reference.md)`[]` | yes | The prompts (`prompts/`), read with `@prompt("name")`. Constraints: required (empty or whitespace-only strings are rejected). |
| `json` | [`ResourceFileReference`](https://docs.maitento.com/reference/types/resource-file-reference.md)`[]` | yes | The JSON files (`json/`), such as JSON Schemas, read with `@json("name")`. Constraints: required (empty or whitespace-only strings are rejected). |

## Example

```json
{
  "prompts": [
    {
      "name": "...",
      "content": "..."
    }
  ],
  "json": [
    {
      "name": "...",
      "content": "..."
    }
  ]
}
```

## Where it's used

- Inside [`BuildRequest`](https://docs.maitento.com/reference/types/build-request.md)
