Wikisource · Schema

listing

The result format for listings

Open DataOpen KnowledgeLiteratureHistorical DocumentsPublic DomainTranscriptionPrimary SourcesNon-ProfitOpen Source

Properties

Name Type Description
items array
_links object
View JSON Schema on GitHub

JSON Schema

listing.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://en.wikisource.org/api/rest_v1/schemas/listing",
  "title": "listing",
  "description": "The result format for listings",
  "required": [
    "items"
  ],
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "next": {
          "type": "object",
          "properties": {
            "href": {
              "type": "string",
              "description": "Relative link to next result page."
            }
          }
        }
      }
    }
  }
}