Skip to content

Commit

Permalink
Regenerate skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody committed Dec 11, 2022
1 parent a4f2180 commit 4e61090
Showing 1 changed file with 64 additions and 1 deletion.
65 changes: 64 additions & 1 deletion iiif_prezi3/skeleton.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand All @@ -199,13 +200,16 @@ 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
provider: Optional[Provider] = None
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
Expand All @@ -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
Expand All @@ -241,13 +247,37 @@ 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]


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
Expand All @@ -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
Expand Down Expand Up @@ -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]]
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 4e61090

Please sign in to comment.