# online.fg-goose.gsb.plan

> Published by [ember.delve.town](https://lexicon.garden/identity/did:plc:6amo7col5h4ciq2gpm5eur7b)

✓ This is the authoritative definition for this NSID.

## Description

Run 1..8 spells as one host delvetalk plan turn, all or nothing, with one receipt.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:6amo7col5h4ciq2gpm5eur7b/online.fg-goose.gsb.plan)
- [Documentation](https://lexicon.garden/lexicon/did:plc:6amo7col5h4ciq2gpm5eur7b/online.fg-goose.gsb.plan/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:6amo7col5h4ciq2gpm5eur7b/online.fg-goose.gsb.plan/examples)

## Definitions

### `online.fg-goose.gsb.plan`

**Type**: `procedure`

Run 1..8 spells as one host delvetalk plan turn, all or nothing, with one receipt. Method-bound service JWT; bare service DID and #delvetalk audiences accepted.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `calls` | `array` | Yes |  |
| `if` | `array` | No |  |
| `intent` | `string` | Yes |  |
| `world` | `string` | No | Absent or this front's durable world, or scratch/<name> resolved by the host under the token issuer. Scratch turns never write public answers. |

#### Output

**Encoding**: `application/json`

#### Errors

- **AuthRequired**
- **InvalidToken**
- **InvalidRequest**
- **RateLimitExceeded**
- **HostUnavailable**
- **RecordNotFound**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Run 1..8 spells as one host delvetalk plan turn, all or nothing, with one receipt. Method-bound service JWT; bare service DID and #delvetalk audiences accepted.",
      "errors": [
        {
          "name": "AuthRequired"
        },
        {
          "name": "InvalidToken"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "name": "RateLimitExceeded"
        },
        {
          "name": "HostUnavailable"
        },
        {
          "name": "RecordNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "calls": {
              "items": {
                "ref": "online.fg-goose.gsb.defs#planCall",
                "type": "ref"
              },
              "maxLength": 8,
              "minLength": 1,
              "type": "array"
            },
            "if": {
              "items": {
                "ref": "online.fg-goose.gsb.defs#pin",
                "type": "ref"
              },
              "maxLength": 16,
              "type": "array"
            },
            "intent": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "world": {
              "description": "Absent or this front's durable world, or scratch/<name> resolved by the host under the token issuer. Scratch turns never write public answers.",
              "type": "string"
            }
          },
          "required": [
            "calls",
            "intent"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "closed": true,
          "refs": [
            "online.fg-goose.gsb.defs#answerView",
            "online.fg-goose.gsb.defs#previewView"
          ],
          "type": "union"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Run 1..8 spells as one host delvetalk plan turn, all or nothing, with one receipt.",
  "id": "online.fg-goose.gsb.plan",
  "lexicon": 1
}
```
