[{"$schema":"http://json-schema.org/draft-04/schema#","title":"Request","description":"A transaction named Request","type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.runtime.Request","description":"The class identifier for this type"},"transactionId":{"type":"string","description":"The instance identifier for this type"},"timestamp":{"format":"date-time","type":"string"}},"required":["$class","transactionId","timestamp"]},{"$schema":"http://json-schema.org/draft-04/schema#","title":"Response","description":"A transaction named Response","type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.runtime.Response","description":"The class identifier for this type"},"transactionId":{"type":"string","description":"The instance identifier for this type"},"timestamp":{"format":"date-time","type":"string"}},"required":["$class","transactionId","timestamp"]},{"$schema":"http://json-schema.org/draft-04/schema#","title":"Payload","description":"A concept named Payload","type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.runtime.Payload","description":"The class identifier for this type"},"contract":{"type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.contract.AccordContract","description":"The class identifier for this type"},"contractId":{"type":"string","description":"The instance identifier for this type"},"parties":{"type":"array","items":{"type":"string","description":"The identifier of an instance of org.accordproject.cicero.contract.AccordParty"}}},"required":["contractId"],"description":"An instance of org.accordproject.cicero.contract.AccordContract"},"request":{"type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.runtime.Request","description":"The class identifier for this type"},"transactionId":{"type":"string","description":"The instance identifier for this type"},"timestamp":{"format":"date-time","type":"string"}},"required":["transactionId","timestamp"],"description":"An instance of org.accordproject.cicero.runtime.Request"},"state":{"type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.contract.AccordContractState","description":"The class identifier for this type"},"stateId":{"type":"string","description":"The instance identifier for this type"}},"required":["stateId"],"description":"An instance of org.accordproject.cicero.contract.AccordContractState"}},"required":["$class","contract","request"]},{"$schema":"http://json-schema.org/draft-04/schema#","title":"Success","description":"A concept named Success","type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.runtime.Success","description":"The class identifier for this type"},"response":{"type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.runtime.Response","description":"The class identifier for this type"},"transactionId":{"type":"string","description":"The instance identifier for this type"},"timestamp":{"format":"date-time","type":"string"}},"required":["transactionId","timestamp"],"description":"An instance of org.accordproject.cicero.runtime.Response"},"state":{"type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.contract.AccordContractState","description":"The class identifier for this type"},"stateId":{"type":"string","description":"The instance identifier for this type"}},"required":["stateId"],"description":"An instance of org.accordproject.cicero.contract.AccordContractState"},"emit":{"type":"array","items":{"type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.base.Event","description":"The class identifier for this type"},"eventId":{"type":"string","description":"The instance identifier for this type"},"timestamp":{"format":"date-time","type":"string"}},"required":["eventId","timestamp"],"description":"An instance of org.accordproject.base.Event"}}},"required":["$class","response","state","emit"]},{"$schema":"http://json-schema.org/draft-04/schema#","title":"Failure","description":"A concept named Failure","type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.runtime.Failure","description":"The class identifier for this type"},"error":{"type":"object","properties":{"$class":{"type":"string","default":"org.accordproject.cicero.runtime.ErrorResponse","description":"The class identifier for this type"},"transactionId":{"type":"string","description":"The instance identifier for this type"},"timestamp":{"format":"date-time","type":"string"}},"required":["transactionId","timestamp"],"description":"An instance of org.accordproject.cicero.runtime.ErrorResponse"}},"required":["$class","error"]}]