{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/userlist/json-schema/userlist-post-companies-request-schema.json",
  "title": "PostCompaniesRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/userlist-openapi-generated.yml#/components/schemas/PostCompaniesRequest",
  "type": "object",
  "properties": {
    "identifier": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "properties": {
      "type": "object",
      "properties": {
        "industry": {
          "type": "string"
        },
        "billing_plan": {
          "type": "string"
        }
      }
    },
    "relationships": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {
              "identifier": {
                "type": "string"
              },
              "email": {
                "type": "string"
              },
              "properties": {
                "type": "object",
                "properties": {
                  "first_name": {
                    "type": "string"
                  },
                  "last_name": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "properties": {
            "type": "object",
            "properties": {
              "role": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}