{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-signer/refs/heads/main/json-schema/amazon-signer-sign-payload-request-schema.json", "title": "SignPayloadRequest", "description": "SignPayloadRequest schema from AWS Signer API", "type": "object", "properties": { "profileName": { "allOf": [ { "type": "string", "pattern": "^[a-zA-Z0-9_]{2,}", "minLength": 2, "maxLength": 64 }, { "description": "The name of the signing profile." } ] }, "profileOwner": { "allOf": [ { "type": "string", "pattern": "^[0-9]{12}$", "minLength": 12, "maxLength": 12 }, { "description": "The AWS account ID of the profile owner." } ] }, "payload": { "allOf": [ { "type": "string", "minLength": 1, "maxLength": 4096 }, { "description": "Specifies the object digest (hash) to sign." } ] }, "payloadFormat": { "allOf": [ { "type": "string" }, { "description": "Payload content type" } ] } }, "required": [ "profileName", "payload", "payloadFormat" ] }