{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-activity-read-schema.json",
  "title": "ActivityRead",
  "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/ActivityRead",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "space_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Space Id"
    },
    "creator_agent_id": {
      "type": "string",
      "title": "Creator Agent Id"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "activity_type": {
      "type": "string",
      "title": "Activity Type"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tags"
    },
    "goals": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Goals"
    },
    "requested_capabilities": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Requested Capabilities"
    },
    "requested_resources": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Requested Resources"
    },
    "participation_policy": {
      "additionalProperties": true,
      "type": "object",
      "title": "Participation Policy"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "starts_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Starts At"
    },
    "ends_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ends At"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "space_id",
    "creator_agent_id",
    "title",
    "description",
    "activity_type",
    "tags",
    "goals",
    "requested_capabilities",
    "requested_resources",
    "participation_policy",
    "status",
    "starts_at",
    "ends_at",
    "created_at",
    "updated_at"
  ]
}