farmOS · Schema
LogRequest
AgricultureFarm ManagementOpen SourceJSON:APIRecordkeepingSelf-HostedDrupal
Properties
| Name | Type | Description |
|---|---|---|
| data | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/farmos/json-schema/farmos-log-request-schema.json",
"title": "LogRequest",
"x-generated": "2026-11-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/farmos-logs-api-openapi.yml#/components/schemas/LogRequest",
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/$defs/LogData"
}
},
"$defs": {
"JsonApiLinks": {
"type": "object",
"properties": {
"self": {
"type": "string",
"format": "uri"
},
"related": {
"type": "string",
"format": "uri"
}
}
},
"JsonApiRelationship": {
"type": "object",
"properties": {
"data": {
"oneOf": [
{
"$ref": "#/$defs/JsonApiRelationshipData"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/JsonApiRelationshipData"
}
},
{
"type": [
"object",
"null"
],
"maxProperties": 0
}
]
},
"links": {
"$ref": "#/$defs/JsonApiLinks"
}
}
},
"JsonApiRelationshipData": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"id": {
"type": "string",
"format": "uuid"
}
}
},
"LogAttributes": {
"type": "object",
"description": "Common attributes shared by all log types",
"properties": {
"drupal_internal__id": {
"type": "integer",
"readOnly": true
},
"name": {
"type": "string",
"description": "Log name/title"
},
"timestamp": {
"type": "integer",
"description": "Unix timestamp of the log event"
},
"status": {
"type": "string",
"enum": [
"pending",
"done",
"abandoned"
],
"description": "Log completion status"
},
"notes": {
"type": "object",
"description": "Free-form notes (rich text)",
"properties": {
"value": {
"type": "string"
},
"format": {
"type": "string"
}
}
},
"geometry": {
"type": "string",
"description": "WKT geometry associated with this log"
},
"is_movement": {
"type": "boolean",
"description": "Whether this log records asset movement to a new location"
},
"image": {
"type": "array",
"items": {
"type": "object"
}
},
"file": {
"type": "array",
"items": {
"type": "object"
}
},
"created": {
"type": "integer",
"readOnly": true
},
"changed": {
"type": "integer",
"readOnly": true
}
}
},
"LogData": {
"type": "object",
"required": [
"type",
"attributes"
],
"properties": {
"type": {
"type": "string",
"description": "JSON:API resource type (e.g., log--activity, log--harvest)"
},
"id": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"attributes": {
"$ref": "#/$defs/LogAttributes"
},
"relationships": {
"$ref": "#/$defs/LogRelationships"
},
"links": {
"$ref": "#/$defs/JsonApiLinks"
}
}
},
"LogRelationships": {
"type": "object",
"description": "Common relationships shared by all log types",
"properties": {
"asset": {
"$ref": "#/$defs/JsonApiRelationship"
},
"location": {
"$ref": "#/$defs/JsonApiRelationship"
},
"category": {
"$ref": "#/$defs/JsonApiRelationship"
},
"owner": {
"$ref": "#/$defs/JsonApiRelationship"
},
"quantity": {
"$ref": "#/$defs/JsonApiRelationship"
},
"image": {
"$ref": "#/$defs/JsonApiRelationship"
},
"file": {
"$ref": "#/$defs/JsonApiRelationship"
}
}
}
}
}
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/farmos-log-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.