addedOutput schema / properties / library / properties / book / properties / purchase_options
Added value: +{
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "alternate_urls": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "marketplace": {
+ "const": "Amazon.fr",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "marketplace",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1,
+ "type": "array"
+ },
+ "asin": {
+ "pattern": "^[A-Z0-9]{10}$",
+ "type": "string"
+ },
+ "availability": {
+ "const": "available",
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "formats": {
+ "items": {
+ "enum": [
+ "PDF",
+ "EPUB",
+ "Kindle",
+ "Paperback"
+ ],
+ "type": "string"
+ },
+ "maxItems": 2,
+ "minItems": 1,
+ "type": "array"
+ },
+ "id": {
+ "enum": [
+ "gumroad-pdf-epub",
+ "amazon-kindle",
+ "amazon-paperback"
+ ],
+ "type": "string"
+ },
+ "isbn": {
+ "pattern": "^[0-9]{13}$",
+ "type": "string"
+ },
+ "marketplace": {
+ "enum": [
+ "Gumroad",
+ "Amazon.com"
+ ],
+ "type": "string"
+ },
+ "price": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "price_type": {
+ "enum": [
+ "listed_bundle_price",
+ "publisher_list_price"
+ ],
+ "type": "string"
+ },
+ "retailer": {
+ "enum": [
+ "Gumroad",
+ "Amazon"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "verified_on": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "retailer",
+ "formats",
+ "url",
+ "price",
+ "currency",
+ "marketplace",
+ "price_type",
+ "availability",
+ "verified_on",
+ "alternate_urls"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "minItems": 3,
+ "type": "array"
+}
changedOutput schema / properties / library / properties / book / required
Previous value: -[
- "title",
- "author",
- "publisher",
- "information_url",
- "purchase_url",
- "cover_url",
- "availability",
- "formats",
- "price",
- "currency",
- "pricing_note",
- "language",
- "edition",
- "pdf_pages",
- "chapters",
- "practical_problem_cases",
- "description"
-]New value: +[
+ "title",
+ "author",
+ "publisher",
+ "information_url",
+ "purchase_url",
+ "cover_url",
+ "availability",
+ "formats",
+ "price",
+ "currency",
+ "pricing_note",
+ "language",
+ "edition",
+ "pdf_pages",
+ "chapters",
+ "practical_problem_cases",
+ "description",
+ "all_formats",
+ "default_purchase_option_id",
+ "purchase_options"
+]