Modify info-schema 25/64125/4
authorAric Gardner <agardner@linuxfoundation.org>
Thu, 28 May 2020 18:02:22 +0000 (14:02 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Fri, 29 May 2020 17:29:25 +0000 (13:29 -0400)
make email and timezone optional.

Email if entered must be vaild, but is not required
Timezone if entered must be match regex, but is not required

Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I1266c43edabed7fdb3882b8fc335bd8b3942699c

schema/info-schema.yaml
schema/releasenotes/notes/info-schema-76226f19ef070886.yaml [new file with mode: 0644]

index 55f99b5..5bf7fc3 100644 (file)
@@ -53,14 +53,14 @@ properties:
       name:
         type: "string"
       email:
-        type: "string"
+        required: false
         format: "email"
       id:
         type: "string"
       company:
         type: "string"
       timezone:
-        type: "string"
+        required: false
         pattern: '([A-Z][a-z]*\s*)+\/([A-Za-z_-])+'
     additionalProperties: false
   primary_contact: *user_object
diff --git a/schema/releasenotes/notes/info-schema-76226f19ef070886.yaml b/schema/releasenotes/notes/info-schema-76226f19ef070886.yaml
new file mode 100644 (file)
index 0000000..57a4df3
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Due to privacy concerns Email and Timezone in the INFO.yaml schema check
+    are now optional