Skip to content

How to exchange/represent a collection of Locator objects? #172

Description

@m-abs

Hi,

We need to add a bookmark/locators sync API to our streaming service.

I found Position List in this repo. It has no outside references, so it isn't be found via readium.org/architecture/models/locators.

It looks to be what we need for loading bookmarks from the service, but since there isn't a schema or links to it, I'm wondering if it is still relevant?

A schema could be something like this:

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://readium.org/architecture/schema/position-list.schema.json",
  "type": "object",
  "properties": {
    "total": {
      "type": "integer"
    },
    "positions": {
      "type": "array",
      "items": [
         {  "$ref": "https://readium.org/architecture/schema/locator.schema.json" }
      ]
    }
  },
  "required": [
    "total",
    "positions"
  ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions