Skip to content

Instantly share code, notes, and snippets.

@Lanse505
Created June 9, 2021 00:22
Show Gist options
  • Save Lanse505/3ee4570735cfed29fa127b83dbbc7c2f to your computer and use it in GitHub Desktop.
Save Lanse505/3ee4570735cfed29fa127b83dbbc7c2f to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"fields": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"descriptor": {
"type": "string"
}
},
"required": [
"name",
"descriptor"
]
}
]
},
"methods": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"descriptor": {
"type": "string"
},
"javadoc": {
"type": "array",
"items": [
{
"type": "string"
}
]
},
"parameters": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"index": {
"type": "integer"
},
"name": {
"type": "string"
},
"javadoc": {
"type": "string"
}
},
"required": [
"index",
"name",
"javadoc"
]
}
]
}
},
"required": [
"name",
"descriptor",
"javadoc",
"parameters"
]
}
]
}
},
"required": [
"name",
"fields",
"methods"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment