{
"id": "at.marque.partner.getRequirements",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "RequirementsUnavailable"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"ref": "#requirement",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"domains"
],
"properties": {
"domains": {
"type": "array",
"items": {
"type": "string",
"maxLength": 253
},
"maxLength": 50,
"minLength": 1
}
}
},
"description": "Return required registrant and registry fields for up to 50 domains before createCheckout."
},
"spec": {
"type": "object",
"required": [
"name",
"description",
"required",
"type"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"syntax": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"ref": "#option",
"type": "ref"
}
},
"pattern": {
"type": "string"
},
"required": {
"type": "boolean"
},
"description": {
"type": "string"
}
}
},
"option": {
"type": "object",
"required": [
"description",
"value"
],
"properties": {
"value": {
"type": "string"
},
"requires": {
"type": "array",
"items": {
"type": "string"
}
},
"description": {
"type": "string"
}
}
},
"requirement": {
"type": "object",
"required": [
"domain",
"passportNumberRequired",
"companyRegistrationNumberRequired",
"taxNumberRequired",
"additionalData",
"customerAdditionalData"
],
"properties": {
"domain": {
"type": "string",
"maxLength": 253
},
"additionalData": {
"type": "array",
"items": {
"ref": "#spec",
"type": "ref"
}
},
"taxNumberRequired": {
"type": "boolean"
},
"customerAdditionalData": {
"type": "array",
"items": {
"ref": "#spec",
"type": "ref"
}
},
"passportNumberRequired": {
"type": "boolean"
},
"companyRegistrationNumberRequired": {
"type": "boolean"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "Load registry-specific registration requirements for partner checkouts."
}