OrgX · Schema

WorkloadDiagnosisRequest

Artificial IntelligenceAutomationEnterpriseWorkflowsCompliance

Properties

Name Type Description
schema_version string
workload object
View JSON Schema on GitHub

JSON Schema

useorgx-com-workload-diagnosis-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/useorgx-com/json-schema/useorgx-com-workload-diagnosis-request-schema.json",
  "title": "WorkloadDiagnosisRequest",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/useorgx-com-openapi.yml#/components/schemas/WorkloadDiagnosisRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema_version",
    "workload"
  ],
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "workload-diagnosis/0.1"
    },
    "workload": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "name",
        "outcome",
        "time_horizon",
        "agent_count",
        "coordination",
        "systems",
        "authority",
        "accountability"
      ],
      "allOf": [
        {
          "if": {
            "required": [
              "agent_count"
            ],
            "properties": {
              "agent_count": {
                "const": 1
              }
            }
          },
          "then": {
            "properties": {
              "coordination": {
                "const": "none"
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "authority"
            ],
            "properties": {
              "authority": {
                "required": [
                  "actions"
                ],
                "properties": {
                  "actions": {
                    "contains": {
                      "const": "write_internal_records"
                    }
                  }
                }
              }
            }
          },
          "then": {
            "properties": {
              "systems": {
                "contains": {
                  "required": [
                    "access"
                  ],
                  "properties": {
                    "access": {
                      "enum": [
                        "write",
                        "admin"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "authority"
            ],
            "properties": {
              "authority": {
                "required": [
                  "actions"
                ],
                "properties": {
                  "actions": {
                    "contains": {
                      "const": "modify_code"
                    }
                  }
                }
              }
            }
          },
          "then": {
            "properties": {
              "systems": {
                "contains": {
                  "required": [
                    "category",
                    "access"
                  ],
                  "properties": {
                    "category": {
                      "enum": [
                        "code_repository",
                        "local_files"
                      ]
                    },
                    "access": {
                      "enum": [
                        "write",
                        "admin"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "authority"
            ],
            "properties": {
              "authority": {
                "required": [
                  "actions"
                ],
                "properties": {
                  "actions": {
                    "contains": {
                      "const": "merge_or_deploy"
                    }
                  }
                }
              }
            }
          },
          "then": {
            "properties": {
              "systems": {
                "contains": {
                  "required": [
                    "category",
                    "access"
                  ],
                  "properties": {
                    "category": {
                      "enum": [
                        "code_repository",
                        "cloud_runtime"
                      ]
                    },
                    "access": {
                      "enum": [
                        "write",
                        "admin"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "authority"
            ],
            "properties": {
              "authority": {
                "required": [
                  "actions"
                ],
                "properties": {
                  "actions": {
                    "contains": {
                      "const": "send_external_message"
                    }
                  }
                }
              }
            }
          },
          "then": {
            "properties": {
              "systems": {
                "contains": {
                  "required": [
                    "category",
                    "access"
                  ],
                  "properties": {
                    "category": {
                      "enum": [
                        "messaging",
                        "crm",
                        "browser",
                        "other"
                      ]
                    },
                    "access": {
                      "enum": [
                        "write",
                        "admin"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "authority"
            ],
            "properties": {
              "authority": {
                "required": [
                  "actions"
                ],
                "properties": {
                  "actions": {
                    "contains": {
                      "const": "spend_funds"
                    }
                  }
                }
              }
            }
          },
          "then": {
            "properties": {
              "systems": {
                "contains": {
                  "required": [
                    "category",
                    "access"
                  ],
                  "properties": {
                    "category": {
                      "enum": [
                        "finance",
                        "browser"
                      ]
                    },
                    "access": {
                      "enum": [
                        "write",
                        "admin"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "authority"
            ],
            "properties": {
              "authority": {
                "required": [
                  "actions"
                ],
                "properties": {
                  "actions": {
                    "contains": {
                      "const": "create_account"
                    }
                  }
                }
              }
            }
          },
          "then": {
            "properties": {
              "systems": {
                "contains": {
                  "required": [
                    "category",
                    "access"
                  ],
                  "properties": {
                    "category": {
                      "enum": [
                        "identity",
                        "browser",
                        "other"
                      ]
                    },
                    "access": {
                      "enum": [
                        "write",
                        "admin"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "authority"
            ],
            "properties": {
              "authority": {
                "required": [
                  "actions"
                ],
                "properties": {
                  "actions": {
                    "contains": {
                      "const": "change_permissions"
                    }
                  }
                }
              }
            }
          },
          "then": {
            "properties": {
              "systems": {
                "contains": {
                  "required": [
                    "access"
                  ],
                  "properties": {
                    "access": {
                      "const": "admin"
                    }
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "required": [
              "authority"
            ],
            "properties": {
              "authority": {
                "required": [
                  "actions"
                ],
                "properties": {
                  "actions": {
                    "contains": {
                      "const": "delete_data"
                    }
                  }
                }
              }
            }
          },
          "then": {
            "properties": {
              "systems": {
                "contains": {
                  "required": [
                    "category",
                    "access"
                  ],
                  "properties": {
                    "category": {
                      "enum": [
                        "code_repository",
                        "document_store",
                        "crm",
                        "database",
                        "cloud_runtime",
                        "local_files",
                        "other"
                      ]
                    },
                    "access": {
                      "enum": [
                        "write",
                        "admin"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Trimmed before the 1-to-120-character length check; whitespace-only, control-character, and credential-shaped values are rejected with 400.",
          "minLength": 1,
          "allOf": [
            {
              "pattern": "\\S"
            },
            {
              "pattern": "^\\s*(?:\\S|\\S[\\s\\S]{0,118}\\S)\\s*$"
            },
            {
              "not": {
                "pattern": "[\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]"
              }
            },
            {
              "not": {
                "pattern": "(?:\\b(?:[Aa][Pp][Ii][_-]?[Kk][Ee][Yy]|[Aa][Cc][Cc][Ee][Ss][Ss][_-]?[Tt][Oo][Kk][Ee][Nn]|[Rr][Ee][Ff][Rr][Ee][Ss][Hh][_-]?[Tt][Oo][Kk][Ee][Nn]|[Cc][Ll][Ii][Ee][Nn][Tt][_-]?[Ss][Ee][Cc][Rr][Ee][Tt]|[Pp][Aa][Ss][Ss][Ww][Oo][Rr][Dd])\\s*[:=]\\s*\\S+|\\b[Bb][Ee][Aa][Rr][Ee][Rr]\\s+[A-Za-z0-9._~+/=-]{8,}|\\b(?:(?:[Oo][Xx][Kk]_|[Ss][Kk]-|[Gg][Hh][PpOoUuSsRr]_)[A-Za-z0-9_-]{8,}|[Aa][Kk][Ii][Aa][A-Za-z0-9]{16})\\b|-----[Bb][Ee][Gg][Ii][Nn] [A-Za-z ]*[Pp][Rr][Ii][Vv][Aa][Tt][Ee] [Kk][Ee][Yy]-----|:\\/\\/[^\\/\\s:@]+:[^\\/\\s@]+@)"
              }
            },
            {
              "not": {
                "pattern": "(?:\\b[Gg][Ii][Tt][Hh][Uu][Bb]_[Pp][Aa][Tt]_[A-Za-z0-9_]{8,}|\\b[Gg][Ll][Pp][Aa][Tt]-[A-Za-z0-9_-]{16,}|\\b[Xx][Oo][Xx][BbAaPpRrSs]-[A-Za-z0-9-]{8,}|\\b[Ss][Kk]_[Ll][Ii][Vv][Ee]_[A-Za-z0-9_-]{8,}|\\b[Rr][Kk]_[Ll][Ii][Vv][Ee]_[A-Za-z0-9_-]{8,}|\\b[Nn][Pp][Mm]_[A-Za-z0-9]{8,}|\\b[Aa][Ss][Ii][Aa][A-Z0-9]{16}|\\b[Dd][Oo][Pp]_[Vv]1_[A-Fa-f0-9]{16,}|\\b[Hh][Ff]_[A-Za-z0-9]{20,}|\\beyJ[A-Za-z0-9_-]{8,}\\.eyJ[A-Za-z0-9_-]{8,}\\.[A-Za-z0-9_-]{8,})"
              }
            }
          ]
        },
        "outcome": {
          "type": "string",
          "description": "Trimmed before the 1-to-500-character length check; whitespace-only, control-character, and credential-shaped values are rejected with 400.",
          "minLength": 1,
          "allOf": [
            {
              "pattern": "\\S"
            },
            {
              "pattern": "^\\s*(?:\\S|\\S[\\s\\S]{0,498}\\S)\\s*$"
            },
            {
              "not": {
                "pattern": "[\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f\\u007f]"
              }
            },
            {
              "not": {
                "pattern": "(?:\\b(?:[Aa][Pp][Ii][_-]?[Kk][Ee][Yy]|[Aa][Cc][Cc][Ee][Ss][Ss][_-]?[Tt][Oo][Kk][Ee][Nn]|[Rr][Ee][Ff][Rr][Ee][Ss][Hh][_-]?[Tt][Oo][Kk][Ee][Nn]|[Cc][Ll][Ii][Ee][Nn][Tt][_-]?[Ss][Ee][Cc][Rr][Ee][Tt]|[Pp][Aa][Ss][Ss][Ww][Oo][Rr][Dd])\\s*[:=]\\s*\\S+|\\b[Bb][Ee][Aa][Rr][Ee][Rr]\\s+[A-Za-z0-9._~+/=-]{8,}|\\b(?:(?:[Oo][Xx][Kk]_|[Ss][Kk]-|[Gg][Hh][PpOoUuSsRr]_)[A-Za-z0-9_-]{8,}|[Aa][Kk][Ii][Aa][A-Za-z0-9]{16})\\b|-----[Bb][Ee][Gg][Ii][Nn] [A-Za-z ]*[Pp][Rr][Ii][Vv][Aa][Tt][Ee] [Kk][Ee][Yy]-----|:\\/\\/[^\\/\\s:@]+:[^\\/\\s@]+@)"
              }
            },
            {
              "not": {
                "pattern": "(?:\\b[Gg][Ii][Tt][Hh][Uu][Bb]_[Pp][Aa][Tt]_[A-Za-z0-9_]{8,}|\\b[Gg][Ll][Pp][Aa][Tt]-[A-Za-z0-9_-]{16,}|\\b[Xx][Oo][Xx][BbAaPpRrSs]-[A-Za-z0-9-]{8,}|\\b[Ss][Kk]_[Ll][Ii][Vv][Ee]_[A-Za-z0-9_-]{8,}|\\b[Rr][Kk]_[Ll][Ii][Vv][Ee]_[A-Za-z0-9_-]{8,}|\\b[Nn][Pp][Mm]_[A-Za-z0-9]{8,}|\\b[Aa][Ss][Ii][Aa][A-Z0-9]{16}|\\b[Dd][Oo][Pp]_[Vv]1_[A-Fa-f0-9]{16,}|\\b[Hh][Ff]_[A-Za-z0-9]{20,}|\\beyJ[A-Za-z0-9_-]{8,}\\.eyJ[A-Za-z0-9_-]{8,}\\.[A-Za-z0-9_-]{8,})"
              }
            }
          ]
        },
        "time_horizon": {
          "type": "string",
          "enum": [
            "single_turn",
            "single_session",
            "multi_day",
            "recurring",
            "continuous"
          ]
        },
        "agent_count": {
          "type": "integer",
          "minimum": 1,
          "maximum": 64
        },
        "coordination": {
          "type": "string",
          "enum": [
            "none",
            "handoff",
            "parallel",
            "hierarchical"
          ]
        },
        "systems": {
          "type": "array",
          "maxItems": 12,
          "uniqueItems": true,
          "description": "Each category may appear at most once; report its highest access and consequence.",
          "allOf": [
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "code_repository"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "issue_tracker"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "document_store"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "messaging"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "crm"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "database"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "cloud_runtime"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "finance"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "browser"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "local_files"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "identity"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            },
            {
              "contains": {
                "required": [
                  "category"
                ],
                "properties": {
                  "category": {
                    "const": "other"
                  }
                }
              },
              "minContains": 0,
              "maxContains": 1
            }
          ],
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "category",
              "access",
              "side_effect",
              "data_class"
            ],
            "properties": {
              "category": {
                "type": "string",
                "enum": [
                  "code_repository",
                  "issue_tracker",
                  "document_store",
                  "messaging",
                  "crm",
                  "database",
                  "cloud_runtime",
                  "finance",
                  "browser",
                  "local_files",
                  "identity",
                  "other"
                ]
              },
              "access": {
                "type": "string",
                "enum": [
                  "read",
                  "write",
                  "admin"
                ]
              },
              "side_effect": {
                "type": "string",
                "enum": [
                  "none",
                  "reversible",
                  "external",
                  "irreversible"
                ]
              },
              "data_class": {
                "type": "string",
                "enum": [
                  "public",
                  "internal",
                  "confidential",
                  "regulated"
                ]
              }
            }
          }
        },
        "authority": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "actions",
            "approval_policy",
            "budget_control"
          ],
          "allOf": [
            {
              "if": {
                "properties": {
                  "actions": {
                    "contains": {
                      "enum": [
                        "write_internal_records",
                        "modify_code",
                        "merge_or_deploy",
                        "send_external_message",
                        "spend_funds",
                        "create_account",
                        "change_permissions",
                        "delete_data"
                      ]
                    }
                  }
                }
              },
              "then": {
                "properties": {
                  "approval_policy": {
                    "enum": [
                      "per_action",
                      "sensitive_actions",
                      "exceptions_only",
                      "undefined"
                    ]
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "actions": {
                    "contains": {
                      "const": "spend_funds"
                    }
                  }
                }
              },
              "then": {
                "properties": {
                  "budget_control": {
                    "enum": [
                      "fixed_limit",
                      "dynamic_limit",
                      "unbounded",
                      "undefined"
                    ]
                  }
                }
              },
              "else": {
                "properties": {
                  "budget_control": {
                    "enum": [
                      "not_applicable",
                      "undefined"
                    ]
                  }
                }
              }
            }
          ],
          "properties": {
            "actions": {
              "type": "array",
              "uniqueItems": true,
              "maxItems": 11,
              "items": {
                "type": "string",
                "enum": [
                  "research",
                  "draft",
                  "read_internal_data",
                  "write_internal_records",
                  "modify_code",
                  "merge_or_deploy",
                  "send_external_message",
                  "spend_funds",
                  "create_account",
                  "change_permissions",
                  "delete_data"
                ]
              }
            },
            "approval_policy": {
              "type": "string",
              "enum": [
                "not_applicable",
                "per_action",
                "sensitive_actions",
                "exceptions_only",
                "undefined"
              ]
            },
            "budget_control": {
              "type": "string",
              "enum": [
                "not_applicable",
                "fixed_limit",
                "dynamic_limit",
                "unbounded",
                "undefined"
              ]
            }
          }
        },
        "accountability": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "evidence",
            "acceptance",
            "consequence",
            "retention"
          ],
          "properties": {
            "evidence": {
              "type": "string",
              "enum": [
                "none",
                "activity_log",
                "artifact",
                "verified_outcome"
              ]
            },
            "acceptance": {
              "type": "string",
              "enum": [
                "none",
                "agent",
                "human",
                "downstream_system"
              ]
            },
            "consequence": {
              "type": "string",
              "enum": [
                "low",
                "moderate",
                "high",
                "regulated"
              ]
            },
            "retention": {
              "type": "string",
              "enum": [
                "none",
                "short_term",
                "long_term",
                "regulated"
              ]
            }
          }
        }
      }
    }
  }
}

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/useorgx-com-workload-diagnosis-request"
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.