{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-managed-blockchain/refs/heads/main/json-schema/amazon-managed-blockchain-proposal-schema.json", "title": "Proposal", "description": "

Properties of a proposal on a Managed Blockchain network.

Applies only to Hyperledger Fabric.

", "type": "object", "properties": { "ProposalId": { "allOf": [ { "$ref": "#/components/schemas/ResourceIdString" }, { "description": "The unique identifier of the proposal." } ] }, "NetworkId": { "allOf": [ { "$ref": "#/components/schemas/ResourceIdString" }, { "description": "The unique identifier of the network for which the proposal is made." } ] }, "Description": { "allOf": [ { "$ref": "#/components/schemas/DescriptionString" }, { "description": "The description of the proposal." } ] }, "Actions": { "allOf": [ { "$ref": "#/components/schemas/ProposalActions" }, { "description": "The actions to perform on the network if the proposal is APPROVED." } ] }, "ProposedByMemberId": { "allOf": [ { "$ref": "#/components/schemas/ResourceIdString" }, { "description": "The unique identifier of the member that created the proposal." } ] }, "ProposedByMemberName": { "allOf": [ { "$ref": "#/components/schemas/NetworkMemberNameString" }, { "description": "The name of the member that created the proposal." } ] }, "Status": { "allOf": [ { "$ref": "#/components/schemas/ProposalStatus" }, { "description": "

The status of the proposal. Values are as follows:

" } ] }, "CreationDate": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": " The date and time that the proposal was created. " } ] }, "ExpirationDate": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": " The date and time that the proposal expires. This is the CreationDate plus the ProposalDurationInHours that is specified in the ProposalThresholdPolicy. After this date and time, if members haven't cast enough votes to determine the outcome according to the voting policy, the proposal is EXPIRED and Actions aren't carried out. " } ] }, "YesVoteCount": { "allOf": [ { "$ref": "#/components/schemas/VoteCount" }, { "description": " The current total of YES votes cast on the proposal by members. " } ] }, "NoVoteCount": { "allOf": [ { "$ref": "#/components/schemas/VoteCount" }, { "description": " The current total of NO votes cast on the proposal by members. " } ] }, "OutstandingVoteCount": { "allOf": [ { "$ref": "#/components/schemas/VoteCount" }, { "description": " The number of votes remaining to be cast on the proposal by members. In other words, the number of members minus the sum of YES votes and NO votes. " } ] }, "Tags": { "allOf": [ { "$ref": "#/components/schemas/OutputTagMap" }, { "description": "

Tags assigned to the proposal. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

" } ] }, "Arn": { "allOf": [ { "$ref": "#/components/schemas/ArnString" }, { "description": "The Amazon Resource Name (ARN) of the proposal. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference." } ] } } }