releases/openstack_releases/schema.yaml
Doug Hellmann 6503b38d0d remove per-release highlights from the schema
Change-Id: I80f61573f5ed54831f9e9fc710502148496956a1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-07 10:49:50 -05:00

97 lines
2.4 KiB
YAML

---
$schema: "http://json-schema.org/schema#"
$id: "http://git.openstack.org/cgit/openstack/releases/tree/README.rst"
# Do not allow any properties not defined here. This lets us catch
# typos.
additionalProperties: false
required:
- team
- type
properties:
team:
type: "string"
launchpad:
type: "string"
storyboard:
type: "integer"
release-notes:
oneOf:
- type: "string"
# We don't include any details about the object form of the
# release notes because the keys are the repository names.
- type: "object"
include-pypi-link:
type: "boolean"
release-model:
type: "string"
enum: ["cycle-with-intermediary", "cycle-with-milestones", "cycle-trailing", "untagged"]
type:
type: "string"
enum: ["horizon-plugin", "library", "client-library", "service", "tempest-plugin", "other"]
artifact-link-mode:
type: "string"
enum: ["tarball", "none"]
repository-settings:
type: "object"
properties:
additionalProperties: False
pypi-name:
type: "string"
flags:
type: "array"
items:
type: "string"
enum: [ "no-artifact-build-job", "retired" ]
release-type:
type: "string"
enum: [ "python-service", "python-pypi", "xstatic", "fuel",
"nodejs", "puppet", "neutron", "horizon", "openstack-manuals" ]
stable-branch-type:
type: "string"
enum: [ "std", "tagless", "upstream" ]
cycle-highlights:
type: "array"
items:
type: "string"
releases:
type: "array"
items:
type: "object"
properties:
version:
type: "string"
projects:
type: "array"
items:
type: "object"
properties:
repo:
type: "string"
hash:
type: "string"
comment:
type: "string"
tarball-base:
type: "string"
additionalProperties: False
diff-start:
type: "string"
required: ["version", "projects"]
additionalProperties: False
branches:
type: "array"
items:
type: "object"
properties:
name:
type: "string"
location:
oneOf:
- type: "string"
- type: "object"
required: ["name", "location"]
additionalProperties: False