From 4e61090e8d96d0e4e212c104a5b65301d7bd139d Mon Sep 17 00:00:00 2001 From: Mike Bennett Date: Sun, 11 Dec 2022 15:39:45 +0000 Subject: [PATCH] Regenerate skeleton --- iiif_prezi3/skeleton.py | 65 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/iiif_prezi3/skeleton.py b/iiif_prezi3/skeleton.py index e101d5a..b6b662d 100644 --- a/iiif_prezi3/skeleton.py +++ b/iiif_prezi3/skeleton.py @@ -1,6 +1,6 @@ # generated by datamodel-codegen: # filename: iiif_3_0.json -# timestamp: 2022-10-21T15:13:50+00:00 +# timestamp: 2022-12-11T15:31:45+00:00 from __future__ import annotations @@ -184,6 +184,7 @@ class Config: _context: Optional[Any] = Field(None, alias='@context') id: Id type: Optional[constr(regex=r'^AnnotationPage$')] = 'AnnotationPage' + rendering: Optional[External] = None label: Optional[LngString] = None service: Optional[Service] = None thumbnail: Optional[List[Resource]] = None @@ -199,6 +200,7 @@ class Collection(Class): metadata: Optional[Metadata] = None summary: Optional[LngString] = None requiredStatement: Optional[KeyValueString] = None + rendering: Optional[External] = None rights: Optional[Rights] = None navDate: Optional[NavDate] = None navPlace: Optional[NavPlace] = None @@ -206,6 +208,8 @@ class Collection(Class): seeAlso: Optional[SeeAlso] = None services: Optional[Service] = None service: Optional[Service] = None + placeholderCanvas: Optional[PlaceholderCanvas] = None + accompanyingCanvas: Optional[AccompanyingCanvas] = None thumbnail: Optional[List[Resource]] = None homepage: Optional[Homepage] = None behavior: Optional[Behavior] = None @@ -226,6 +230,8 @@ class Manifest(Class): service: Optional[Service] = None services: Optional[Service] = None viewingDirection: Optional[ViewingDirection] = None + placeholderCanvas: Optional[PlaceholderCanvas] = None + accompanyingCanvas: Optional[AccompanyingCanvas] = None rights: Optional[Rights] = None start: Optional[Any] = None navDate: Optional[NavDate] = None @@ -241,6 +247,29 @@ class Manifest(Class): annotations: Optional[List[AnnotationPage]] = None +class AccompanyingCanvas(Class): + type: Optional[constr(regex=r'^Canvas$')] = 'Canvas' + height: Optional[Dimension] = None + width: Optional[Dimension] = None + duration: Optional[Duration] = None + metadata: Optional[Metadata] = None + summary: Optional[LngString] = None + requiredStatement: Optional[KeyValueString] = None + rendering: Optional[External] = None + rights: Optional[Rights] = None + navDate: Optional[NavDate] = None + navPlace: Optional[NavPlace] = None + provider: Optional[Provider] = None + seeAlso: Optional[SeeAlso] = None + service: Optional[Service] = None + thumbnail: Optional[List[Resource]] = None + homepage: Optional[Homepage] = None + behavior: Optional[Behavior] = None + partOf: Optional[PartOf] = None + items: List[AnnotationPage] + annotations: Optional[List[AnnotationPage]] = None + + class BodyItem(Choice): items: List[Resource] @@ -248,6 +277,7 @@ class BodyItem(Choice): class Annotation(Class): type: Optional[constr(regex=r'^Annotation$')] = 'Annotation' service: Optional[Service] = None + rendering: Optional[External] = None thumbnail: Optional[List[Resource]] = None motivation: Optional[Union[str, List[str]]] = None body: Optional[Union[Resource, BodyItem, List[Dict[str, Any]]]] = None @@ -262,6 +292,32 @@ class Canvas(Class): metadata: Optional[Metadata] = None summary: Optional[LngString] = None requiredStatement: Optional[KeyValueString] = None + rendering: Optional[External] = None + rights: Optional[Rights] = None + navDate: Optional[NavDate] = None + navPlace: Optional[NavPlace] = None + provider: Optional[Provider] = None + seeAlso: Optional[SeeAlso] = None + service: Optional[Service] = None + placeholderCanvas: Optional[PlaceholderCanvas] = None + accompanyingCanvas: Optional[AccompanyingCanvas] = None + thumbnail: Optional[List[Resource]] = None + homepage: Optional[Homepage] = None + behavior: Optional[Behavior] = None + partOf: Optional[PartOf] = None + items: List[AnnotationPage] + annotations: Optional[List[AnnotationPage]] = None + + +class PlaceholderCanvas(Class): + type: Optional[constr(regex=r'^Canvas$')] = 'Canvas' + height: Optional[Dimension] = None + width: Optional[Dimension] = None + duration: Optional[Duration] = None + metadata: Optional[Metadata] = None + summary: Optional[LngString] = None + requiredStatement: Optional[KeyValueString] = None + rendering: Optional[External] = None rights: Optional[Rights] = None navDate: Optional[NavDate] = None navPlace: Optional[NavPlace] = None @@ -289,8 +345,11 @@ class Provider(Base): class Range(Class): type: Optional[constr(regex=r'^Range$')] = 'Range' + rendering: Optional[External] = None supplementary: Optional[AnnotationCollection] = None service: Optional[Service] = None + placeholderCanvas: Optional[PlaceholderCanvas] = None + accompanyingCanvas: Optional[AccompanyingCanvas] = None annotations: Optional[List[AnnotationPage]] = None thumbnail: Optional[List[Resource]] = None items: List[Union[SpecificResource, Item, Range, CanvasRef, RangeRef]] @@ -303,6 +362,7 @@ class ResourceItem(Base): width: Optional[Dimension] = None duration: Optional[Duration] = None language: Optional[str] = None + rendering: Optional[External] = None service: Optional[Service] = None format: Optional[Format] = None label: Optional[LngString] = None @@ -332,6 +392,7 @@ class Service(Base): class AnnotationCollection(Class): type: Optional[constr(regex=r'^AnnotationCollection$')] = 'AnnotationCollection' + rendering: Optional[External] = None partOf: Optional[PartOf] = None next: Optional[AnnotationPage] = None first: Optional[AnnotationPage] = None @@ -370,9 +431,11 @@ class RangeRef(Reference): AnnotationPage.update_forward_refs() Collection.update_forward_refs() Manifest.update_forward_refs() +AccompanyingCanvas.update_forward_refs() BodyItem.update_forward_refs() Annotation.update_forward_refs() Canvas.update_forward_refs() +PlaceholderCanvas.update_forward_refs() ProviderItem.update_forward_refs() Range.update_forward_refs() ResourceItem.update_forward_refs()