4chems · Schema

SelfServiceTenantCreateIn

Request body for POST /v1/onboarding/tenants (UC-052). The domain is derived from the caller's verified token email claim (NFR-006 pt 4) — it is not a request parameter. attestation must be true; the endpoint raises 422 if false (NFR-006 §8a).

ChemicalsRegulatoryArtificial IntelligenceHostingConsultingEU

Properties

Name Type Description
legal_entity object
attestation boolean
bot_signals object
View JSON Schema on GitHub

JSON Schema

4chems-com-self-service-tenant-create-in-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/4chems-com/json-schema/4chems-com-self-service-tenant-create-in-schema.json",
  "title": "SelfServiceTenantCreateIn",
  "description": "Request body for POST /v1/onboarding/tenants (UC-052).\n\nThe domain is derived from the caller's verified token email claim\n(NFR-006 pt 4) — it is not a request parameter.\nattestation must be true; the endpoint raises 422 if false (NFR-006 §8a).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/4chems-com-onboarding-api-openapi.yml#/components/schemas/SelfServiceTenantCreateIn",
  "properties": {
    "legal_entity": {
      "$ref": "#/$defs/LegalEntityIn"
    },
    "attestation": {
      "type": "boolean",
      "title": "Attestation"
    },
    "bot_signals": {
      "anyOf": [
        {
          "$ref": "#/$defs/BotSignalsIn"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "legal_entity",
    "attestation"
  ],
  "$defs": {
    "BotSignalsIn": {
      "properties": {
        "honeypot": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Honeypot"
        },
        "submit_timing_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Submit Timing Ms"
        }
      },
      "type": "object",
      "title": "BotSignalsIn",
      "description": "Advisory bot-detection signals from the onboarding wizard (UC-052).\n\nRecorded and fed to scoring; never used as a hard gate."
    },
    "LegalEntityIn": {
      "properties": {
        "country": {
          "type": "string",
          "pattern": "^[A-Z]{2}$",
          "title": "Country"
        },
        "legal_entity_type": {
          "type": "string",
          "pattern": "^[A-Z]{2,3}_[A-Z0-9][A-Z0-9_]*$",
          "title": "Legal Entity Type"
        },
        "other_label": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80,
              "minLength": 2
            },
            {
              "type": "null"
            }
          ],
          "title": "Other Label"
        },
        "name": {
          "type": "string",
          "maxLength": 200,
          "minLength": 1,
          "title": "Name"
        }
      },
      "type": "object",
      "required": [
        "country",
        "legal_entity_type",
        "name"
      ],
      "title": "LegalEntityIn",
      "description": "Composite legal-entity input validated against the country catalog.\n\nRules:\n- *country* must be a supported market (validated at field level via SupportedCountry,\n  caught in the model validator against the loaded catalog).\n- *legal_entity_type* must appear in that country's catalog file.\n- When *legal_entity_type* is ``<CC>_OTHER``, *other_label* is required (2-80 chars).\n- For any other type, *other_label* must be absent."
    }
  }
}

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/4chems-com-self-service-tenant-create-in"
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.