{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-resource-disclosure-create-schema.json",
  "title": "ResourceDisclosureCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-disclosures-api-openapi.yml#/components/schemas/ResourceDisclosureCreate",
  "properties": {
    "owner_agent_id": {
      "type": "string",
      "title": "Owner Agent Id"
    },
    "private_resource_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Private Resource Id"
    },
    "disclosure_type": {
      "type": "string",
      "enum": [
        "resource",
        "capability",
        "need",
        "interest"
      ],
      "title": "Disclosure Type",
      "default": "resource"
    },
    "title": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Title"
    },
    "summary": {
      "type": "string",
      "title": "Summary",
      "default": ""
    },
    "public_attributes": {
      "additionalProperties": true,
      "type": "object",
      "title": "Public Attributes"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tags"
    },
    "visibility": {
      "type": "string",
      "enum": [
        "network",
        "public",
        "space",
        "party"
      ],
      "title": "Visibility",
      "default": "network"
    },
    "scope": {
      "additionalProperties": true,
      "type": "object",
      "title": "Scope"
    },
    "ttl_seconds": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 31536000.0,
          "minimum": 60.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Ttl Seconds"
    }
  },
  "type": "object",
  "required": [
    "owner_agent_id",
    "title"
  ]
}