Link copied to clipboard

PDF Annotator

Draft xAPI Profile · vv1.0. · July 14, 2017

A profile for recording PDF annotations.

Profile IRIhttp://www.risc-inc.com/annotator
See Alsohttp://risc-inc.com/pdf-annotation-cloud-real-world-xapi-application/
AuthorRISC, Inc
Concepts10
View JSON-LD Download Markdown Docs Log in to browse full details

Concepts (10)

pdf annotation highlight colour

This extension is used to describe the RGB colour of a PDF annotation highlight, underline of typewriter annotation. The value of this extension is a string, for example #FFCC66. For any use cases outside of PDF annotations, consider the tincan color extension to record the colour of an activity.

TypeContextExtension
IRIhttp://www.risc-inc.com/annotator/extensions/color
In Schemehttp://www.risc-inc.com/annotator/v1.0

highlighted string

Activity definition extension used with highlight and underline activity types. Stores the string of text that has been highlighted or underlined.

TypeContextExtension
IRIhttp://www.risc-inc.com/annotator/extensions/highlightedString
In Schemehttp://www.risc-inc.com/annotator/v1.0

page index

Activity Definition extension used for activities representing entities on a page, for example highlights or notes on an annotated PDF. The value of this extension is an integer that represents the zero-based page index of the document that the activity is on. This document should be listed as the contextActivities parent. Note that the page index is not normally equal to the page number printed on the document.

TypeContextExtension
IRIhttp://www.risc-inc.com/annotator/extensions/page
In Schemehttp://www.risc-inc.com/annotator/v1.0

pdf Rectangle map

A collection of rectangles marking an area within a PDF document. This is used to denote the location of an element on a page such as a highlight or annotation on a PDF document. Multiple rectangles may represent a single element. The value of the extension is an array of rectangle objects. Each rectangle object has x, y, width and height properties. The value of each of these properties is a number measured in PDF Units. The X and Y coordinates are taken from the bottom left of the page. Note that in some implementations, this the value of this extension has been a string containing a JSON encoded array of rectangle objects. This is not recommended, but tools reading statements using this extension may wish to additionally accept this JSON encoded format.

TypeContextExtension
IRIhttp://www.risc-inc.com/annotator/extensions/rects
In Schemehttp://www.risc-inc.com/annotator/v1.0

highlighted text annotation

An annotation of the highlight type. Highlights are used to mark strings of text in a document with a color. This activity type should only be used for highlighted text and not for highlighted images or other elements.

TypeActivityType
IRIhttp://risc-inc.com/annotator/activities/highlight
In Schemehttp://www.risc-inc.com/annotator/v1.0

note annotation

Indicates an annotation made to a document of the note form. This is a string of text appended to the document at a specified location. Note annotations can be added anywhere on the page. This activity type should not be used for other types of note that are not annotations to a document.

TypeActivityType
IRIhttp://risc-inc.com/annotator/activities/note
In Schemehttp://www.risc-inc.com/annotator/v1.0

underline annotation

An annotation of the underline type. Underlines are used to mark strings of text in a document with a line underneath the text. This activity type should only be used for underlined text and not for images or other elements.

TypeActivityType
IRIhttp://risc-inc.com/annotator/activities/underline
In Schemehttp://www.risc-inc.com/annotator/v1.0

freetext annotation

Indicates an annotation made to a document of the freetext form. This is a string of text written direction onto the document at a specified location. Freetext annotations can be added anywhere on the page. Unlike note annotations, they have no border or background.

TypeActivityType
IRIhttp://www.risc-inc.com/annotator/activities/freetext
In Schemehttp://www.risc-inc.com/annotator/v1.0

annotated

Indicates a new annotation has been added to a document. This verb may be used with PDFs, images, assignment submissions or any other type of document which may be annotated.

TypeVerb
IRIhttp://risc-inc.com/annotator/verbs/annotated
In Schemehttp://www.risc-inc.com/annotator/v1.0
Related Matchhttps://w3id.org/xapi/adb/verbs/annotated
https://w3id.org/xapi/acrossx/verbs/annotated

modified annotation

This verb is used on annotations created with the annotated verb. It indicates that an existing annotation has been modified, for example editing the text of a note annotation or adjusting the position of a underline or highlight.

TypeVerb
IRIhttp://risc-inc.com/annotator/verbs/modified
In Schemehttp://www.risc-inc.com/annotator/v1.0