/ schema.yaml
schema.yaml
1 list(include('endpoint')) 2 --- 3 endpoint: 4 endpoint: str(matches='^(http|https)://.*', ignore_case=True) 5 name: str() 6 state: bool() 7 verification: bool() 8 contacts: list(include('contact'), min=0, max=5, required=False) 9 notes: list(include('contact'), min=0, max=5, required=False) 10 11 contact: 12 name: str() 13 link: str(required=False) 14 15 note: 16 name: str() 17 link: str(required=False)