{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rankparse-com/json-schema/rankparse-com-schema-markup-entity-schema.json",
  "title": "SchemaMarkupEntity",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rankparse-com-openapi.yaml#/components/schemas/SchemaMarkupEntity",
  "type": "object",
  "required": [
    "type",
    "id",
    "block_index",
    "source",
    "properties"
  ],
  "properties": {
    "type": {
      "type": "array",
      "description": "Normalized schema.org @type(s) — always an array, even for a single string @type.",
      "items": {
        "type": "string"
      }
    },
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The entity's @id, if present."
    },
    "block_index": {
      "type": "integer",
      "description": "Index (0-based) of the <script type=\"application/ld+json\"> block this entity came from."
    },
    "source": {
      "type": "string",
      "enum": [
        "top_level",
        "graph"
      ],
      "description": "Whether this entity was the block's top-level object/array item, or nested inside @graph."
    },
    "properties": {
      "type": "object",
      "description": "The full parsed JSON-LD object for this entity, including @context/@type/@id and all fields."
    }
  }
}