{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/narmi/main/json-schema/narmi-paginated-document-list-schema.json",
  "title": "PaginatedDocumentList",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/narmi-documents-api-openapi.yml#/components/schemas/PaginatedDocumentList",
  "type": "object",
  "required": [
    "documents"
  ],
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Document"
      }
    }
  },
  "x-stoplight": {
    "id": "0aow4ftsieugm"
  },
  "$defs": {
    "Document": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "Document ID. The format of the ID can vary between document stores."
        },
        "type": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Document type, this value can vary between document stores."
        },
        "type_label": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "Human readable type, defaults to value of `type` field when missing."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "created_at": {
          "type": "string",
          "readOnly": true,
          "description": "The date-time the document was posted."
        },
        "account_id": {
          "type": "string",
          "readOnly": true
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "The URL of the retrieve API call.",
          "readOnly": true
        }
      },
      "x-stoplight": {
        "id": "9mjrd0thewwlb"
      }
    }
  }
}