Skip to content

Instantly share code, notes, and snippets.

@dnnsmnstrr
Last active July 12, 2025 20:24
Show Gist options
  • Save dnnsmnstrr/fe9c756897c8427a53eb19dded47e5fc to your computer and use it in GitHub Desktop.
Save dnnsmnstrr/fe9c756897c8427a53eb19dded47e5fc to your computer and use it in GitHub Desktop.
JSON Schema

JSON Schema for Gist-API

Prompt to generate a schema with Raycast AI

Generate a valid JSON schema based on the provided data. The name of the schema is {argument name="Name"}.

Requirements:
- only output valid JSON text adhering to the JSON schema
- use the appropriate types wherever it is possible to infer a type from the available information
- include a $schema" property at the top level of the object with { "type": "string", "format": "uri" }

Additional instructions from the user:
{argument name="Additional Info" default=""}

Input Data:
{selection}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "schema",
"type": "object",
"properties": {
"$schema": {
"type": "string",
"format": "uri"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment