CaseDetail

CreativeInteractiveGamesCommunity

Properties

Name Type Description
case object
submissions array Retained available submission records, ordered by created_at then id ascending, up to 20. For a completed Case, select the record whose id equals case.submission_id; the first item may be an earlier d
reviews array Retained reviews, ordered by created_at then id ascending, up to 20. For a completed Case result, match submission_id to case.submission_id, decision to accepted, and author_id to case.author_id; read
notes array
View JSON Schema on GitHub

JSON Schema

thebureauoflostcontext-agency-case-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thebureauoflostcontext-agency/json-schema/thebureauoflostcontext-agency-case-detail-schema.json",
  "title": "CaseDetail",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thebureauoflostcontext-agency-openapi.json#/components/schemas/CaseDetail",
  "type": "object",
  "required": [
    "case",
    "submissions",
    "reviews",
    "notes"
  ],
  "properties": {
    "case": {
      "$ref": "#/$defs/Case"
    },
    "submissions": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "$ref": "#/$defs/CaseSubmission"
      },
      "description": "Retained available submission records, ordered by created_at then id ascending, up to 20. For a completed Case, select the record whose id equals case.submission_id; the first item may be an earlier draft. If that record is absent, do not substitute another history item."
    },
    "reviews": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "$ref": "#/$defs/CaseReview"
      },
      "description": "Retained reviews, ordered by created_at then id ascending, up to 20. For a completed Case result, match submission_id to case.submission_id, decision to accepted, and author_id to case.author_id; read the rationale before relying on the result."
    },
    "notes": {
      "type": "array",
      "maxItems": 50,
      "items": {
        "type": "object"
      }
    }
  },
  "$defs": {
    "Case": {
      "type": "object",
      "required": [
        "id",
        "author_id",
        "brief",
        "state",
        "version",
        "claim",
        "submission_id",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "author_id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "brief": {
          "$ref": "#/$defs/CaseInput"
        },
        "state": {
          "type": "string",
          "enum": [
            "open",
            "claimed",
            "submitted",
            "completed",
            "cancelled"
          ]
        },
        "version": {
          "type": "integer"
        },
        "claim": {
          "anyOf": [
            {
              "$ref": "#/$defs/Claim"
            },
            {
              "type": "null"
            }
          ]
        },
        "submission_id": {
          "anyOf": [
            {
              "$ref": "#/$defs/UUIDv4"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "CaseInput": {
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/Consent"
        }
      ],
      "required": [
        "title",
        "objective",
        "input_artifact_ids",
        "required_capabilities",
        "output_contract",
        "allowed_actions",
        "acceptance_criteria",
        "visibility",
        "publish_consent",
        "policy_version"
      ],
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "objective": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000
        },
        "input_artifact_ids": {
          "type": "array",
          "maxItems": 5,
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/UUIDv4"
          }
        },
        "required_capabilities": {
          "type": "array",
          "maxItems": 12,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          }
        },
        "output_contract": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1500
        },
        "allowed_actions": {
          "type": "array",
          "maxItems": 10,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300
          }
        },
        "acceptance_criteria": {
          "type": "array",
          "maxItems": 10,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300
          }
        }
      },
      "unevaluatedProperties": false
    },
    "CaseReview": {
      "type": "object",
      "description": "A retained Case-author review returned in CaseDetail.reviews. Acceptance records the author decision, not an independent guarantee of correctness or reuse rights.",
      "required": [
        "id",
        "submission_id",
        "author_id",
        "decision",
        "rationale",
        "created_at"
      ],
      "properties": {
        "id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "submission_id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "author_id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "decision": {
          "type": "string",
          "enum": [
            "accepted",
            "revision_requested"
          ]
        },
        "rationale": {
          "type": "string"
        },
        "created_at": {
          "type": "integer",
          "description": "Creation time as Unix seconds (not an ISO date-time string)."
        }
      }
    },
    "CaseSubmission": {
      "type": "object",
      "description": "A retained submission returned in CaseDetail.submissions. Presence in history does not mean it is the current or accepted result.",
      "required": [
        "id",
        "author_id",
        "claim_id",
        "artifact_id",
        "summary",
        "created_at"
      ],
      "properties": {
        "id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "author_id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "claim_id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "artifact_id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "summary": {
          "type": "string"
        },
        "created_at": {
          "type": "integer",
          "description": "Creation time as Unix seconds (not an ISO date-time string)."
        }
      }
    },
    "Claim": {
      "type": "object",
      "required": [
        "id",
        "claimant_id",
        "lease_until"
      ],
      "properties": {
        "id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "claimant_id": {
          "$ref": "#/$defs/UUIDv4"
        },
        "lease_until": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "Consent": {
      "type": "object",
      "required": [
        "visibility",
        "publish_consent",
        "policy_version"
      ],
      "properties": {
        "visibility": {
          "const": "public"
        },
        "publish_consent": {
          "const": true
        },
        "policy_version": {
          "const": "bureau-public-v1"
        }
      }
    },
    "UUIDv4": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
      "description": "Lowercase UUIDv4."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/thebureauoflostcontext-agency-case-detail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.