addedInput schema / properties
Added value: +{
+ "isbns": {
+ "description": "ISBN strings to validate. Hyphens and spaces are stripped; each must clean to 10 or 13 digits. Non-string entries are ignored.",
+ "examples": [
+ [
+ "9780306406157",
+ "0306406152"
+ ]
+ ],
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "options": {
+ "additionalProperties": false,
+ "description": "Optional flags toggling extra output (camelCase or snake_case keys accepted).",
+ "properties": {
+ "addHyphenation": {
+ "default": false,
+ "description": "Add a hyphenated ISBN-13 to the conversion block.",
+ "type": "boolean"
+ },
+ "includeFormatConversion": {
+ "default": true,
+ "description": "Include ISBN-10<->ISBN-13 conversion and barcode in each result.",
+ "type": "boolean"
+ },
+ "showCheckDigitCalculation": {
+ "default": false,
+ "description": "Include the weighted-sum formula, expected, and actual check digit.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ }
+}
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "results": {
+ "description": "One entry per validatable input ISBN.",
+ "items": {
+ "properties": {
+ "analysis": {
+ "description": "Present when valid; check digit, EAN prefix, and registration group.",
+ "properties": {
+ "check_digit": {
+ "description": "The check digit character.",
+ "type": "string"
+ },
+ "check_digit_valid": {
+ "description": "Whether the check digit recomputes correctly.",
+ "type": "boolean"
+ },
+ "clean_isbn": {
+ "description": "ISBN with separators removed.",
+ "type": "string"
+ },
+ "ean_prefix": {
+ "description": "ISBN-13 only: 978 or 979.",
+ "type": "string"
+ },
+ "group_identifier": {
+ "description": "Registration group digits.",
+ "type": "string"
+ },
+ "group_name": {
+ "description": "Language/region for the group.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "calculation": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Check-digit steps when showCheckDigitCalculation is set.",
+ "type": "object"
+ },
+ "conversion": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "ISBN-10/ISBN-13/barcode forms (and hyphenated if requested).",
+ "type": "object"
+ },
+ "input": {
+ "description": "The original ISBN string as received.",
+ "type": "string"
+ },
+ "timestamp": {
+ "description": "Unix epoch seconds when validated.",
+ "type": "integer"
+ },
+ "type": {
+ "description": "Detected type: isbn-10, isbn-13, or isbn-unknown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "valid": {
+ "description": "Whether the check digit and format are valid.",
+ "type": "boolean"
+ },
+ "warnings": {
+ "description": "Format errors or deprecation notices.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "statistics": {
+ "description": "Batch totals across all results.",
+ "properties": {
+ "invalid": {
+ "description": "Count of invalid ISBNs.",
+ "type": "integer"
+ },
+ "success_rate": {
+ "description": "Percent valid (0-100, two decimals).",
+ "type": "number"
+ },
+ "total": {
+ "description": "Number of results.",
+ "type": "integer"
+ },
+ "valid": {
+ "description": "Count of valid ISBNs.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "success": {
+ "description": "Whether the request was processed.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+}