Mostly to see if it works. If it does, we should probably add UUIDs everywhere.pull/17/head
parent
97e4752457
commit
f0690c7b1e
@ -1,22 +1,30 @@
|
|||||||
|
# Thing unto which the participants pass judgments.
|
||||||
|
# Also known as Candidate.
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: integer
|
type: integer
|
||||||
description: A unique identifier.
|
description: A unique identifier for the proposal, in the poll.
|
||||||
readOnly: true
|
readOnly: true
|
||||||
example: 4
|
example: 4
|
||||||
|
uuid:
|
||||||
|
type: uuid
|
||||||
|
description: A Universally Unique IDentifier for the proposal. (version 4)
|
||||||
|
readOnly: true
|
||||||
|
example: bb788552-727d-470b-827e-d7796248d293
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description: Unique but short name of the proposal.
|
description: Unique but short name of the proposal.
|
||||||
example: A new school
|
example: A new school
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
description: An optional description of the proposal. (no markup allowed)
|
||||||
|
example: This school would welcome 500 pupils.
|
||||||
ballots:
|
ballots:
|
||||||
type: array
|
type: array
|
||||||
description: The ballots received by this proposal.
|
description: The ballots received by this proposal.
|
||||||
items:
|
items:
|
||||||
$ref: ./ballot.yaml
|
$ref: ./ballot.yaml
|
||||||
description:
|
|
||||||
type: string
|
|
||||||
description: An optional description of the proposal
|
|
||||||
example: This school would welcome 500 pupils.
|
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
|
Loading…
Reference in new issue