{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/auravant/json-schema/auravant-post-registro-campo-otroslabores-request-schema.json",
  "title": "PostRegistroCampoOtroslaboresRequest",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/auravant-openapi-generated.yml#/components/schemas/PostRegistroCampoOtroslaboresRequest",
  "type": "object",
  "properties": {
    "uuids": {
      "type": "array"
    },
    "fields": {
      "type": "array",
      "description": "requerido si no hay campaigns"
    },
    "campaigns": {
      "type": "array",
      "description": "requerido si no hay fields"
    },
    "yeargroup": {
      "type": "integer"
    },
    "biennial": {
      "type": "boolean"
    },
    "status": {
      "type": "integer"
    },
    "date": {
      "type": "string"
    },
    "completion_date": {
      "type": "string"
    },
    "observations": {
      "type": "string"
    },
    "inputs": {
      "type": "array"
    },
    "tipo_otro_labor": {
      "type": "integer",
      "description": "tipo de otra labor"
    },
    "superficie_real": {
      "type": "number"
    },
    "unidad_medida": {
      "type": "string"
    },
    "extra_cost": {
      "type": "object",
      "description": "costos extras pertenecientes a la labor"
    },
    "materiales": {
      "type": "object",
      "description": "costo extra de materiales"
    },
    "labour_cost": {
      "type": "object",
      "description": "costo y tipo de costo de la labor"
    }
  },
  "required": [
    "tipo_otro_labor",
    "extra_cost"
  ]
}