{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:ListItem",
  "title": "ListItem",
  "description": "An list item, e.g. a step in a checklist or how-to description.",
  "type": "object",
  "allOf": [
    {
      "description": "A utility class that serves as the umbrella for a number of 'intangible' things such as quantities, structured values, etc.",
      "$ref": "schema:Intangible"
    }
  ],
  "properties": {
    "item": {
      "description": "An entity represented by an entry in a list or data feed (e.g. an 'artist' in a list of 'artists').",
      "oneOf": [
        { "$ref": "schema:Thing" },
        { "type": "array", "items": { "$ref": "schema:Thing" } }
      ]
    },
    "nextItem": {
      "description": "A link to the ListItem that follows the current one.",
      "oneOf": [
        { "$ref": "schema:ListItem" },
        { "type": "array", "items": { "$ref": "schema:ListItem" } }
      ]
    },
    "position": {
      "description": "The position of an item in a series or sequence of items.",
      "anyOf": [{ "type": "integer" }, { "type": "string" }]
    },
    "previousItem": {
      "description": "A link to the ListItem that precedes the current one.",
      "oneOf": [
        { "$ref": "schema:ListItem" },
        { "type": "array", "items": { "$ref": "schema:ListItem" } }
      ]
    }
  }
}
