{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-contribution-create-schema.json",
  "title": "ContributionCreate",
  "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/ContributionCreate",
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "contribution_type": {
      "type": "string",
      "enum": [
        "message",
        "idea",
        "skill",
        "compute",
        "data",
        "tool",
        "artifact",
        "work",
        "funding",
        "proposal"
      ],
      "title": "Contribution Type"
    },
    "title": {
      "type": "string",
      "maxLength": 255,
      "title": "Title",
      "default": ""
    },
    "content": {
      "type": "string",
      "title": "Content",
      "default": ""
    },
    "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"
    },
    "metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Metadata"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "contribution_type"
  ]
}