github.com/w3security/vervet/v5@v5.3.1-0.20230618081846-5bd9b5d799dc/testdata/resources/schemas/models/project.yaml (about)

     1  Project:
     2    type: object
     3    properties:
     4      type:
     5        type: string
     6        description: Content type.
     7        example: 'projects'
     8      id:
     9        type: string
    10        description: The ID.
    11        example: '331ede0a-de94-456f-b788-166caeca58bf'
    12      attributes:
    13        type: object
    14        properties:
    15          name:
    16            type: string
    17          created:
    18            type: string
    19            description: The date that the project was created on
    20            example: '2021-05-29T09:50:54.014Z'
    21          origin:
    22            type: string
    23            description: The origin the project was added from
    24            example: github
    25          type:
    26            type: string
    27            description: The package manager of the project
    28            example: maven
    29          status:
    30            type: string
    31            description: Describes if a project is currently monitored or it is de-activated
    32            example: active
    33          hostname:
    34            type: string
    35            nullable: true
    36            description: The hostname for a CLI project, null if not set
    37        required: [name, created, origin, type, status]
    38        additionalProperties: false
    39    required: ['type', 'id', 'attributes']
    40    additionalProperties: false