.hdm-metadata.yml

Type: object

Schema for validating HDM metadata YAML files

No Additional Properties
Example:

{
    "schema": {
        "name": "hdm-metadata",
        "version": 1
    },
    "responsible": {
        "persons": [
            "max.mustermann@heidelberg.com"
        ],
        "teams": [
            "Build Infastructure"
        ]
    },
    "gitlab": {
        "project_id": 16,
        "project_url": "https://gitlab.prinect-lounge.com/BLD/BLD-GradleLibrary",
        "topics": [
            "Responsible max.mustermann@heidelberg.com",
            "Team Build Infastructure",
            "Product n/a",
            "Jira Domain n/a",
            "Distribution n/a"
        ]
    },
    "sonarqube": {
        "project_key": "BLD:GradleLibrary"
    }
}

Type: object
No Additional Properties

Type: const

The schema name must be 'hdm-metadata'

Specific value: "hdm-metadata"

Type: integer

The schema version number

Value must be greater or equal to 1

Type: object
No Additional Properties

Type: array of string

List of responsible persons (at least one required)

Must contain a minimum of 1 items

No Additional Items

Each item of this array must be:

Type: stringFormat: email

Valid email address

Must match regular expression: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$

Type: array of string

List of responsible teams (optional)

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Type: object

Optional GitLab-specific metadata.

No Additional Properties

Type: integer

GitLab project ID.

Value must be greater or equal to 1

Type: stringFormat: uri

Optional GitLab project URL.

Must be at least 1 characters long

Type: array of string

Optional list of GitLab repository topics.

No Additional Items

Each item of this array must be:

Type: string

Must be at least 1 characters long

Type: object

Optional SonarQube-specific metadata.

No Additional Properties

Type: string

Optional SonarQube project key.

Must be at least 1 characters long