Re-introduce signature schemas
This commit is contained in:
parent
93f68866c5
commit
36ed6e94a2
6 changed files with 24 additions and 0 deletions
|
@ -54,6 +54,10 @@ properties:
|
||||||
|
|
||||||
The signature is calculated using the process described at `Signing
|
The signature is calculated using the process described at `Signing
|
||||||
JSON`_.
|
JSON`_.
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
example:
|
example:
|
||||||
"@alice:example.com":
|
"@alice:example.com":
|
||||||
"ed25519:JLAFKJWSCS": "dSO80A01XiigH3uBiDVx/EjzaoycHcjq9lfQX0uWsqxl2giMIiSPR8a4d291W1ihKJL/a+myXS367WT6NAIcBA"
|
"ed25519:JLAFKJWSCS": "dSO80A01XiigH3uBiDVx/EjzaoycHcjq9lfQX0uWsqxl2giMIiSPR8a4d291W1ihKJL/a+myXS367WT6NAIcBA"
|
||||||
|
|
|
@ -33,6 +33,10 @@ properties:
|
||||||
type: object
|
type: object
|
||||||
description: A signatures object containing a signature of the entire signed object.
|
description: A signatures object containing a signature of the entire signed object.
|
||||||
title: Signatures
|
title: Signatures
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
example: {
|
example: {
|
||||||
"example.org": {
|
"example.org": {
|
||||||
"ed25519:0": "some9signature"
|
"ed25519:0": "some9signature"
|
||||||
|
|
|
@ -81,6 +81,10 @@ properties:
|
||||||
The signature is calculated using the process described at `Signing
|
The signature is calculated using the process described at `Signing
|
||||||
JSON`_.
|
JSON`_.
|
||||||
title: Signatures
|
title: Signatures
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
valid_until_ts:
|
valid_until_ts:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
|
|
@ -103,6 +103,10 @@ paths:
|
||||||
signatures:
|
signatures:
|
||||||
type: object
|
type: object
|
||||||
title: Signatures
|
title: Signatures
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
The server signatures for this event.
|
The server signatures for this event.
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,10 @@ paths:
|
||||||
signatures:
|
signatures:
|
||||||
type: object
|
type: object
|
||||||
title: Signatures
|
title: Signatures
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
Signature of the key object.
|
Signature of the key object.
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,10 @@ properties:
|
||||||
description: 'A single signature from the verifying server, in the format specified by the Signing Events section of the server-server API.'
|
description: 'A single signature from the verifying server, in the format specified by the Signing Events section of the server-server API.'
|
||||||
title: Signatures
|
title: Signatures
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
type: string
|
||||||
token:
|
token:
|
||||||
description: The token property of the containing third_party_invite object.
|
description: The token property of the containing third_party_invite object.
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue