{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-get-ai-bom-response-job-body-schema.json", "title": "GetAiBomResponseJobBody", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/snyk-aibom-api-openapi.yml#/components/schemas/GetAiBomResponseJobBody", "additionalProperties": false, "properties": { "data": { "$ref": "#/$defs/JobData" }, "jsonapi": { "$ref": "#/$defs/JsonApi" }, "links": { "$ref": "#/$defs/PaginatedLinks" } }, "required": [ "data", "jsonapi", "links" ], "type": "object", "$defs": { "JobAttributes": { "description": "JobAttributes represents the attributes of a Job resource", "properties": { "status": { "$ref": "#/$defs/JobState" } }, "required": [ "status" ], "type": "object" }, "JobData": { "properties": { "attributes": { "$ref": "#/$defs/JobAttributes" }, "id": { "format": "uuid", "type": "string" }, "relationships": { "$ref": "#/$defs/JobDataRelationships" }, "type": { "enum": [ "ai_bom_job" ], "type": "string" } }, "required": [ "id", "attributes", "type" ], "type": "object" }, "JobDataRelationships": { "properties": { "ai_bom": { "$ref": "#/$defs/RelationshipObjectToOne" } }, "required": [ "ai_bom" ], "type": "object" }, "JobState": { "description": "State of the job.", "enum": [ "processing", "finished", "errored" ], "type": "string" }, "JsonApi": { "additionalProperties": false, "properties": { "version": { "description": "Version of the JSON API specification this server supports.", "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$", "type": "string" } }, "required": [ "version" ], "type": "object" }, "LinkProperty": { "oneOf": [ { "description": "A string containing the link’s URL.", "type": "string" }, { "additionalProperties": false, "properties": { "href": { "description": "A string containing the link’s URL.", "type": "string" }, "meta": { "additionalProperties": true, "description": "Free-form object that may contain non-standard information.", "type": "object" } }, "required": [ "href" ], "type": "object" } ] }, "PaginatedLinks": { "additionalProperties": false, "properties": { "first": { "$ref": "#/$defs/LinkProperty" }, "last": { "$ref": "#/$defs/LinkProperty" }, "next": { "$ref": "#/$defs/LinkProperty" }, "prev": { "$ref": "#/$defs/LinkProperty" }, "self": { "$ref": "#/$defs/LinkProperty" } }, "type": "object" }, "RelationshipObjectToOne": { "properties": { "data": { "$ref": "#/$defs/RelationshipObjectToOneData" } }, "required": [ "data" ], "type": "object" }, "RelationshipObjectToOneData": { "properties": { "id": { "format": "uuid", "type": "string" }, "type": { "type": "string" } }, "required": [ "id", "type" ], "type": "object" } } }