-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab5fe08
commit f234f88
Showing
16 changed files
with
327 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...anager/resources/opds2_schema/cached/drafts.opds.io/schema_acquisition-object.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://drafts.opds.io/schema/acquisition-object.schema.json", | ||
"title": "OPDS Acquisition Object", | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"type": "string" | ||
}, | ||
"child": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "acquisition-object.schema.json" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"type" | ||
] | ||
} |
123 changes: 123 additions & 0 deletions
123
...palace/manager/resources/opds2_schema/cached/drafts.opds.io/schema_properties.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://drafts.opds.io/schema/properties.schema.json", | ||
"title": "OPDS Link Properties", | ||
"type": "object", | ||
"properties": { | ||
"numberOfItems": { | ||
"description": "Provide a hint about the expected number of items returned", | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
"price": { | ||
"description": "The price of a publication is tied to its acquisition link", | ||
"type": "object", | ||
"properties": { | ||
"value": { | ||
"type": "number", | ||
"minimum": 0 | ||
}, | ||
"currency": { | ||
"type": "string", | ||
"enum": [ | ||
"AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", | ||
"BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", | ||
"CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", | ||
"CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", | ||
"GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", | ||
"ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", | ||
"KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", | ||
"MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", | ||
"NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", | ||
"QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", | ||
"SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", | ||
"TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "UYI", "UYU", "UZS", "VEF", "VES", "VND", | ||
"VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", | ||
"XPF", "XPT", "XSU", "XTS", "XUA", "XXX", "YER", "ZAR", "ZMW", "ZWL" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"currency", | ||
"value" | ||
] | ||
}, | ||
"indirectAcquisition": { | ||
"description": "Indirect acquisition provides a hint for the expected media type that will be acquired after additional steps", | ||
"type": "array", | ||
"items": { | ||
"$ref": "acquisition-object.schema.json" | ||
} | ||
}, | ||
"holds": { | ||
"description": "Library-specific feature for unavailable books that support a hold list", | ||
"type": "object", | ||
"properties": { | ||
"total": { | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
"position": { | ||
"type": "integer", | ||
"minimum": 0 | ||
} | ||
} | ||
}, | ||
"copies": { | ||
"description": "Library-specific feature that contains information about the copies that a library has acquired", | ||
"type": "object", | ||
"properties": { | ||
"total": { | ||
"type": "integer", | ||
"minimum": 0 | ||
}, | ||
"available": { | ||
"type": "integer", | ||
"minimum": 0 | ||
} | ||
} | ||
}, | ||
"availability": { | ||
"description": "Indicates the availability of a given resource", | ||
"type": "object", | ||
"properties": { | ||
"state": { | ||
"type": "string", | ||
"enum": [ | ||
"available", | ||
"unavailable", | ||
"reserved", | ||
"ready" | ||
] | ||
}, | ||
"since": { | ||
"description": "Timestamp for the previous state change", | ||
"type": "string", | ||
"anyOf": [ | ||
{ | ||
"format": "date" | ||
}, | ||
{ | ||
"format": "date-time" | ||
} | ||
] | ||
}, | ||
"until": { | ||
"description": "Timestamp for the next state change", | ||
"type": "string", | ||
"anyOf": [ | ||
{ | ||
"format": "date" | ||
}, | ||
{ | ||
"format": "date-time" | ||
} | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"state" | ||
] | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ached/readium.org/webpub-manifest_schema_experimental_presentation_properties.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://readium.org/webpub-manifest/schema/experimental/presentation/properties.schema.json", | ||
"title": "Presentation Hints - Link Properties", | ||
"type": "object", | ||
"properties": { | ||
"clipped": { | ||
"description": "Specifies whether or not the parts of a linked resource that flow out of the viewport are clipped.", | ||
"type": "boolean" | ||
}, | ||
"fit": { | ||
"description": "Specifies constraints for the presentation of a linked resource within the viewport.", | ||
"type": "string", | ||
"enum": [ | ||
"contain", | ||
"cover", | ||
"width", | ||
"height" | ||
] | ||
}, | ||
"orientation": { | ||
"description": "Suggested orientation for the device when displaying the linked resource.", | ||
"type": "string", | ||
"enum": [ | ||
"auto", | ||
"landscape", | ||
"portrait" | ||
] | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...schema/cached/readium.org/webpub-manifest_schema_extensions_divina_properties.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://readium.org/webpub-manifest/schema/extensions/divina/properties.schema.json", | ||
"title": "Divina Profile - Link Properties", | ||
"type": "object", | ||
"properties": { | ||
"break-scroll-before": { | ||
"description": "Specifies that an item in the reading order should break the current continuous scroll and start a new one.", | ||
"type": "boolean", | ||
"default": false | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...ma/cached/readium.org/webpub-manifest_schema_extensions_encryption_properties.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://readium.org/webpub-manifest/schema/extensions/encryption/properties.schema.json", | ||
"title": "Encryption Module - Link Properties", | ||
"type": "object", | ||
"properties": { | ||
"encrypted": { | ||
"description": "Indicates that a resource is encrypted/obfuscated and provides relevant information for decryption", | ||
"type": "object", | ||
"properties": { | ||
"algorithm": { | ||
"description": "Identifies the algorithm used to encrypt the resource", | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
"compression": { | ||
"description": "Compression method used on the resource", | ||
"type": "string" | ||
}, | ||
"originalLength": { | ||
"description": "Original length of the resource in bytes before compression and/or encryption", | ||
"type": "integer" | ||
}, | ||
"profile": { | ||
"description": "Identifies the encryption profile used to encrypt the resource", | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
"scheme": { | ||
"description": "Identifies the encryption scheme used to encrypt the resource", | ||
"type": "string", | ||
"format": "uri" | ||
} | ||
}, | ||
"required": [ | ||
"algorithm" | ||
] | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...2_schema/cached/readium.org/webpub-manifest_schema_extensions_epub_properties.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://readium.org/webpub-manifest/schema/extensions/epub/properties.schema.json", | ||
"title": "EPUB Profile - Link Properties", | ||
"type": "object", | ||
"properties": { | ||
"contains": { | ||
"description": "Identifies content contained in the linked resource, that cannot be strictly identified using a media type.", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": [ | ||
"mathml", | ||
"onix", | ||
"remote-resources", | ||
"js", | ||
"svg", | ||
"xmp" | ||
] | ||
}, | ||
"uniqueItems": true | ||
}, | ||
"layout": { | ||
"description": "Hints how the layout of a specific resource should be presented", | ||
"type": "string", | ||
"enum": [ | ||
"fixed", | ||
"reflowable" | ||
] | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.