#98 Add productmd-compose.build.* schemas
Merged 4 years ago by ralph. Opened 4 years ago by ralph.

@@ -0,0 +1,27 @@ 

+ $id: productmd-compose.build.complete

+ $schema: http://json-schema.org/draft-07/schema#

+ 

+ description:

+     Building of the compose has been completed.

+     This is a mandatory message.

+ 

+ properties:

+     contact:

+         $ref: contact.json

+     run:

+         $ref: run.json

+     artifact:

+         $ref: productmd-compose.json

+     generated_at:

+         $ref: common.json#properties/generated_at

+     version:

+         $ref: common.json#properties/version

+ 

+ required:

+     - contact

+     - run

+     - artifact

+     - generated_at

+     - version

+ 

+ type: object

@@ -0,0 +1,30 @@ 

+ $id: productmd-compose.build.error

+ $schema: http://json-schema.org/draft-07/schema#

+ 

+ description:

+     Building of the compose has failed.

+     This is a mandatory message.

+ 

+ properties:

+     contact:

+         $ref: contact.json

+     run:

+         $ref: run.json

+     artifact:

+         $ref: productmd-compose.json

+     error:

+         $ref: error.json

+     generated_at:

+         $ref: common.json#properties/generated_at

+     version:

+         $ref: common.json#properties/version

+ 

+ required:

+     - contact

+     - run

+     - artifact

+     - error

+     - generated_at

+     - version

+ 

+ type: object

no initial comment

Generally looks good to me.

A couple questions:
* in the build property, the only required key is repository. What does that mean for a compose?
* there are issues with the artifact payload as well: #97

1 new commit added

  • Drop build reference from productmd-compose
4 years ago

Ah, I dropped the build property. I added it accidentally.

Regarding the artifact payload, let's try to get @pholica to help us understand how to address that there.

@jkaluza is interested in this also :)

Let's go ahead with this.

Pull-Request has been merged by ralph

4 years ago

Sorry, I've missed the emails from fedora-ci because of wrong email filter it seems. I'm +1.