{
  "$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/education_platform.json",
  "$id": "https://schemas.meta-aiml.org/v3.0.0/entity/education_platform.json",
  "@type": "EducationPlatform",
  "schemaVersion": "3.0.0",
  "aimlVersion": "3.0.0",
  "title": "Education Platform Entity Schema",
  "description": "v3 schema for digital education platforms delivering learning content, assessments, and progress tracking directly to learners and organizations.",
  "examples": [
    {
      "description": "MOOC platform with self-paced courses and certificate issuance",
      "reference": "education_platform_example_mooc"
    },
    {
      "description": "Enterprise learning platform with cohort management and analytics",
      "reference": "education_platform_example_enterprise_learning"
    }
  ],
  "type": "object",
  "additionalProperties": false,
  "allOf": [
    {
      "$ref": "../ontology/digital_entity.json"
    },
    {
      "$ref": "../archetypes/direct_service.json"
    }
  ],
  "properties": {
    "@type": {
      "const": "EducationPlatform"
    },
    "ontologicalMode": {
      "const": "DigitalEntity"
    },
    "interactionArchetype": {
      "type": "array",
      "contains": {
        "const": "DirectService"
      },
      "items": {
        "type": "string",
        "enum": [
          "DirectService"
        ]
      }
    },
    "domain": {
      "const": "Education"
    },
    "businessModel": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Subscription",
          "Transactional",
          "Freemium",
          "EnterpriseLicense"
        ]
      }
    },
    "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": {
      "$ref": "../components/multilingual_format.json#/$defs/LocalizedTextOrString"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "foundingDate": {
      "type": "string",
      "format": "date"
    },
    "properties": {
      "type": "object",
      "properties": {
        "deliveryModel": {
          "type": "string",
          "enum": [
            "self_paced",
            "cohort_based",
            "instructor_led",
            "hybrid"
          ]
        },
        "credentialTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "certificate",
              "badge",
              "diploma",
              "completion_only"
            ]
          }
        },
        "assessmentModel": {
          "type": "string",
          "enum": [
            "quiz_based",
            "project_based",
            "exam_based",
            "mixed"
          ]
        },
        "supportsLiveSessions": {
          "type": "boolean"
        },
        "supportsOfflineLearning": {
          "type": "boolean"
        },
        "contactPoints": {
          "type": "array",
          "items": {
            "$ref": "../components/common_defs.json#/$defs/ContactPoint"
          }
        },
        "socialProfiles": {
          "type": "array",
          "items": {
            "$ref": "../components/common_defs.json#/$defs/SocialProfile"
          }
        },
        "identifiers": {
          "type": "array",
          "items": {
            "$ref": "../components/common_defs.json#/$defs/Identifier"
          }
        }
      }
    },
    "capabilities": {
      "type": "object",
      "required": [
        "interaction",
        "content"
      ],
      "properties": {
        "interaction": {
          "$ref": "../components/capability_groups.json#/$defs/InteractionCapabilities"
        },
        "content": {
          "$ref": "../components/capability_groups.json#/$defs/ContentCapabilities"
        },
        "community": {
          "$ref": "../components/capability_groups.json#/$defs/CommunityCapabilities"
        },
        "financial": {
          "$ref": "../components/capability_groups.json#/$defs/FinancialCapabilities"
        }
      }
    },
    "modules": {
      "type": "object",
      "properties": {
        "courseCatalog": {
          "type": "object",
          "properties": {
            "learningPathSupport": {
              "type": "boolean"
            },
            "taxonomyVersioned": {
              "type": "boolean"
            },
            "curriculumMappingEnabled": {
              "type": "boolean"
            }
          }
        },
        "assessment": {
          "type": "object",
          "properties": {
            "timedExamsEnabled": {
              "type": "boolean"
            },
            "proctoringEnabled": {
              "type": "boolean"
            },
            "questionBankEnabled": {
              "type": "boolean"
            }
          }
        },
        "progressTracking": {
          "type": "object",
          "properties": {
            "skillsMatrixEnabled": {
              "type": "boolean"
            },
            "cohortAnalyticsEnabled": {
              "type": "boolean"
            },
            "certificateAutomationEnabled": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "structuralMetadata": {
      "type": "object",
      "properties": {
        "topology": {
          "const": "binary"
        },
        "roles": {
          "const": [
            "user",
            "platform"
          ]
        },
        "valueSource": {
          "const": "platform_provided"
        },
        "transactionFlow": {
          "const": "direct"
        },
        "networkEffects": {
          "const": "none"
        },
        "learningEngagementPattern": {
          "type": "string",
          "enum": [
            "self_progression",
            "cohort_progression",
            "hybrid"
          ]
        }
      }
    },
    "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": "EducationPlatform is modeled as DigitalEntity + DirectService because platform-controlled learning workflows are provided directly to learners.",
    "disambiguationNotes": "Different from tutor marketplaces where platform primarily matches third-party providers and learners."
  },
  "governanceMetadata": {
    "entityVersion": "3.0.0",
    "introducedIn": "META-AIML v3.0.0",
    "stabilityLevel": "draft",
    "sdkValidationRules": [
      "RULE-EDUP-001: @type MUST equal \"EducationPlatform\"",
      "RULE-EDUP-002: ontologicalMode MUST equal \"DigitalEntity\"",
      "RULE-EDUP-003: interactionArchetype MUST contain \"DirectService\"",
      "RULE-EDUP-004: capabilities.interaction MUST be present",
      "RULE-EDUP-005: structuralMetadata.topology MUST equal \"binary\"",
      "RULE-EDUP-006: structuralMetadata.valueSource MUST equal \"platform_provided\""
    ]
  }
}
