CreateCase

Automatically registered agents always use consumer_type agent (defaulted by the server); human or application is rejected for these principals. Their data policy is synthetic/non-personal only.

CompanyArtificial IntelligenceDecision-MakingSustainabilityPlatform
View JSON Schema on GitHub

JSON Schema

geniusdecision-app-create-case-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geniusdecision-app/json-schema/geniusdecision-app-create-case-schema.json",
  "title": "CreateCase",
  "description": "Automatically registered agents always use consumer_type agent (defaulted by the server); human or application is rejected for these principals. Their data policy is synthetic/non-personal only.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/geniusdecision-app-openapi.json#/components/schemas/CreateCase",
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "consumer_type": {
          "enum": [
            "human",
            "application",
            "agent"
          ],
          "description": "Caller declaration only. Use agent or application for an integration."
        },
        "profile": {
          "const": "hours"
        },
        "input": {
          "$ref": "#/$defs/HoursInput"
        }
      },
      "required": [
        "title",
        "profile",
        "input"
      ]
    },
    {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "consumer_type": {
          "enum": [
            "human",
            "application",
            "agent"
          ],
          "description": "Caller declaration only. Use agent or application for an integration."
        },
        "profile": {
          "const": "fdq"
        },
        "input": {
          "$ref": "#/$defs/FdqInput"
        }
      },
      "required": [
        "title",
        "profile",
        "input"
      ]
    },
    {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120
        },
        "consumer_type": {
          "enum": [
            "human",
            "application",
            "agent"
          ],
          "description": "Caller declaration only. Use agent or application for an integration."
        },
        "profile": {
          "const": "choice"
        },
        "input": {
          "$ref": "#/$defs/ChoiceInput"
        }
      },
      "required": [
        "title",
        "profile",
        "input"
      ]
    }
  ],
  "$defs": {
    "ChoiceInput": {
      "type": "object",
      "properties": {
        "context": {
          "type": "object",
          "properties": {
            "question": {
              "type": "string",
              "minLength": 1,
              "maxLength": 600
            },
            "category": {
              "enum": [
                "leisure",
                "personal_organization"
              ]
            },
            "horizon": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          "required": [
            "question",
            "category",
            "horizon"
          ],
          "additionalProperties": false
        },
        "criteria": {
          "type": "array",
          "minItems": 1,
          "maxItems": 5,
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z][A-Za-z0-9_]{0,31}$"
              },
              "label": {
                "type": "string",
                "minLength": 1,
                "maxLength": 60
              },
              "unit": {
                "type": "string",
                "minLength": 1,
                "maxLength": 30
              },
              "direction": {
                "enum": [
                  "min",
                  "max"
                ]
              },
              "limit": {
                "type": [
                  "string",
                  "null"
                ],
                "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+|/[1-9][0-9]*)?$",
                "maxLength": 32,
                "description": "Nonnegative exact quantity <= 1000000, denominator <= 1000000; null stays unknown."
              }
            },
            "required": [
              "id",
              "label",
              "unit",
              "direction",
              "limit"
            ],
            "additionalProperties": false
          }
        },
        "alternatives": {
          "type": "array",
          "minItems": 2,
          "maxItems": 8,
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z][A-Za-z0-9_]{0,31}$"
              },
              "label": {
                "type": "string",
                "minLength": 1,
                "maxLength": 80
              },
              "source": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "values": {
                "type": "object",
                "additionalProperties": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+|/[1-9][0-9]*)?$",
                  "maxLength": 32,
                  "description": "Nonnegative exact quantity <= 1000000, denominator <= 1000000; null stays unknown."
                },
                "description": "Exactly one entry per declared criterion ID; same unit for every alternative."
              }
            },
            "required": [
              "id",
              "label",
              "source",
              "values"
            ],
            "additionalProperties": false
          }
        },
        "selection": {
          "type": "object",
          "properties": {
            "mode": {
              "enum": [
                "unique",
                "lexicographic"
              ]
            },
            "criteria_order": {
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[A-Za-z][A-Za-z0-9_]{0,31}$"
              },
              "maxItems": 5,
              "uniqueItems": true,
              "description": "Empty for unique; permutation of all criteria for lexicographic."
            }
          },
          "required": [
            "mode",
            "criteria_order"
          ],
          "additionalProperties": false
        },
        "model_confirmation": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$",
          "description": "Digest from review, bound to all model fields, confirmed by the decision owner."
        },
        "permission_confirmed": {
          "const": true
        },
        "scope_acknowledged": {
          "const": true
        },
        "evidence_origin": {
          "enum": [
            "synthetic",
            "user_declared"
          ]
        }
      },
      "required": [
        "context",
        "criteria",
        "alternatives",
        "selection",
        "model_confirmation",
        "permission_confirmed",
        "scope_acknowledged",
        "evidence_origin"
      ],
      "additionalProperties": false
    },
    "FdqInput": {
      "type": "object",
      "properties": {
        "permission_confirmed": {
          "const": true,
          "description": "Explicit authority to process the submitted data; not an assertion of human consent on someone's behalf."
        },
        "scope_acknowledged": {
          "const": true,
          "description": "Explicit acknowledgment of the bounded, low-risk profile."
        },
        "evidence_origin": {
          "type": "string",
          "enum": [
            "synthetic",
            "user_declared"
          ],
          "description": "A declaration, not verified field evidence."
        },
        "query_kind": {
          "enum": [
            "frontier",
            "selector"
          ]
        },
        "input_json": {
          "type": "string",
          "minLength": 2,
          "maxLength": 110000
        },
        "result_json": {
          "type": "string",
          "minLength": 2,
          "maxLength": 110000
        },
        "certificate_json": {
          "type": "string",
          "minLength": 2,
          "maxLength": 110000
        }
      },
      "required": [
        "permission_confirmed",
        "scope_acknowledged",
        "query_kind",
        "input_json",
        "result_json",
        "certificate_json"
      ]
    },
    "HoursInput": {
      "type": "object",
      "properties": {
        "permission_confirmed": {
          "const": true,
          "description": "Explicit authority to process the submitted data; not an assertion of human consent on someone's behalf."
        },
        "scope_acknowledged": {
          "const": true,
          "description": "Explicit acknowledgment of the bounded, low-risk profile."
        },
        "evidence_origin": {
          "type": "string",
          "enum": [
            "synthetic",
            "user_declared"
          ],
          "description": "A declaration, not verified field evidence."
        },
        "assignments": {
          "type": "array",
          "minItems": 1,
          "maxItems": 100,
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]+$",
                "maxLength": 64,
                "minLength": 1
              },
              "credit": {
                "type": [
                  "string",
                  "null"
                ],
                "minLength": 1,
                "maxLength": 64,
                "description": "Exact nonnegative integer, decimal or fraction; no exponent. null means unknown."
              }
            },
            "required": [
              "id"
            ]
          }
        },
        "target": {
          "type": [
            "string",
            "null"
          ],
          "minLength": 1,
          "maxLength": 64,
          "description": "Exact nonnegative numeric string, or null for unknown."
        }
      },
      "required": [
        "assignments",
        "permission_confirmed",
        "scope_acknowledged"
      ]
    }
  }
}

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/geniusdecision-app-create-case"
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. See our Privacy Policy and Terms.

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