{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "@context": [
    "https://schemas.meta-aiml.org/v3.0.0/context.jsonld"
  ],
  "@id": "https://schemas.meta-aiml.org/v3.0.0/entity/blog.json",
  "$id": "https://schemas.meta-aiml.org/v3.0.0/entity/blog.json",
  "@type": "Blog",
  "schemaVersion": "3.0.0",
  "aimlVersion": "3.0.0",
  "title": "Blog Entity Schema",
  "description": "v3 schema for editorial blog platforms where value is created by publisher-authored articles and distributed to a broad audience via web and feed channels.",
  "examples": [
    {
      "description": "Technology blog with weekly long-form analysis and newsletter syndication",
      "reference": "blog_example_tech_editorial"
    },
    {
      "description": "Product blog publishing release notes and educational how-to content",
      "reference": "blog_example_product_education"
    }
  ],
  "type": "object",
  "additionalProperties": false,
  "allOf": [
    {
      "$ref": "../ontology/digital_entity.json"
    },
    {
      "$ref": "../archetypes/broadcast_publisher.json"
    }
  ],
  "properties": {
    "@type": {
      "const": "Blog"
    },
    "ontologicalMode": {
      "const": "DigitalEntity"
    },
    "interactionArchetype": {
      "type": "array",
      "contains": {
        "const": "BroadcastPublisher"
      },
      "items": {
        "type": "string",
        "enum": [
          "BroadcastPublisher"
        ]
      }
    },
    "domain": {
      "const": "Media"
    },
    "businessModel": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Advertising",
          "Subscription",
          "Sponsorship"
        ]
      }
    },
    "deliveryFormat": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "WebApp",
          "MobileApp",
          "API"
        ]
      }
    },
    "name": {
      "$ref": "../components/multilingual_format.json#/$defs/LocalizedText"
    },
    "description": {
      "$ref": "../components/multilingual_format.json#/$defs/LocalizedText"
    },
    "shortDescription": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "foundingDate": {
      "type": "string",
      "format": "date"
    },
    "properties": {
      "type": "object",
      "properties": {
        "editorialModel": {
          "type": "string",
          "enum": [
            "single_author",
            "editorial_team",
            "guest_contributors",
            "hybrid"
          ]
        },
        "publishingCadence": {
          "type": "string",
          "enum": [
            "daily",
            "weekly",
            "monthly",
            "irregular"
          ]
        },
        "commentPolicy": {
          "type": "string",
          "enum": [
            "disabled",
            "moderated",
            "open"
          ]
        },
        "supportsNewsletter": {
          "type": "boolean"
        },
        "supportsGuestPosts": {
          "type": "boolean"
        }
      }
    },
    "capabilities": {
      "type": "object",
      "required": [
        "content"
      ],
      "properties": {
        "content": {
          "$ref": "../components/capability_groups.json#/$defs/ContentCapabilities"
        },
        "interaction": {
          "$ref": "../components/capability_groups.json#/$defs/InteractionCapabilities"
        },
        "community": {
          "$ref": "../components/capability_groups.json#/$defs/CommunityCapabilities"
        },
        "financial": {
          "$ref": "../components/capability_groups.json#/$defs/FinancialCapabilities"
        }
      }
    },
    "modules": {
      "type": "object",
      "properties": {
        "editorial": {
          "type": "object",
          "properties": {
            "workflowStagesDefined": {
              "type": "boolean"
            },
            "factCheckWorkflowEnabled": {
              "type": "boolean"
            },
            "seoReviewEnabled": {
              "type": "boolean"
            }
          }
        },
        "distribution": {
          "type": "object",
          "properties": {
            "rssFeedsEnabled": {
              "type": "boolean"
            },
            "newsletterSyndicationEnabled": {
              "type": "boolean"
            },
            "socialAutoDistributionEnabled": {
              "type": "boolean"
            }
          }
        },
        "archive": {
          "type": "object",
          "properties": {
            "tagTaxonomyEnabled": {
              "type": "boolean"
            },
            "fullTextSearchEnabled": {
              "type": "boolean"
            },
            "revisionHistoryEnabled": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "structuralMetadata": {
      "type": "object",
      "properties": {
        "topology": {
          "const": "hub_and_spoke"
        },
        "roles": {
          "const": [
            "publisher",
            "audience"
          ]
        },
        "valueSource": {
          "const": "content_creation"
        },
        "transactionFlow": {
          "const": "one_to_many"
        },
        "networkEffects": {
          "const": "none"
        },
        "contentOwnership": {
          "type": "string",
          "enum": [
            "platform_owned",
            "creator_owned",
            "mixed"
          ]
        }
      }
    },
    "targetAudience": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "siteCapabilities": {
      "type": "object",
      "properties": {
        "supportedDevices": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ]
          }
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "accessibilityFeatures": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "@type",
    "ontologicalMode",
    "interactionArchetype",
    "domain",
    "name",
    "description",
    "deliveryFormat",
    "capabilities",
    "structuralMetadata",
    "modules"
  ],
  "validationMetadata": {
    "schemaVersion": "3.0.0",
    "phase": "entity",
    "status": "draft",
    "lastValidated": "2026-02-20T12:00:00Z",
    "validator": "META-AIML QA"
  },
  "semanticAnnotations": {
    "classificationRationale": "Blog is modeled as DigitalEntity + BroadcastPublisher because publisher-authored content is distributed one-to-many to readers.",
    "disambiguationNotes": "Different from social platforms where user-generated graph interactions are primary value source."
  },
  "governanceMetadata": {
    "entityVersion": "3.0.0",
    "introducedIn": "META-AIML v3.0.0",
    "stabilityLevel": "draft",
    "sdkValidationRules": [
      "RULE-BLOG-001: @type MUST equal \"Blog\"",
      "RULE-BLOG-002: ontologicalMode MUST equal \"DigitalEntity\"",
      "RULE-BLOG-003: interactionArchetype MUST contain \"BroadcastPublisher\"",
      "RULE-BLOG-004: capabilities.content MUST be present",
      "RULE-BLOG-005: structuralMetadata.topology MUST equal \"hub_and_spoke\"",
      "RULE-BLOG-006: structuralMetadata.valueSource MUST equal \"content_creation\""
    ]
  }
}
