{
"id": "dev.mccue.jvm.index",
"defs": {
"main": {
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"providers"
],
"properties": {
"providers": {
"type": "array",
"items": {
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"moduleInfo": {
"ref": "dev.mccue.jvm.index#moduleInfo",
"type": "ref",
"description": "Modul"
}
}
}
}
}
},
"description": "An index of where one might find a particular module"
},
"uses": {
"type": "object",
"required": [
"service"
],
"properties": {
"service": {
"type": "string",
"minLength": 3
}
}
},
"hashes": {
"type": "object",
"required": [
"module",
"algorithm",
"hash"
],
"properties": {
"hash": {
"type": "string",
"minLength": 1
},
"module": {
"type": "string",
"minLength": 1
},
"algorithm": {
"type": "string",
"minLength": 1
}
}
},
"exports": {
"type": "object",
"required": [
"package"
],
"properties": {
"to": {
"type": "string",
"minLength": 1
},
"package": {
"type": "string",
"minLength": 1
},
"mandated": {
"type": "boolean",
"default": false
},
"synthetic": {
"type": "boolean",
"default": false
}
}
},
"packages": {
"type": "object",
"required": [
"package"
],
"properties": {
"package": {
"type": "string",
"minLength": 1
}
}
},
"provides": {
"type": "object",
"required": [
"service",
"with"
],
"properties": {
"with": {
"type": "string",
"minLength": 3
},
"service": {
"type": "string",
"minLength": 3
}
}
},
"requires": {
"type": "object",
"required": [
"module"
],
"properties": {
"module": {
"type": "string",
"minLength": 1
},
"static": {
"type": "boolean",
"default": false
},
"version": {
"type": "string",
"minLength": 1
},
"mandated": {
"type": "boolean",
"default": false
},
"synthetic": {
"type": "boolean",
"default": false
},
"transitive": {
"type": "boolean",
"default": false
}
}
},
"moduleInfo": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"uses": {
"type": "array",
"items": {
"ref": "dev.mccue.jvm.index#uses",
"type": "ref"
}
},
"hashes": {
"type": "array",
"items": {
"ref": "dev.mccue.jvm.index#hashes",
"type": "ref"
}
},
"exports": {
"type": "array",
"items": {
"ref": "dev.mccue.jvm.index#exports",
"type": "ref"
}
},
"version": {
"type": "string",
"minLength": 1
},
"mandated": {
"type": "boolean",
"default": false
},
"packages": {
"type": "array",
"items": {
"ref": "dev.mccue.jvm.index#requires",
"type": "ref"
}
},
"provides": {
"type": "array",
"items": {
"ref": "dev.mccue.jvm.index#provides",
"type": "ref"
}
},
"requires": {
"type": "array",
"items": {
"ref": "dev.mccue.jvm.index#requires",
"type": "ref"
}
},
"synthetic": {
"type": "boolean",
"default": false
},
"targetPlatform": {
"type": "string",
"minLength": 1
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}