Schema for Bach Session Metadata

From SessionMetadata.schema.yaml (bach/SessionMetadata.schema)

---
$id: https://skeleton.botmd.io/bach/SessionMetadata.schema
$schema: http://json-schema.org/draft-07/schema#

title: Session Metadata
description: >-
  `Session.metadata` contains additional metadata about the test session.

type: object
additionalProperties: false
required: [resources]
properties:
  resources:
    title: Resources Metadata
    description: Contains metadata about resources related to the execution of the test such as the EC2 instance.

    type: object
    additionalProperties: true
    required: [instance_id, instance_type, key_name, subnet_id, image_id]
    properties:
      instance_id:
        title: Instance ID
        description: Instance ID of the AWS EC2 instance running the test.

        type: string
      #end instance_id

      instance_type:
        title: Instance Type
        description: Type of the AWS EC2 instance running the test.

        type: string
      #end instance_type

      key_name:
        title: Key Name
        description: Name of the key pair associated with the EC2 instance running the test.

        type: string
      #end key_name

      subnet_id:
        title: Subnet ID
        description: ID of the subnet associated with the EC2 instance running the test.

        type: string
      #end subnet_id

      image_id:
        title: Image ID
        description: ID of the AMI associated with the EC2 instance running the test.

        type: string
      #end image_id
    #end properties
  #end resources
#end properties

[Main Page] [Schema Documentation] [Examples]