{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://iron-mark.github.io/Iron-Mark/schema/llms-index.schema.json",
  "title": "Iron-Mark llms-index.json",
  "description": "Profile, proof, source, location, and citation index for Mark Siazon.",
  "type": "object",
  "required": [
    "version",
    "updated",
    "contentRoot",
    "license",
    "citation",
    "entity",
    "identifiers",
    "availability",
    "canonical",
    "machineReadable",
    "featuredProjects",
    "hackathonLab",
    "achievements",
    "coreStack",
    "stackReference",
    "seo",
    "aeo",
    "triples",
    "schema"
  ],
  "properties": {
    "$schema": {
      "type": "string",
      "format": "uri"
    },
    "version": {
      "type": "string",
      "pattern": "^\\d+\\.\\d+\\.\\d+$"
    },
    "updated": {
      "type": "string",
      "format": "date",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "contentRoot": {
      "const": "public/"
    },
    "license": {
      "type": "string",
      "format": "uri"
    },
    "citation": {
      "type": "string",
      "format": "uri"
    },
    "entity": {
      "type": "object",
      "required": [
        "@type",
        "@id",
        "name",
        "description",
        "url",
        "email",
        "sameAs"
      ],
      "properties": {
        "@type": {
          "const": "Person"
        },
        "@id": {
          "type": "string",
          "format": "uri"
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "alternateName": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "type": "string"
          }
        },
        "jobTitle": {
          "type": "array",
          "minItems": 1,
          "uniqueItems": true,
          "items": {
            "type": "string"
          }
        },
        "description": {
          "type": "string",
          "minLength": 40
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "email": {
          "type": "string",
          "minLength": 3
        },
        "sameAs": {
          "type": "array",
          "minItems": 3,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "format": "uri"
          }
        },
        "address": {
          "type": "object",
          "required": [
            "@type",
            "addressCountry",
            "addressRegion"
          ],
          "properties": {
            "@type": {
              "const": "PostalAddress"
            },
            "addressCountry": {
              "type": "string",
              "minLength": 2
            },
            "addressRegion": {
              "type": "string",
              "minLength": 2
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "identifiers": {
      "type": "object",
      "required": [
        "person",
        "portfolioWebsite",
        "githubProfilePage",
        "githubProfileIndex",
        "githubPagesMirror",
        "faqDocument",
        "structuredIndex",
        "indexSchema",
        "personSchema",
        "faqSchema"
      ],
      "properties": {
        "person": {
          "type": "string",
          "format": "uri"
        },
        "portfolioWebsite": {
          "type": "string",
          "format": "uri"
        },
        "githubProfilePage": {
          "type": "string",
          "format": "uri"
        },
        "githubProfileIndex": {
          "type": "string",
          "format": "uri"
        },
        "githubPagesMirror": {
          "type": "string",
          "format": "uri"
        },
        "faqDocument": {
          "type": "string",
          "format": "uri"
        },
        "structuredIndex": {
          "type": "string",
          "format": "uri"
        },
        "wikidata": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "wikidataGuide": {
          "type": "string",
          "format": "uri"
        },
        "entityGuide": {
          "type": "string",
          "format": "uri"
        },
        "indexSchema": {
          "type": "string",
          "format": "uri"
        },
        "personSchema": {
          "type": "string",
          "format": "uri"
        },
        "faqSchema": {
          "type": "string",
          "format": "uri"
        }
      },
      "additionalProperties": false
    },
    "availability": {
      "type": "object",
      "required": [
        "status",
        "focus",
        "engagement",
        "location",
        "areaServed",
        "remote",
        "contact",
        "recruiterBrief"
      ],
      "properties": {
        "status": {
          "type": "string",
          "minLength": 2
        },
        "focus": {
          "type": "array",
          "minItems": 1,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 2
          }
        },
        "engagement": {
          "type": "array",
          "minItems": 1,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 2
          }
        },
        "location": {
          "type": "string",
          "minLength": 2
        },
        "areaServed": {
          "type": "array",
          "minItems": 1,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 2
          }
        },
        "remote": {
          "type": "boolean"
        },
        "contact": {
          "type": "string",
          "format": "uri"
        },
        "recruiterBrief": {
          "type": "string",
          "format": "uri"
        }
      },
      "additionalProperties": false
    },
    "canonical": {
      "type": "object",
      "required": [
        "portfolio",
        "githubProfileReadme",
        "techStack",
        "proofMatrix"
      ],
      "properties": {
        "portfolio": {
          "type": "string",
          "format": "uri"
        },
        "githubProfileReadme": {
          "type": "string",
          "format": "uri"
        },
        "techStack": {
          "type": "string",
          "format": "uri"
        },
        "proofMatrix": {
          "type": "string",
          "format": "uri"
        }
      },
      "additionalProperties": false
    },
    "machineReadable": {
      "type": "object",
      "required": [
        "repo",
        "pages",
        "portfolio"
      ],
      "properties": {
        "repo": {
          "type": "object",
          "required": [
            "llmsTxt",
            "llmsFullTxt",
            "llmsIndexJson",
            "llmsCtxFullTxt",
            "faqMd",
            "recruiterMd",
            "proofMd",
            "profileMd",
            "readmeMd",
            "howToCiteMd",
            "licenseMd",
            "citationCff",
            "schemaPerson",
            "schemaFaq",
            "schemaIndex",
            "humansTxt",
            "stackMd",
            "sitemap",
            "robots"
          ],
          "properties": {
            "llmsTxt": {
              "type": "string",
              "format": "uri"
            },
            "llmsFullTxt": {
              "type": "string",
              "format": "uri"
            },
            "llmsIndexJson": {
              "type": "string",
              "format": "uri"
            },
            "llmsCtxFullTxt": {
              "type": "string",
              "format": "uri"
            },
            "faqMd": {
              "type": "string",
              "format": "uri"
            },
            "recruiterMd": {
              "type": "string",
              "format": "uri"
            },
            "proofMd": {
              "type": "string",
              "format": "uri"
            },
            "profileMd": {
              "type": "string",
              "format": "uri"
            },
            "readmeMd": {
              "type": "string",
              "format": "uri"
            },
            "howToCiteMd": {
              "type": "string",
              "format": "uri"
            },
            "licenseMd": {
              "type": "string",
              "format": "uri"
            },
            "citationCff": {
              "type": "string",
              "format": "uri"
            },
            "schemaPerson": {
              "type": "string",
              "format": "uri"
            },
            "schemaFaq": {
              "type": "string",
              "format": "uri"
            },
            "schemaIndex": {
              "type": "string",
              "format": "uri"
            },
            "humansTxt": {
              "type": "string",
              "format": "uri"
            },
            "stackMd": {
              "type": "string",
              "format": "uri"
            },
            "sitemap": {
              "type": "string",
              "format": "uri"
            },
            "robots": {
              "type": "string",
              "format": "uri"
            }
          },
          "additionalProperties": false
        },
        "pages": {
          "type": "object",
          "required": [
            "home",
            "llmsTxt",
            "llmsFullTxt",
            "llmsIndexJson",
            "llmsCtxFullTxt",
            "faqMd",
            "recruiterMd",
            "proofMd",
            "profileMd",
            "readmeMd",
            "howToCiteMd",
            "licenseMd",
            "citationCff",
            "schemaPerson",
            "schemaFaq",
            "schemaIndex",
            "humansTxt",
            "stackMd",
            "sitemap",
            "robots"
          ],
          "properties": {
            "home": {
              "type": "string",
              "format": "uri"
            },
            "llmsTxt": {
              "type": "string",
              "format": "uri"
            },
            "llmsFullTxt": {
              "type": "string",
              "format": "uri"
            },
            "llmsIndexJson": {
              "type": "string",
              "format": "uri"
            },
            "llmsCtxFullTxt": {
              "type": "string",
              "format": "uri"
            },
            "faqMd": {
              "type": "string",
              "format": "uri"
            },
            "recruiterMd": {
              "type": "string",
              "format": "uri"
            },
            "proofMd": {
              "type": "string",
              "format": "uri"
            },
            "profileMd": {
              "type": "string",
              "format": "uri"
            },
            "readmeMd": {
              "type": "string",
              "format": "uri"
            },
            "howToCiteMd": {
              "type": "string",
              "format": "uri"
            },
            "licenseMd": {
              "type": "string",
              "format": "uri"
            },
            "citationCff": {
              "type": "string",
              "format": "uri"
            },
            "schemaPerson": {
              "type": "string",
              "format": "uri"
            },
            "schemaFaq": {
              "type": "string",
              "format": "uri"
            },
            "schemaIndex": {
              "type": "string",
              "format": "uri"
            },
            "humansTxt": {
              "type": "string",
              "format": "uri"
            },
            "stackMd": {
              "type": "string",
              "format": "uri"
            },
            "sitemap": {
              "type": "string",
              "format": "uri"
            },
            "robots": {
              "type": "string",
              "format": "uri"
            }
          },
          "additionalProperties": false
        },
        "portfolio": {
          "type": "object",
          "required": [
            "llmsTxt",
            "llmsFullTxt",
            "humansTxt",
            "sitemap",
            "rss",
            "jsonFeed"
          ],
          "properties": {
            "llmsTxt": {
              "type": "string",
              "format": "uri"
            },
            "llmsFullTxt": {
              "type": "string",
              "format": "uri"
            },
            "humansTxt": {
              "type": "string",
              "format": "uri"
            },
            "sitemap": {
              "type": "string",
              "format": "uri"
            },
            "rss": {
              "type": "string",
              "format": "uri"
            },
            "jsonFeed": {
              "type": "string",
              "format": "uri"
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "featuredProjects": {
      "type": "array",
      "minItems": 9,
      "uniqueItems": true,
      "items": {
        "type": "object",
        "required": [
          "name",
          "slug",
          "caseStudy",
          "focus"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1
          },
          "slug": {
            "type": "string",
            "pattern": "^[a-z0-9][a-z0-9-]*$"
          },
          "caseStudy": {
            "type": "string",
            "format": "uri"
          },
          "focus": {
            "type": "string",
            "minLength": 5
          },
          "live": {
            "type": "string",
            "format": "uri"
          },
          "repo": {
            "type": "string",
            "format": "uri"
          },
          "model": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      }
    },
    "hackathonLab": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "items": {
        "type": "object",
        "required": [
          "name",
          "focus"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1
          },
          "focus": {
            "type": "string",
            "minLength": 5
          },
          "caseStudy": {
            "type": "string",
            "format": "uri"
          },
          "repo": {
            "type": "string",
            "format": "uri"
          },
          "live": {
            "type": "string",
            "format": "uri"
          },
          "demo": {
            "type": "string",
            "format": "uri"
          },
          "model": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      }
    },
    "achievements": {
      "type": "array",
      "minItems": 3,
      "uniqueItems": true,
      "items": {
        "type": "object",
        "required": [
          "title",
          "project",
          "proof"
        ],
        "properties": {
          "title": {
            "type": "string",
            "minLength": 5
          },
          "project": {
            "type": "string",
            "minLength": 1
          },
          "team": {
            "type": "string",
            "minLength": 1
          },
          "proof": {
            "type": "string",
            "format": "uri"
          }
        },
        "additionalProperties": false
      }
    },
    "coreStack": {
      "type": "array",
      "minItems": 10,
      "uniqueItems": true,
      "items": {
        "type": "string"
      }
    },
    "stackReference": {
      "type": "object",
      "required": [
        "file",
        "toolCount",
        "domains"
      ],
      "properties": {
        "file": {
          "type": "string",
          "pattern": "^STACK\\.md$"
        },
        "toolCount": {
          "type": "integer"
        },
        "domains": {
          "type": "array",
          "minItems": 5,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "additionalProperties": false
    },
    "seo": {
      "type": "object",
      "required": [
        "primaryKeywords",
        "geoTargets",
        "technicalSignals",
        "geoSignals",
        "generativeSearch"
      ],
      "properties": {
        "primaryKeywords": {
          "type": "array",
          "minItems": 10,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 2
          }
        },
        "geoTargets": {
          "type": "array",
          "minItems": 3,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 2
          }
        },
        "technicalSignals": {
          "type": "object",
          "required": [
            "canonicalPersonId",
            "canonicalPortfolio",
            "schemaGraphs",
            "sitemaps",
            "robots",
            "pagesMirror"
          ],
          "properties": {
            "canonicalPersonId": {
              "type": "string",
              "format": "uri"
            },
            "canonicalPortfolio": {
              "type": "string",
              "format": "uri"
            },
            "schemaGraphs": {
              "type": "array",
              "minItems": 2,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "format": "uri"
              }
            },
            "sitemaps": {
              "type": "array",
              "minItems": 2,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "format": "uri"
              }
            },
            "robots": {
              "type": "array",
              "minItems": 2,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "format": "uri"
              }
            },
            "pagesMirror": {
              "type": "string",
              "format": "uri"
            }
          },
          "additionalProperties": false
        },
        "geoSignals": {
          "type": "object",
          "required": [
            "homeCountry",
            "serviceRegions",
            "searchModifiers"
          ],
          "properties": {
            "homeCountry": {
              "type": "string",
              "minLength": 2
            },
            "serviceRegions": {
              "type": "array",
              "minItems": 3,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "minLength": 2
              }
            },
            "searchModifiers": {
              "type": "array",
              "minItems": 3,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "minLength": 5
              }
            }
          },
          "additionalProperties": false
        },
        "generativeSearch": {
          "type": "object",
          "required": [
            "principle",
            "llmsTxtRole",
            "answerSources",
            "agentReadySurfaces"
          ],
          "properties": {
            "principle": {
              "type": "string",
              "minLength": 80
            },
            "llmsTxtRole": {
              "type": "string",
              "minLength": 60
            },
            "answerSources": {
              "type": "array",
              "minItems": 5,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "format": "uri"
              }
            },
            "agentReadySurfaces": {
              "type": "array",
              "minItems": 5,
              "uniqueItems": true,
              "items": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "aeo": {
      "type": "object",
      "required": [
        "preferredCitationOrder",
        "answerSnippets"
      ],
      "properties": {
        "preferredCitationOrder": {
          "type": "array",
          "minItems": 1,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "format": "uri"
          }
        },
        "answerSnippets": {
          "type": "array",
          "minItems": 15,
          "uniqueItems": true,
          "items": {
            "type": "object",
            "required": [
              "question",
              "answer",
              "sources"
            ],
            "properties": {
              "question": {
                "type": "string",
                "minLength": 5
              },
              "answer": {
                "type": "string",
                "minLength": 20
              },
              "sources": {
                "type": "array",
                "minItems": 1,
                "uniqueItems": true,
                "items": {
                  "type": "string",
                  "format": "uri"
                }
              }
            },
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    },
    "triples": {
      "type": "array",
      "minItems": 20,
      "uniqueItems": true,
      "items": {
        "type": "array",
        "minItems": 3,
        "maxItems": 3,
        "items": {
          "type": "string",
          "minLength": 1
        }
      }
    },
    "schema": {
      "type": "object",
      "required": [
        "context",
        "person",
        "faq",
        "index",
        "pagesPerson",
        "pagesFaq",
        "generatedBy",
        "validatesWith"
      ],
      "properties": {
        "context": {
          "const": "https://schema.org"
        },
        "person": {
          "type": "string",
          "format": "uri"
        },
        "faq": {
          "type": "string",
          "format": "uri"
        },
        "index": {
          "type": "string",
          "format": "uri"
        },
        "pagesPerson": {
          "type": "string",
          "format": "uri"
        },
        "pagesFaq": {
          "type": "string",
          "format": "uri"
        },
        "generatedBy": {
          "type": "string",
          "pattern": "^src/scripts/[a-z0-9_]+\\.py$"
        },
        "validatesWith": {
          "type": "string",
          "pattern": "^src/scripts/[a-z0-9_]+\\.py$"
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
