Avetta · Schema
3.29.14_OnsiteCrewMemberWorkerResource
CompanySupply ChainRisk ManagementComplianceContractor ManagementSafetyESGSupplier Management
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| leader | boolean | |
| defaultCrew | boolean | |
| worker | object | |
| onsiteLogStatus | string | |
| onsiteLog | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/avetta/json-schema/avetta-3-29-14-onsite-crew-member-worker-resource-schema.json",
"title": "3.29.14_OnsiteCrewMemberWorkerResource",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/avetta-pegasusscope-scope-crew-controller-api-openapi.yml#/components/schemas/3.29.14_OnsiteCrewMemberWorkerResource",
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"leader": {
"type": "boolean"
},
"defaultCrew": {
"type": "boolean"
},
"worker": {
"$ref": "#/$defs/3.29.14_WorkerSummaryResource"
},
"onsiteLogStatus": {
"type": "string",
"enum": [
"LOGGED_IN",
"POSSIBLE_OVERSTAYER",
"OVERSTAYER",
"LOGGED_OUT"
]
},
"onsiteLog": {
"$ref": "#/$defs/3.29.14_OnsiteLogDetailedResource"
}
},
"$defs": {
"3.29.14_AddressResource": {
"required": [
"country"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"address": {
"maxLength": 200,
"minLength": 0,
"type": "string"
},
"town": {
"maxLength": 50,
"minLength": 0,
"type": "string"
},
"state": {
"maxLength": 50,
"minLength": 0,
"type": "string"
},
"postcode": {
"maxLength": 15,
"minLength": 0,
"type": "string"
},
"country": {
"maxLength": 2,
"minLength": 0,
"type": "string"
}
}
},
"3.29.14_KeyedIntegerClientResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string"
},
"clientKey": {
"$ref": "#/$defs/3.29.14_NaturalKeyResource"
}
}
},
"3.29.14_KeyedIntegerResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string"
}
}
},
"3.29.14_KeyedStringResource": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"3.29.14_LogpointMoveResource": {
"type": "object",
"properties": {
"logpoint": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"scope": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"moveDate": {
"type": "string"
}
}
},
"3.29.14_NaturalKeyResource": {
"type": "object",
"properties": {
"extSysKey": {
"type": "string"
},
"idKey": {
"type": "string"
}
}
},
"3.29.14_NextOfKinResource": {
"type": "object",
"properties": {
"firstName": {
"maxLength": 35,
"minLength": 0,
"type": "string"
},
"lastName": {
"maxLength": 45,
"minLength": 0,
"type": "string"
},
"phone": {
"maxLength": 50,
"minLength": 0,
"type": "string"
},
"email": {
"maxLength": 255,
"minLength": 0,
"type": "string"
},
"relationship": {
"type": "string",
"enum": [
"SPOUSE",
"PARTNER",
"MOTHER",
"FATHER",
"BROTHER",
"SISTER",
"SON",
"DAUGHTER",
"BOYFRIEND",
"GIRLFRIEND",
"SON_IN_LAW",
"DAUGHTER_IN_LAW",
"MOTHER_IN_LAW",
"FATHER_IN_LAW",
"OTHER",
"DOCTOR"
]
},
"updateTime": {
"type": "string"
}
}
},
"3.29.14_OnsiteLogDetailedResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"site": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"loginDate": {
"type": "string"
},
"logoutDate": {
"type": "string"
},
"person": {
"$ref": "#/$defs/3.29.14_PersonResource"
},
"inLogpoint": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"inScope": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"lastLogpointMove": {
"$ref": "#/$defs/3.29.14_LogpointMoveResource"
},
"outLogpoint": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"outScope": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"siteContact": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"inScopeDetailed": {
"$ref": "#/$defs/3.29.14_ScopeDetailResource"
},
"outScopeDetailed": {
"$ref": "#/$defs/3.29.14_ScopeDetailResource"
}
}
},
"3.29.14_PersonResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string"
},
"clientKey": {
"$ref": "#/$defs/3.29.14_NaturalKeyResource"
},
"personType": {
"type": "string",
"enum": [
"SITE_CONTACT",
"PERSONAL_CONTACT",
"USER",
"EMPLOYEE",
"CONTRACTOR",
"VISITOR",
"SUPERUSER",
"UNICORN_USER",
"INVALID_PERSON",
"MASTERKEY",
"CARDHOLDER",
"PAST_CARDHOLDER",
"INVISIBLE",
"IMPOSSIBLE"
]
},
"phone1": {
"type": "string"
},
"phone2": {
"type": "string"
}
}
},
"3.29.14_ScopeDefaultCompanyResource": {
"type": "object",
"properties": {
"scope": {
"$ref": "#/$defs/3.29.14_ScopeDetailResource"
},
"company": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
}
}
},
"3.29.14_ScopeDetailResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string"
},
"timezone": {
"type": "string"
},
"fatigueLimit": {
"type": "integer",
"format": "int32"
},
"siteId": {
"type": "integer",
"format": "int32"
},
"realmId": {
"type": "integer",
"format": "int32"
},
"concoId": {
"type": "integer",
"format": "int32"
},
"type": {
"type": "string",
"enum": [
"SYSTEM",
"REALM",
"SITE",
"LOCATION",
"CONCO_WEB",
"EMPLOYEE",
"UNKNOWN"
]
},
"typeDisplayName": {
"type": "string"
},
"ownerName": {
"type": "string"
},
"connectAccountId": {
"type": "string"
},
"connectClient": {
"type": "boolean"
},
"parentId": {
"type": "integer",
"format": "int32"
},
"realm": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"site": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"conco": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"topLevel": {
"type": "boolean"
}
}
},
"3.29.14_SiteLegacyIdResource": {
"type": "object",
"properties": {
"site": {
"$ref": "#/$defs/3.29.14_KeyedIntegerResource"
},
"legacyIdName": {
"type": "string"
},
"legacyId": {
"type": "string"
}
}
},
"3.29.14_WorkerSummaryResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"photoLink": {
"type": "string"
},
"companies": {
"type": "array",
"items": {
"$ref": "#/$defs/3.29.14_KeyedIntegerClientResource"
}
},
"email1": {
"type": "string"
},
"email2": {
"type": "string"
},
"uniqueEmail": {
"type": "string"
},
"phone1": {
"type": "string"
},
"phone2": {
"type": "string"
},
"address": {
"$ref": "#/$defs/3.29.14_AddressResource"
},
"nextOfKin": {
"$ref": "#/$defs/3.29.14_NextOfKinResource"
},
"status": {
"type": "string",
"enum": [
"PENDING",
"APPROVED",
"ARCHIVED"
]
},
"locale": {
"type": "string"
},
"mergedToPersonId": {
"type": "integer",
"format": "int32"
},
"createTime": {
"type": "string"
},
"updateTime": {
"type": "string"
},
"personTypes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"SITE_CONTACT",
"PERSONAL_CONTACT",
"USER",
"EMPLOYEE",
"CONTRACTOR",
"VISITOR",
"SUPERUSER",
"UNICORN_USER",
"INVALID_PERSON",
"MASTERKEY",
"CARDHOLDER",
"PAST_CARDHOLDER",
"INVISIBLE",
"IMPOSSIBLE"
]
}
},
"email": {
"type": "string"
},
"blocked": {
"type": "boolean"
},
"blockRecursive": {
"type": "boolean"
},
"defaultCompanies": {
"type": "array",
"items": {
"$ref": "#/$defs/3.29.14_ScopeDefaultCompanyResource"
}
},
"siteLegacyIds": {
"type": "array",
"items": {
"$ref": "#/$defs/3.29.14_SiteLegacyIdResource"
}
},
"externalIds": {
"type": "array",
"items": {
"$ref": "#/$defs/3.29.14_KeyedStringResource"
}
},
"clientKey": {
"$ref": "#/$defs/3.29.14_NaturalKeyResource"
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/avetta-3-29-14-onsite-crew-member-worker-resource"
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.