Skip to content

Instantly share code, notes, and snippets.

@brennanmceachran
Last active September 24, 2025 15:38
Show Gist options
  • Select an option

  • Save brennanmceachran/4c710ca47c23c0f4407c03aadb9e5557 to your computer and use it in GitHub Desktop.

Select an option

Save brennanmceachran/4c710ca47c23c0f4407c03aadb9e5557 to your computer and use it in GitHub Desktop.
Field Notes Schema
{
"name": "field_notes_validated_array",
"schema": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The note title as extracted from the markdown, exactly as given after the ## heading.",
"minLength": 1
},
"markdown": {
"type": "string",
"description": "The complete unaltered markdown body of the note, including any formatting and linebreaks as received.",
"minLength": 1
},
"originality": {
"type": "integer",
"description": "Originality score (Brennan-specific), integer from 0 to 100.",
"minimum": 0,
"maximum": 100
},
"backlash_risk": {
"type": "integer",
"description": "Backlash risk score, integer from 0 to 100.",
"minimum": 0,
"maximum": 100
}
},
"required": [
"title",
"markdown",
"originality",
"backlash_risk"
],
"additionalProperties": false
}
}
},
"required": [
"items"
],
"additionalProperties": false
},
"strict": true
}
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The note title as extracted from the markdown, exactly as given after the ## heading.",
"minLength": 1
},
"markdown": {
"type": "string",
"description": "The complete unaltered markdown body of the note, including any formatting and linebreaks as received.",
"minLength": 1
},
"originality": {
"type": "integer",
"description": "Originality score (Brennan-specific), integer from 0 to 100.",
"minimum": 0,
"maximum": 100
},
"backlash_risk": {
"type": "integer",
"description": "Backlash risk score, integer from 0 to 100.",
"minimum": 0,
"maximum": 100
}
},
"required": [
"title",
"markdown",
"originality",
"backlash_risk"
],
"additionalProperties": false
}
}
},
"required": [
"items"
],
"additionalProperties": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment