Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Service #57

Closed
10 of 14 tasks
digitaldogsbody opened this issue May 27, 2022 · 4 comments
Closed
10 of 14 tasks

Add Service #57

digitaldogsbody opened this issue May 27, 2022 · 4 comments
Labels
helper Helper method to be added
Projects

Comments

@digitaldogsbody
Copy link
Member

Description

This helper adds an existing Service object to the service key, creating the key if it does not exist

Function name / Parameters / Return

Function name: .add_service(service)

Parameters: service - The Service object to be added

Returns: None

Objects

  • Base Object (all Prezi3 Classes)
  • Collection
  • Manifest
  • Canvas
  • Range
  • AnnotationCollection
  • AnnotationPage
  • Annotation
  • Content Resource - Image
  • Content Resource - Video
  • Content Resource - Text
  • Service
  • Provider
  • Other - please list below

Considerations

This helper is designed to target the service key of an individual object, and does not cover the services object that can additionally exist on a Collection or Manifest object

@digitaldogsbody digitaldogsbody added the helper Helper method to be added label May 27, 2022
@digitaldogsbody digitaldogsbody mentioned this issue May 27, 2022
14 tasks
@glenrobson glenrobson added this to Unassigned Issues in Hackathon May 27, 2022
@glenrobson
Copy link
Contributor

glenrobson commented May 27, 2022

Just for background on what this is not: https://iiif.io/api/presentation/3.0/#services

"Services: list of one or more service definitions on the top-most resource of the document, that are typically shared by more than one subsequent resource. This allows for these shared services to be collected together in a single place, rather than either having their information duplicated potentially many times throughout the document, or requiring a consuming client to traverse the entire document structure to find the information. The resource that the service applies to must still have the service property "

@glenrobson
Copy link
Contributor

@azaroth42 I've added service to hopefully the correct places in the schema: IIIF/presentation-validator#141

@glenrobson
Copy link
Contributor

Might be helpful to split out service for different versions e.g. addService2 or addService3.

@digitaldogsbody
Copy link
Member Author

Closed by #104

Hackathon automation moved this from Unassigned Issues to Done Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
helper Helper method to be added
Projects
Development

No branches or pull requests

2 participants