app.offprint.publication

offprint.app

Documentation

main record

No description available.

Record Key tid Timestamp-based ID

Properties

navigation array of ref #navItem Optional

Ordered top-level navigation items. Omitted when the publication uses the default navigation.

publication string at-uri Required

Required AT-URI to a `site.standard.publication` compatible record.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "publication"
    ],
    "properties": {
      "navigation": {
        "type": "array",
        "items": {
          "ref": "#navItem",
          "type": "ref"
        },
        "description": "Ordered top-level navigation items. Omitted when the publication uses the default navigation."
      },
      "publication": {
        "type": "string",
        "format": "at-uri",
        "description": "Required AT-URI to a `site.standard.publication` compatible record."
      }
    }
  }
}
navItem object

No description available.

Properties

children array of ref#navItem Optional

Nested items that render as a dropdown. Up to two levels deep.

external boolean Optional

Whether the link opens an external site.

href string Optional

Resolved destination: a root-relative path or an absolute URL. Omitted for a dropdown-only label.

label string Required

Display label for the navigation item.

maxGraphemes: 200 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "label"
  ],
  "properties": {
    "href": {
      "type": "string",
      "description": "Resolved destination: a root-relative path or an absolute URL. Omitted for a dropdown-only label."
    },
    "label": {
      "type": "string",
      "description": "Display label for the navigation item.",
      "maxGraphemes": 200
    },
    "children": {
      "type": "array",
      "items": {
        "ref": "#navItem",
        "type": "ref"
      },
      "description": "Nested items that render as a dropdown. Up to two levels deep."
    },
    "external": {
      "type": "boolean",
      "default": false,
      "description": "Whether the link opens an external site."
    }
  }
}

Lexicon Garden

@