{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-contribution-read-schema.json",
  "title": "ContributionRead",
  "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/ContributionRead",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "space_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Space Id"
    },
    "activity_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Activity Id"
    },
    "party_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Party Id"
    },
    "contribution_type": {
      "type": "string",
      "title": "Contribution Type"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "content": {
      "type": "string",
      "title": "Content"
    },
    "resource": {
      "additionalProperties": true,
      "type": "object",
      "title": "Resource"
    },
    "artifact_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Artifact Uri"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tags"
    },
    "parent_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Id"
    },
    "contribution_metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Contribution Metadata"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "agent_id",
    "space_id",
    "activity_id",
    "party_id",
    "contribution_type",
    "title",
    "content",
    "resource",
    "artifact_uri",
    "tags",
    "parent_id",
    "contribution_metadata",
    "status",
    "created_at"
  ]
}