{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memesio/main/json-schema/memesio-aijob-schema.json",
  "title": "AiJob",
  "description": "JSON Schema for Memesio AiJob, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).",
  "type": "object",
  "required": [
    "id",
    "status",
    "capability"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "traceId": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$"
    },
    "capability": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "attempts": {
      "type": "integer"
    },
    "maxAttempts": {
      "type": "integer"
    },
    "timeoutMs": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}