{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-outcome-read-schema.json",
  "title": "OutcomeRead",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-activities-api-openapi.yml#/components/schemas/OutcomeRead",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "activity_id": {
      "type": "string",
      "title": "Activity Id"
    },
    "party_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Party Id"
    },
    "creator_agent_id": {
      "type": "string",
      "title": "Creator Agent Id"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "contribution_ids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Contribution Ids"
    },
    "artifacts": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Artifacts"
    },
    "value": {
      "additionalProperties": true,
      "type": "object",
      "title": "Value"
    },
    "outcome_metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Outcome Metadata"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "activity_id",
    "party_id",
    "creator_agent_id",
    "title",
    "summary",
    "contribution_ids",
    "artifacts",
    "value",
    "outcome_metadata",
    "status",
    "created_at"
  ]
}