MainBook · JSON-LD Context
Mainbook Ai Context
JSON-LD context defining the semantic vocabulary for Mainbook Ai from MainBook.
17 Classes
37 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
mainbook:
https://mainbook.ai/schema#
Classes
CreateJobRequest
DeveloperAuthError
DeveloperBalance
DeveloperCreateJobResponse
DeveloperError
DeveloperJob
DeveloperJobError
DeveloperJobValidation
DeveloperJobsPage
DeveloperResultTicketRequestRequest
DeveloperResultTicketResponse
DeveloperUpload
FileFormatEnum
FormatEnum
MethodEnum
SourceEnum
StateEnum
Properties
| Property | Type | Container |
|---|---|---|
| filename | string | |
| file_format | string | |
| size_bytes | integer | |
| page_count | integer | |
| detail | string | |
| balance | integer | |
| reserved | integer | |
| available | integer | |
| job_id | string | |
| upload | ||
| credits_reserved | integer | |
| reason | string | |
| requested | integer | |
| hint | string | |
| state | reference | |
| supported | list | |
| errors | ||
| limit | integer | |
| pages | integer | |
| source | reference | |
| created_at | dateTime | |
| updated_at | dateTime | |
| validation | ||
| error | ||
| category | string | |
| reconcilable | boolean | |
| passed | boolean | |
| mismatched_rows | integer | |
| results | list | |
| next | reference | |
| previous | reference | |
| format | reference | |
| ticket | string | |
| url | reference | |
| expires_at | dateTime | |
| method | reference | |
| headers |
JSON-LD Document
{
"@context": {
"@vocab": "https://mainbook.ai/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"mainbook": "https://mainbook.ai/schema#",
"CreateJobRequest": "mainbook:CreateJobRequest",
"filename": {
"@id": "mainbook:filename",
"@type": "xsd:string"
},
"file_format": {
"@id": "mainbook:file_format",
"@type": "xsd:string"
},
"size_bytes": {
"@id": "mainbook:size_bytes",
"@type": "xsd:integer"
},
"page_count": {
"@id": "mainbook:page_count",
"@type": "xsd:integer"
},
"DeveloperAuthError": "mainbook:DeveloperAuthError",
"detail": {
"@id": "mainbook:detail",
"@type": "xsd:string"
},
"DeveloperBalance": "mainbook:DeveloperBalance",
"balance": {
"@id": "mainbook:balance",
"@type": "xsd:integer"
},
"reserved": {
"@id": "mainbook:reserved",
"@type": "xsd:integer"
},
"available": {
"@id": "mainbook:available",
"@type": "xsd:integer"
},
"DeveloperCreateJobResponse": "mainbook:DeveloperCreateJobResponse",
"job_id": {
"@id": "mainbook:job_id",
"@type": "xsd:string"
},
"upload": {
"@id": "mainbook:upload"
},
"credits_reserved": {
"@id": "mainbook:credits_reserved",
"@type": "xsd:integer"
},
"DeveloperError": "mainbook:DeveloperError",
"reason": {
"@id": "mainbook:reason",
"@type": "xsd:string"
},
"requested": {
"@id": "mainbook:requested",
"@type": "xsd:integer"
},
"hint": {
"@id": "mainbook:hint",
"@type": "xsd:string"
},
"state": {
"@id": "mainbook:state",
"@type": "@id"
},
"supported": {
"@id": "mainbook:supported",
"@container": "@list"
},
"errors": {
"@id": "mainbook:errors"
},
"limit": {
"@id": "mainbook:limit",
"@type": "xsd:integer"
},
"DeveloperJob": "mainbook:DeveloperJob",
"pages": {
"@id": "mainbook:pages",
"@type": "xsd:integer"
},
"source": {
"@id": "mainbook:source",
"@type": "@id"
},
"created_at": {
"@id": "mainbook:created_at",
"@type": "xsd:dateTime"
},
"updated_at": {
"@id": "mainbook:updated_at",
"@type": "xsd:dateTime"
},
"validation": {
"@id": "mainbook:validation"
},
"error": {
"@id": "mainbook:error"
},
"DeveloperJobError": "mainbook:DeveloperJobError",
"category": {
"@id": "mainbook:category",
"@type": "xsd:string"
},
"DeveloperJobValidation": "mainbook:DeveloperJobValidation",
"reconcilable": {
"@id": "mainbook:reconcilable",
"@type": "xsd:boolean"
},
"passed": {
"@id": "mainbook:passed",
"@type": "xsd:boolean"
},
"mismatched_rows": {
"@id": "mainbook:mismatched_rows",
"@type": "xsd:integer"
},
"DeveloperJobsPage": "mainbook:DeveloperJobsPage",
"results": {
"@id": "mainbook:results",
"@container": "@list"
},
"next": {
"@id": "mainbook:next",
"@type": "@id"
},
"previous": {
"@id": "mainbook:previous",
"@type": "@id"
},
"DeveloperResultTicketRequestRequest": "mainbook:DeveloperResultTicketRequestRequest",
"format": {
"@id": "mainbook:format",
"@type": "@id"
},
"DeveloperResultTicketResponse": "mainbook:DeveloperResultTicketResponse",
"ticket": {
"@id": "mainbook:ticket",
"@type": "xsd:string"
},
"url": {
"@id": "mainbook:url",
"@type": "@id"
},
"expires_at": {
"@id": "mainbook:expires_at",
"@type": "xsd:dateTime"
},
"DeveloperUpload": "mainbook:DeveloperUpload",
"method": {
"@id": "mainbook:method",
"@type": "@id"
},
"headers": {
"@id": "mainbook:headers"
},
"FileFormatEnum": "mainbook:FileFormatEnum",
"FormatEnum": "mainbook:FormatEnum",
"MethodEnum": "mainbook:MethodEnum",
"SourceEnum": "mainbook:SourceEnum",
"StateEnum": "mainbook:StateEnum"
},
"@type": "schema:Dataset",
"schema:name": "MainBook API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects MainBook's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-17) from openapi/mainbook-ai-openapi.yml.",
"dcterms:created": "2026-11-17",
"dcterms:source": [
"openapi/mainbook-ai-openapi.yml"
]
}