our new field, in this case a date field with a default date of today.
const fieldSchema = `&lt;Field ID=&quot;{03b09ff4-d99d-45ed-841d-3855f77a2483}&quot; StaticName=&quot;MyField&quot; Name=&quot;MyField&quot; DisplayName=&quot;My New Field&quot; FriendlyDisplayFormat=&quot;Disabled&quot; Format=&quot;DateOnly&quot; Type=&quot;DateTime&quot; Group=&quot;My Group&quot;&gt;&lt;Default&gt;[today]&lt;/Default&gt;&lt;/Field&gt;`;

// create the new field in the web
const field: IFieldAddResult = await sp.web.f