Skip to content

Expand target of Annotations to Support Content State Recipes #182

Description

@markpbaggett

This relates to this iiif-prezi3 issue.

In order for the content state recipes to be valid, it seems like the JSON schema needs to be modified. The recipes include:

The code in question appears to be this:

https://github.com/IIIF/presentation-validator/blob/main/schema/iiif_3_0.json#L957-L967

It seems like it should be something like this:

"target": {
    "anyOf": [
        { "$ref": "#/classes/annoTarget" },
        {
            "type": "array",
            "items": {
                "$ref": "#/classes/annoTarget"
            }
        },
        { "$ref": "#/classes/canvasRef" },
        {
            "type": "array",
            "items": {
                "$ref": "#/classes/canvasRef"
            }
        },
    ]
}

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions