1# SPDX-License-Identifier: Apache-2.0
2#
3# Copyright (c) 2023, Nordic Semiconductor ASA
4
5## A pykwalify schema for basic validation of the structure of a
6## arch metadata YAML file.
7##
8# The archs.yml file is a simple list of key value pairs containing architectures
9# and their location which is used by the build system.
10type: map
11mapping:
12  archs:
13    required: true
14    type: seq
15    sequence:
16      - type: map
17        mapping:
18          name:
19            required: true
20            type: str
21            desc: Name of the arch
22          path:
23            required: true
24            type: str
25            desc: Location of the arch implementation relative to the archs.yml file.
26          comment:
27            required: false
28            type: str
29            desc: Free form comment with extra information regarding the arch.
30